|
7 | 7 | - [Visual Studio](https://visualstudio.microsoft.com/downloads/) |
8 | 8 | > The driver has been built successfully using `Visual Studio 2019`, and it may not build correctly with other versions. When installing Visual Studio, ensure the `Visual C++ 2019` and `Visual Studio Tools for CMake` packages are also installed. |
9 | 9 | - [MySQL Server](https://dev.mysql.com/downloads/installer/) |
10 | | -2. Build the driver in the `build` directory with the following commands: |
| 10 | + |
| 11 | +2. Refer to [Building the AWS SDK for C++](./BuildingAwsSdkCpp.md) to install required AWS dependencies. |
| 12 | + |
| 13 | +3. Build the driver in the `build` directory with the following commands: |
11 | 14 | ``` |
12 | 15 | cmake -S . -B build -G "Visual Studio 16 2019" -DMYSQL_DIR="C:\Program Files\MySQL\MySQL Server 8.0" -DMYSQLCLIENT_STATIC_LINKING=TRUE |
13 | 16 | cmake --build build --config Release |
|
19 | 22 | - `cmake` |
20 | 23 | - `mysql-client` |
21 | 24 | - `mysql` |
22 | | -2. Set the environment variable MYSQL_DIR as the path to your `mysql-client` installation location: |
| 25 | +
|
| 26 | +2. Refer to [Building the AWS SDK for C++](./BuildingAwsSdkCpp.md) to install required AWS dependencies. |
| 27 | + |
| 28 | +3. Set the environment variable MYSQL_DIR as the path to your `mysql-client` installation location: |
23 | 29 | ``` |
24 | 30 | export MYSQL_DIR=/usr/local/opt/mysql-client |
25 | 31 | ``` |
26 | | -3. Build the driver in the `build` directory with the following commands: |
| 32 | +4. Build the driver in the `build` directory with the following commands: |
27 | 33 | ``` |
28 | 34 | cmake -S . -B build -G "Unix Makefiles" -DMYSQLCLIENT_STATIC_LINKING=true -DODBC_INCLUDES=/usr/local/Cellar/libiodbc/3.52.15/include |
29 | 35 | cmake --build build --config Release |
@@ -51,7 +57,10 @@ export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/opt/ [email protected]/lib/ |
51 | 57 | sudo apt-get update |
52 | 58 | sudo apt-get install build-essential libgtk-3-dev libmysqlclient-dev unixodbc unixodbc-dev |
53 | 59 | ``` |
54 | | -2. Build the driver in the `build` directory with the following commands: |
| 60 | +
|
| 61 | +2. Refer to [Building the AWS SDK for C++](./BuildingAwsSdkCpp.md) to install required AWS dependencies. |
| 62 | +
|
| 63 | +3. Build the driver in the `build` directory with the following commands: |
55 | 64 | ``` |
56 | 65 | cmake -S . -B build -G "Unix Makefiles" -DMYSQLCLIENT_STATIC_LINKING=true -DWITH_UNIXODBC=1 |
57 | 66 | cmake --build build --config Release |
|
0 commit comments