Re: [Quickfix-developers] SQL support and libMySQL.lib
Brought to you by:
orenmnero
|
From: Martin T. <mta...@ho...> - 2005-07-21 19:31:33
|
Thanks oren for the tip, I did a new compile (release mode) with every path correctly set, it reach the end of the compile and throw a warning: "LINK : warning LNK4243: DLL containing objects compiled with /clr is not linked with /NOENTRY; image may not run correctly" My quickfix database was created following the instruction under topic "Generating MySQL Database". When I use the compiled quickfix_net.dll, the JIT debugger pops-up and I can't use the quickfix engine. How can I remove this warning? Thanks for your help, I appreciate. Martin >From: "Oren Miller" <or...@qu...> >To: "Martin Tanguay" ><mta...@ho...>,<qui...@li...> >CC: <mta...@ho...> >Subject: Re: [Quickfix-developers] SQL support and libMySQL.lib >Date: Thu, 21 Jul 2005 12:20:25 -0500 > >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 >> > |