> For the complete documentation index, see [llms.txt](https://mariadb.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mariadb.com/docs/connectors/mariadb-connector-c/building-connectorc-from-source/compiling-connectorc.md).

# Compiling Connector/C

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

```bash
devenv mariadb_connector_c.sln
```

or via command line

```bash
cmake --build . --config RelWithDebInfo
```

### Compiling 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

```bash
make
```

or

```bash
cmake --build . --config Release
```

{% @marketo/form formId="4316" %}
