Building 32-bit mysql c++ connector from source on a 64-bit machine -
i want build win32 version of mysqlcppconn.dll source can use in win32 applications. running on 64bit windows 8 visual studio 2012. used cmake create solution files build msvc2012. x64 builds fine , able link program compiled in x64 mode.
however, there no win32 configuration available when trying compile source. tried creating new one, copy settings x64. when try compile, gives me error:
debug\mysql_art_resultset.obj : fatal error lnk1112: module machine type 'x86' conflicts target machine type 'x64'
does know why happens? should solution? in cmake settings? or property manager in msvc2012?
any appreciated.
change target machine x86 in project > properties > configuration properties > linker > advanced
Comments
Post a Comment