i'm building mysql wrapper that linking with
-lmysqlclient -lwsock32 -lzlib
wrapper running well, then i built static library
using dev-c++ that linking with
-lmysqlclient -lwsock32 -lzlib and i got
new static library mywrapper.a
i rename that name become libmywrapper.a then copy to lib dev-c++/lib
but, when i used that static library that linking my application to
-lmysqlclient -lwsock32 -lzlib -lmywrapper
i'm getting many linker error message:
[linker error] undefine reference to mysql_connect
What's wrong ?
how to build static library dan using it with dev-c++ ?
Thanks
|