Linker problem
Posted by: Alex Buga
Date: October 12, 2010 03:09AM

Hello to all!! I have some problem with linker. I use MSVC 2010 & Windows =) . I added to my project this lines:
#pragma comment(lib,"libmysql.lib")
#pragma comment(lib,"mysqlclient.lib")

but when i compile my app i have some errors like this:
error LNK2019: ... _mysql_server_init@12

And etc. same errors. How i may fix this?

Downloaded latest C Api for MySQL

Options: ReplyQuote

Written By
Linker problem
October 12, 2010 03:09AM
December 16, 2010 06:20AM
January 22, 2011 11:45PM

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.