Re: Unresolved symbols with mysqlclient in DEBUG mode using VC++ 2010 Express

2012-06-19 Thread Lars Nilsson
On Tue, Jun 19, 2012 at 11:56 AM, Miguel Cardenas wrote: > RELEASE: > - Runtime: /MT (static threaded) > - Library: mysqlclient.lib (...\mysql\lib) > - Ignore library: LIBCMTD.lib (without this does not link the release) > - Debug: NO > > RELEASE: > - Runtime: /MTd (static threaded debug) > - Libr

Re: Unresolved symbols with mysqlclient in DEBUG mode using VC++ 2010 Express

2012-06-19 Thread Miguel Cardenas
Hello Lars After hours of testing different project configurations, finally I was able to compile with debug mode... still pending the test of debugging, but just created the DLL (it was a library that I'm developing) without errors... The configurations I used (VC++ 2010 Express) were: RELEASE:

Re: Unresolved symbols with mysqlclient in DEBUG mode using VC++ 2010 Express

2012-06-19 Thread Lars Nilsson
On Tue, Jun 19, 2012 at 10:47 AM, Martin Gainty wrote: > Miguel.. > > i do not have VC2010 but as my memory recalls the > C runtime library (MSVCRT*.dll) would be the first library on %PATH% .. and > all missing functions *should* be located inside the dll (e.g. > __CrtSetReportFile ) > > can you

RE: Unresolved symbols with mysqlclient in DEBUG mode using VC++ 2010 Express

2012-06-19 Thread Martin Gainty
*.dll Saludos Cordiales (desde EEUU) Martin __ Porfavor no altere esta communicacion..Gracias > Date: Tue, 19 Jun 2012 10:24:48 -0400 > Subject: Re: Unresolved symbols with mysqlclient in DEBUG mode using VC++ > 2010 Express > From: chamael.

Re: Unresolved symbols with mysqlclient in DEBUG mode using VC++ 2010 Express

2012-06-19 Thread Lars Nilsson
On Tue, Jun 19, 2012 at 2:48 AM, Miguel Cardenas wrote: > Hello friends > 1>mysqlclient.lib(dbug.obj) : error LNK2019: unresolved external > symbol __CrtSetReportFile referenced in function _DbugExit > 1>mysqlclient.lib(my_init.obj) : error LNK2001: unresolved external > symbol __CrtSetReportFile

Unresolved symbols with mysqlclient in DEBUG mode using VC++ 2010 Express

2012-06-18 Thread Miguel Cardenas
Hello friends I'm back to MySQL programming using the C API... it works fine when I compile using the RELEASE mode and "C:\Program Files (x86)\MySQL\MySQL Server 5.5\lib" but if I choose the DEBUG mode and "C:\Program Files (x86)\MySQL\MySQL Server 5.5\lib\debug" it fails at link time: 1>mysqlcli