[odb-users] ODB Compilation under MinGW

Adrien G adrien_chem at hotmail.com
Wed Jan 22 12:21:56 EST 2014


Oh ok, I didn't know that I could rename a .lib into .a like that. I'm going to try !
Thank you :)

> Date: Wed, 22 Jan 2014 10:35:45 +0200
> From: boris at codesynthesis.com
> To: adrien_chem at hotmail.com
> CC: odb-users at codesynthesis.com
> Subject: Re: [odb-users] ODB Compilation under MinGW
> 
> Hi Adrien,
> 
> Adrien G <adrien_chem at hotmail.com> writes:
> 
> > configure: error: libmysqlclient_r is not found
> > So I download here the mysql connector for linux generic Linux [...]
> 
> If I undrstand you correctly, you are building on MinGW/Windows and you
> downloaded a pre-built MySQL library for Linux. That's not going to work.
> You cannot use Linux libraries on Windows.
> 
> What you need to do is download the MySQL client for Windows (that was 
> built with VC++). Then rename libmysql.lib to libmysqlclient_r.a.
> 
> For SQLite, you will need to build the library from source for MinGW.
> Get the sqlite-autoconf package and then use configure & make under
> MSYS to build it for MinGW.
> 
> Boris
 		 	   		  


More information about the odb-users mailing list