MySQL Forums
Forum List  »  Connector/C++

Re: MySQL Connector 8.0 and Visual Studio 17
Posted by: Bartosz Bień
Date: December 23, 2018 08:57PM

Hi Luis,

Thank you for your answer. I believe that for the debug version of a legacy JDBC Win32 app I also need a debug version of the connector (otherwise I run into memory allocation problems). I see no debug version in the package you mentioned, which is why I tried building by hand.

However, when trying to cmake a 32-bit version of the server (in order to get a 32-bit version of libmysql.lib/.dll), I get the following result:

C:\Src\Szok\branches\InfraSzok\$\mysql-8.0.13>..\cmake-3.13.2-win64-x64\bin\cmake.exe .
-- Running cmake version 3.13.2
-- MySQL 8.0.13
-- CMAKE_GENERATOR: Visual Studio 15 2017
CMake Error at cmake/os/Windows.cmake:65 (MESSAGE):
32 bit Windows builds are not supported. Clean the build dir and rebuild
using -G "Visual Studio 15 2017 Win64"
Call Stack (most recent call first):
CMakeLists.txt:331 (INCLUDE)

-- Configuring incomplete, errors occurred!
See also "C:/Src/Szok/branches/InfraSzok/$/mysql-8.0.13/CMakeFiles/CMakeOutput.log".


Is there actually a way to build a 32-bit server from these sources?

Best regards,
BB

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: MySQL Connector 8.0 and Visual Studio 17
700
December 23, 2018 08:57PM


Sorry, you can't reply to this topic. It has been closed.

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.