[Quickfix-developers] SQL support and libMySQL.lib
Brought to you by:
orenmnero
|
From: Martin T. <mta...@ho...> - 2005-07-21 14:38:07
|
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
|