Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MySQL++ - Programming with the C++ API to MySQL
MaxDB - Everything about MaxDB, formerly known as SAP DB
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
mysql openssl Question
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
Update one field with more fields from another table
Getting Identity after INSERT
ERROR 2002: Can 't connect to local MySQL server through socket
mysql test 4 1 fails with the gis test
MySQL Cluster Software
Downgrade Mysql from 4 to 3 23
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Can 't access mysql after kernel upgrade
Executing MySQL Commands From Within C Program
Comparing and writing out BLOBS
Preventing Duplicate Entries
FULLTEXT query format question
Strange behavior, Table Level Permission
Does the binary log enabling affect the MySQL performances?
mysql:it 's a db not a dbms how it 's possible?!
mysql have same function mthod as Oracle decode()
 
Linking problem ^^

Linking problem ^^

2007-08-22       - By Tonia Tatasen

 Back

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=mysql@(protected)