Reputation: 5
Hi am using MS visual VC++ 2008
trying to connect mysql though vc++ code..getting this link error still after setting linker input parameter
but now showing the link erro:fatal error LNK1104: cannot open file 'mysqlcppconn.lib' Set the mysqlcppconn.lib and libmysql.lib in the properties->configuration prperties-> Linker->Input->Additional dependencies.
IS there any way to set the mysqlcppconn.lib ?? any suggestion please
Upvotes: 0
Views: 8331
Reputation: 64700
You may need to go to Properties->Configuration Properties->Linker->General->Additional Library Directories and add the directory that has the MySQL libraries in there so the linker can find them.
Upvotes: 1
Reputation: 304
you can include lib file programmatically :
good luck!
Upvotes: 0