Quote:
Originally Posted by SKlife83
Hello there,
Followed the guide to the letter but when I go to build I always get 1 error. It says LNK1104 cannot open file mysqlclient.lib. Any suggestions would be appreciated.
Thanks.
|
Once you open the solution in Visual Studio, go to the Solution Explorer, click one time on "loginserver" then right click, select "Properties..."
The property page will open. In the left pane, expand "Configuration Properties", then click on "VC++ Directories"
In the right pane, ADD the following to the "Library Directories"
C:\EQ\Source\dependencies\mysql_x86\lib
This is provided that you created everything on the C drive and followed the guide when creating directories. If you changed anything to where you put those dependency files, adjust the path accordingly.
The error you are getting in VS is because the linker can't find the library to link in. So you need to tell it, which is what you're doing above.
Another option is to drag and drop the mysqlclient.lib into the loginserver project in the solution explorer.