Hi,
I am very new to C++ so this is probably down to a lack of experience on my part but after working through lots of issues and Google solutions, I have now got to the end of a very frustrating day with just one error left.
LNK2001 unresolved external symbol "class sql::mysql::MySQL_Driver * __cdecl sql::mysql::get_driver_instance(void)" (?get_driver_instance@mysql@sql@@YAPEAVMySQL_Driver@12@XZ) mysql-connector-c++-1.1.8-console E:\VisualStudio\mysql-connector-c++-1.1.8-console\mysql-connector-c++-1.1.8-console\mysql-connector-c++-1.1.8-console\mysql-connector-c++-1.1.8-console.obj 1
I have "E:\VisualStudio\mysql-connector-c++-noinstall-1.1.8-winx64\mysql-connector-c++-noinstall-1.1.8-winx64\lib" & "C:\Program Files\MySQL\MySQL Connector.C 6.1\lib" in my linker additional libs.
I am compiling as x64 Release and have no specific PreProcessor settings above the standard Win32 ones.
NDEBUG
_CONSOLE
_UNICODE
UNICODE
I have tried rebuilding the C++ connector but my activity with cmake did not go well... at all.
I am using;
VS 2015 Community Update 3
MySQL Community 5.7.15
C connector 6.1.6
C++ connector 1.1.8 (installed and src files).
Boost 1.63.0
Any thoughts or suggestions please.
I am very new to C++ so this is probably down to a lack of experience on my part but after working through lots of issues and Google solutions, I have now got to the end of a very frustrating day with just one error left.
LNK2001 unresolved external symbol "class sql::mysql::MySQL_Driver * __cdecl sql::mysql::get_driver_instance(void)" (?get_driver_instance@mysql@sql@@YAPEAVMySQL_Driver@12@XZ) mysql-connector-c++-1.1.8-console E:\VisualStudio\mysql-connector-c++-1.1.8-console\mysql-connector-c++-1.1.8-console\mysql-connector-c++-1.1.8-console\mysql-connector-c++-1.1.8-console.obj 1
I have "E:\VisualStudio\mysql-connector-c++-noinstall-1.1.8-winx64\mysql-connector-c++-noinstall-1.1.8-winx64\lib" & "C:\Program Files\MySQL\MySQL Connector.C 6.1\lib" in my linker additional libs.
I am compiling as x64 Release and have no specific PreProcessor settings above the standard Win32 ones.
NDEBUG
_CONSOLE
_UNICODE
UNICODE
I have tried rebuilding the C++ connector but my activity with cmake did not go well... at all.
I am using;
VS 2015 Community Update 3
MySQL Community 5.7.15
C connector 6.1.6
C++ connector 1.1.8 (installed and src files).
Boost 1.63.0
Any thoughts or suggestions please.