Sorry, I was confused about mysql++ and connector/c++, because I extract
both in same directory.
I had build connector/c++, mysqlcppconn.dll and *.lib were successed built.
I used cmd : cmake -G "Visual Studio 8 2005"
but when I created makefile using (cmake -G "MinGW"), but I get some error
while compiling using ming32-make.
>> .../MYSQL./../include/config-win.h:232 error redefinition of double
rint(double)
>> .../mingw./../include/math.h:232 error double rint(double) previously
defined here.
after I remove rint function, I get other error.
Is there anyone know how to build "connector/c++" using MinGW ?
I prever compile my c++ app using free compiler like mingw.
Thanks for your share...
On Wed, Dec 17, 2008 at 1:24 AM, Warren Young <mysqlpp@stripped> wrote:
> Agus Jumadi wrote:
>
>> I compiled mysql mysql_connector_cpp using MingW 5.1.4 on windows. mysql
>> version is MySQL Server 5.1.
>> I use command prompt to build mysqlpp > "mingw32-make -f Makefile.mingw".
>> While compiling, libmysqlpp.a is successed build, but it cannot build
>> mysqlpp.dll because of error reference...
>>
>
> This mailing list is for MySQL's Connector/C++, but it seems you're talking
> about MySQL++, a different library. MySQL hosts the mailing lists for both
> projects, but MySQL++'s home is elsewhere:
>
> http://tangentsoft.net/mysql++/
>
> Its mailing list home is:
>
> http://lists.mysql.com/plusplus/
>
> what does "-lmysqlclient" mean ?
>>
>
> That tells the compiler to link to a library called mysqlclient. It's
> specific to MinGW, and isn't provided as part of MySQL. The instructions
> for making that library are in README-MinGW.txt within the MySQL++ source
> distribution.
>
> If you have more questions about MySQL++, please take it up on the other
> mailing list.
>
> --
> MySQL Connector/C++ Mailing List Mailing List
> For list archives: http://lists.mysql.com/connector-cplusplus
> To unsubscribe:
> http://lists.mysql.com/connector-cplusplus?unsub=1
>
>