[odb-users] ODB Compilation under MinGW

Boris Kolpackov boris at codesynthesis.com
Thu Jan 23 02:27:09 EST 2014


Hi Adrien,

Adrien G <adrien_chem at hotmail.com> writes:

> That's weird, same problem occures... :/

Assuming you put your MySQL client in C:\mysql with headers in 
C:\mysql\include and libraries in C:\mysql\lib, try this command
line when configuring libodb-mysql:

./configure CPPFLAGS="-I/c/mysql/include ..." LDFLAGS="-L/c/mysql/lib ..." 

(here "..." standad for the rest of the options, for example, for
libodb, etc).

If this still doesn't work, take a look at the config.log file.
It contains actual g++ commands run by configure as well as the
actual error messages (start from the bottom of the file and
scroll up until you see a compiler error).

Boris



More information about the odb-users mailing list