|
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 |
|
20 | 23 | - `mysql-client` |
21 | 24 | - `mysql` |
22 | 25 | - `aws-sdk-cpp` |
23 | | -2. Set the environment variable MYSQL_DIR as the path to your `mysql-client` installation location: |
| 26 | +
|
| 27 | +2. Refer to [Building the AWS SDK for C++](./BuildingAwsSdkCpp.md) to install required AWS dependencies. |
| 28 | + |
| 29 | +3. Set the environment variable MYSQL_DIR as the path to your `mysql-client` installation location: |
24 | 30 | ``` |
25 | 31 | export MYSQL_DIR=/usr/local/opt/mysql-client |
26 | 32 | ``` |
27 | | -3. Build the driver in the `build` directory with the following commands: |
| 33 | +4. Build the driver in the `build` directory with the following commands: |
28 | 34 | ``` |
29 | 35 | cmake -S . -B build -G "Unix Makefiles" -DMYSQLCLIENT_STATIC_LINKING=true -DODBC_INCLUDES=/usr/local/Cellar/libiodbc/3.52.15/include |
30 | 36 | cmake --build build --config Release |
@@ -52,7 +58,10 @@ export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/opt/ [email protected]/lib/ |
52 | 58 | sudo apt-get update |
53 | 59 | sudo apt-get install build-essential libgtk-3-dev libmysqlclient-dev unixodbc unixodbc-dev |
54 | 60 | ``` |
55 | | -2. Build the driver in the `build` directory with the following commands: |
| 61 | +
|
| 62 | +2. Refer to [Building the AWS SDK for C++](./BuildingAwsSdkCpp.md) to install required AWS dependencies. |
| 63 | +
|
| 64 | +3. Build the driver in the `build` directory with the following commands: |
56 | 65 | ``` |
57 | 66 | cmake -S . -B build -G "Unix Makefiles" -DMYSQLCLIENT_STATIC_LINKING=true -DWITH_UNIXODBC=1 |
58 | 67 | cmake --build build --config Release |
|
0 commit comments