logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Compiling nwnx_odbc

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Windows development
View previous topic :: View next topic  
Author Message
Zebranky



Joined: 04 Jun 2006
Posts: 415

PostPosted: Sat Feb 23, 2008 10:38    Post subject: Compiling nwnx_odbc Reply with quote

I have some issues compiling nwnx_odbc with either MySQL 4.1 or 5.0. Here's a sample of the error from 5.0:

mysqlclient.lib(md2.obj) : error LNK2001: unresolved external symbol ___security_cookie
mysqlclient.lib(trees.obj) : error LNK2001: unresolved external symbol ___security_cookie
mysqlclient.lib(inftrees.obj) : error LNK2001: unresolved external symbol ___security_cookie

There are 106 of those in 5.0, and only 4 in 4.1. Apparently, based on what I've read, this is because the MySQL team used VS 7 to compile the release, and it has these external dependencies. Does anyone have a version of MySQL that works for compiling nwnx_odbc? They've deprecated 4.0 and don't even host it anymore, so I seem to be out of luck looking through official channels.

Possible workarounds for the errors would also be appreciated.
_________________
Win32 SVN builds: http://www.mercuric.net/nwn/nwnx/

<Fluffy-Kooshy> NWNx plugin is to this as nuclear warheads are to getting rid of fire ants.

<ThriWork> whenever I hear nwn extender, I think what does NWN need a penis extender for?
Back to top
View user's profile Send private message Visit poster's website
Zebranky



Joined: 04 Jun 2006
Posts: 415

PostPosted: Sat Feb 23, 2008 21:20    Post subject: Reply with quote

I compiled a fresh mysqlclient.lib from MySQL 4.1.22 source, using VS 6, and it worked perfectly.
_________________
Win32 SVN builds: http://www.mercuric.net/nwn/nwnx/

<Fluffy-Kooshy> NWNx plugin is to this as nuclear warheads are to getting rid of fire ants.

<ThriWork> whenever I hear nwn extender, I think what does NWN need a penis extender for?
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Windows development All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group