mysql connector c++ 32 bit
Hello,
I tried multiple versions (9.2.0, 8.1.0 and 8.0.33) of mysql connector c++ compiled from source code on windows 11 x64. But I got problem with compilation with jdbc.
Following cmake command and arguments I use to build
cmake -G "Visual Studio 17" -A Win32 -DCMAKE_INSTALL_PREFIX:PATH=C:\mysql\bin -DWITH_SSL=C:\openssl -DWITH_MYSQL="C:\Program Files\MySQL\MySQL Server 8.0" -DWITH_JDBC=ON -DCMAKE_BUILD_TYPE=Debug
I need to add WITH_MYSQL, I get error during compilation. But now the real conflict ist, that there is no 32 bit of MySQL Server available in MySQL Installer. I tried also to set MySQL source code path according to documentation of mysql connector c++, but DepFindMySQL.cmake, which is located in mysql-connector-c++-9.2.0-src\jdbc\cmake, say WITH_MYSQL would be the path of MysQL installation.
How could I compile connector c++ in 32 bit without 32 bit of MySQL Server?
Subject
Views
Written By
Posted
mysql connector c++ 32 bit
156
March 02, 2025 10:37AM
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.