Hello,
I am trying to connect to the MySQL Database using Eclipse for C++.
I have added the dynamic library mysqlcppconn.lib and also have the relevant dll files in my executable folder
I get the exact error
"
relocation truncated to fit: R_X86_64_32 against symbol `__imp_get_driver_instance' defined in .idata$5 section in C:\Program Files\MySQL\Connector.C++1.1\lib\opt\static/mysqlcppconn.lib(mysqlcppconn.dll.b) "
i have already tried adding -fPIC and -mcmodel=medium/large to compiler
and _mcmodel=medium/large and -dynamic to the linker.
Didnt have any success with these
Any help as to how can i resolve this error?
I am trying to connect to the MySQL Database using Eclipse for C++.
I have added the dynamic library mysqlcppconn.lib and also have the relevant dll files in my executable folder
I get the exact error
"
relocation truncated to fit: R_X86_64_32 against symbol `__imp_get_driver_instance' defined in .idata$5 section in C:\Program Files\MySQL\Connector.C++1.1\lib\opt\static/mysqlcppconn.lib(mysqlcppconn.dll.b) "
i have already tried adding -fPIC and -mcmodel=medium/large to compiler
and _mcmodel=medium/large and -dynamic to the linker.
Didnt have any success with these
Any help as to how can i resolve this error?