View Single Post
  #6  
Old 01-12-2010, 06:15 AM
blmille2
Sarnak
 
Join Date: Apr 2007
Location: Austin, TX
Posts: 64
Default Stuck at Mysql unresolved links

Hello, guys. I'm also compiling on a Win7 64-bit machine.

I think I got the Perl thing worked out, but I'm getting a bunch of unresolved links for mysql.
example:
3>dbasync.obj : error LNK2001: unresolved external symbol _mysql_free_result@4
3>guild_base.obj : error LNK2001: unresolved external symbol _mysql_free_result@4
3>rulesys.obj : error LNK2001: unresolved external symbol _mysql_free_result@4
3>shareddb.obj : error LNK2019: unresolved external symbol _mysql_free_result@4 referenced in function "public: bool __thiscall SharedDatabase:BLoadNPCFactionLists(int,unsigned int)" (?DBLoadNPCFactionLists@SharedDatabase@@QAE_NHI@Z)
3>zone.obj : error LNK2001: unresolved external symbol _mysql_free_result@4
3>zonedb.obj : error LNK2001: unresolved external symbol _mysql_free_result@4
...
---------------
I'm following the post located here: http://www.eqemulator.net/wiki/wikka.php?wakka=VS2008

Okay, so I had to upgrade my Perl from 5.8 to 5.10 because the server code requires it for Visual C++ 2008 Express Edition.

I'm using mysql 5.1.42 and installed everything at c:\mysql and installed the developer files.

I checked that the files exist. I'm thinking that there is an implied min-version that I'm not currently meeting with mysql.
*EDIT: Yes, I also added the three lines to included directories and libraries from the guide listed above*

What do you guys think?

Thanks!!

Brandon
Reply With Quote