Compiling Connector/C
Compile MariaDB Connector/C after configuration using CMake on Windows or Unix. Supports Visual Studio builds and GNU make, with both IDE and command-line build options.
After successful configuration, Connector/C can now be compiled.
Compiling on Windows
If no CMake generator was specified, CMake creates by default build files for Visual Studio. You can now either build Connector/C inside Visual Studio
devenv mariadb_connector_c.slnor via command line
cmake --build . --config RelWithDebInfoCompiling on Unix
By default CMake creates build files for GNU make. On some system GNU make is renamed to gmake. You can now build Connector/C with
makeor
cmake --build . --config ReleaseThis page is: Copyright © 2026 MariaDB. All rights reserved.
Last updated
Was this helpful?

