From: Martin Gainty Date: June 19 2012 2:47pm Subject: RE: Unresolved symbols with mysqlclient in DEBUG mode using VC++ 2010 Express List-Archive: http://lists.mysql.com/mysql/227698 Message-Id: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="_2c413940-0c02-4e32-aa65-31aab16cd5b1_" --_2c413940-0c02-4e32-aa65-31aab16cd5b1_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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. __CrtSetRep= ortFile ) can you 1) locate MSVCRT*.dll on your %PATH% 2) dumpbin -exports MSVCRT*.dll Saludos Cordiales (desde EEUU) Martin=20 ______________________________________________=20 Porfavor no altere esta communicacion..Gracias > Date: Tue=2C 19 Jun 2012 10:24:48 -0400 > Subject: Re: Unresolved symbols with mysqlclient in DEBUG mode using VC++= 2010 Express > From: chamaeleon@stripped > To: renito73@stripped > CC: mysql@stripped >=20 > On Tue=2C Jun 19=2C 2012 at 2:48 AM=2C 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 > > 1>mysqlclient.lib(dbug.obj) : error LNK2019: unresolved external > > symbol __CrtSetReportMode referenced in function _DbugExit > > 1>mysqlclient.lib(my_init.obj) : error LNK2001: unresolved external > > symbol __CrtSetReportMode > > 1>mysqlclient.lib(my_init.obj) : error LNK2019: unresolved external > > symbol __CrtDumpMemoryLeaks referenced in function _my_end > > 1>mysqlclient.lib(my_init.obj) : error LNK2019: unresolved external > > symbol __CrtCheckMemory referenced in function _my_end > > > > Do I have to include an aditional library so the symbols are resolved > > correctly? The release mode works perfect and the application runs > > fine in that way only... >=20 > The missing functions should be provided by the Visual Studio debug > runtime library. Are all source files in your own code compiled and > program linked with one=2C and only one=2C of the flags /MDd (dynamic > linking) or /MTd (static linking)? >=20 > Lars Nilsson >=20 > --=20 > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe: http://lists.mysql.com/mysql >=20 = --_2c413940-0c02-4e32-aa65-31aab16cd5b1_--