  | | | Linking problem ^^ | Linking problem ^^ 2007-08-22 - By Maarten Schrijvers
Back I don't know if this will solve your problems, but it is the most suggested solution in case of linking problems: include mysqlpp.dll in your project folder, and visual studio will be able to find it... (same goes for libmysql.dll)
2007/8/22, Tonia Tatasen <Tonia.Tatasen@(protected)>: > > > Hi, > > I have a problem compiling a project with mysql++. > First I installed MySQL 5.0 for Windows (WinXP SP2 here ^^). Then I > downloaded mysql-5 (See http://sql-5.ora-code.com).0.45-win-src and compiled it. All goodie so far. Then I > downloaded mysql++-2.3.2 and compiled it too. Still, all fine so far. But > when I try to compile the first example I get serveral linking errorrs: (but > I only list one, because they all look more or less the same) > > 1>main.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) public: void __thiscall mysqlpp::Query::`vbase > destructor'(void)" (__imp_??_DQuery@(protected)@@(protected)) referenced in function > _main > > I am using Visual Studio Studio 2005 (VC++) btw (yes, SP is installed ^^). > I don't know why this problem occurs, because I did add > "C:\mysql++\mysql++\debug" to my "library files" list, so it should be > included (mysqlpp.dll, mysqlpp.lib and mysqlpp_util.lib in that > directory). > > Any ideas? > > Kind Regards, > Tonia > __ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ______ > Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! > http://smartsurfer.web.de/?mc=100071&distributionid=000000000066 > > > -- > MySQL++ Mailing List > For list archives: http://lists.mysql.com/plusplus > To unsubscribe: > http://lists.mysql.com/plusplus?unsub=maarten.schrijvers@(protected) > >
|
|
 |