Re: [Quickfix-developers] SQL support and libMySQL.lib
Brought to you by:
orenmnero
|
From: Oren M. <or...@qu...> - 2005-07-21 17:20:42
|
The library needs to be in your library path, not your include path. --oren ----- Original Message ----- From: "Martin Tanguay" <mta...@ho...> To: <qui...@li...> Cc: <mta...@ho...> Sent: Thursday, July 21, 2005 9:37 AM Subject: [Quickfix-developers] SQL support and libMySQL.lib > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX FAQ: http://www.quickfixengine.org/wikifix/index.php?QuickFixFAQ > QuickFIX Support: http://www.quickfixengine.org/services.html > > Hi, > > I compiled the quickfix project in order to have SQL support and got this > fatal error: > "quickfix fatal error LNK1104: cannot open file 'libMySQL.lib'" > > Here's what I did: > 1-Download and extract latest sources. > > 2-I enabled "#define HAVE_MYSQL 1" from "../src/config_windows.h". > > 3-Add additional include directories where related SQL header and library > (libMySQL.lib) can be found: > ../;C:\mysql\include;C:\mysql\lib\opt > > 4-Set configuration type to be "Dynamic library (.dll)" > > 5-Set project to be in release mode. > > 6-I find out that a "typelib.h" was missing, so I copied it from : > > http://leithal.cool-tools.co.uk/sourcedoc/mysql509/html/typelib_8h-source.html > and paste it in the same folder as mysql.h > > 7-Rebuild project quickfix and got the specified error. But the "missing" > file libMySQL.lib is in the additional included directory. > > Initially I compiled the project quickfix as a .lib library with success. > > What am I doing wrong now to get it as a dll? > > Thank you > Martin > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > |