List:MySQL++« Previous MessageNext Message »
From:Maarten Schrijvers Date:August 22 2007 2:28pm
Subject:Re: Linking problem ^^
View as plain text  
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@stripped>:
>
>
> 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.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@mysqlpp@@QAEXXZ) 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=1
>
>

Thread
Linking problem ^^Tonia Tatasen22 Aug
  • Re: Linking problem ^^Maarten Schrijvers22 Aug
  • Re: Linking problem ^^Warren Young22 Aug
Re: Linking problem ^^Tonia Tatasen23 Aug