> 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/prerequisites-for-building-connectorc-from-source.md).

# Prerequisites For Building Connector/C From Source

#### Windows

* Visual Studio 2013 or newer (older versions of Visual Studio may also work but have not been tested).
* cmake 2.8.12 or newer, available from the [CMake website](https://www.cmake.org).
* for Connector/C 2.x: OpenSSL libraries and include files.
* for Connector/C 3.0 remote-io plugin: [Curl](https://curl.haxx.se) libraries and include files

#### Linux / Mac OS X

The following is a list of tools that are required for building MariaDB Connector/C on Linux and Mac OS X. Most, if not all, of these will exist as packages in your distribution's package repositories, so check there first.

* gcc 3.4.6 or newer C compiler
* TLS/SSL libraries and include files
  * OpenSSL 1.0.1 or newer or
  * GnuTLS 3.4 or newer
* cmake 2.8.12 or newer, available from the [CMake website](https://www.cmake.org).
* for Connector/C 3.0 remote-io plugin: [Curl](https://curl.haxx.se) libraries and include files
* For GSSAPI plugin: [Kerberos V5](https://web.mit.edu/kerberos/dist/) libraries

On Linux you can get those programs with your package manager. On Mac OS X you will need Xcode and to install the remaining programs with [Fink](https://www.finkproject.org/) or [MacPorts](https://www.macports.org/).

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://mariadb.com/docs/connectors/mariadb-connector-c/building-connectorc-from-source/prerequisites-for-building-connectorc-from-source.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
