[prev in list] [next in list] [prev in thread] [next in thread]
List: mysql-plusplus
Subject: Re: Error LNK2005
From: Warren Young <mysqlpp () etr-usa ! com>
Date: 2007-04-25 5:48:40
Message-ID: 462EEBB8.2020504 () etr-usa ! com
[Download RAW message or body]
PIAČEK Roman wrote:
>
> I have a problem. I am using mysql++-1.7.40 and VS 2003. In 2 C++
> projects the mysql++ works fine, but now I tried to do a 3rd project and
> I always get this error:
I can understand using old versions of a library with old projects, but
why aren't you using the current version of MySQL++ with your new
project at least?
> error LNK2005: "public: __thiscall
> mysqlpp::Connection::Connection(void)" (??0Connection@mysqlpp@@QAE@XZ)
> already defined in mysqli.obj
Make sure the link settings are the same between your new program and
the old one. You might be attempting to link to the library twice, for
example. The current version of MySQL++ has good, detailed instructions
at the bottom of README.vc for the settings that you need to check.
--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsub=mysql-plusplus@progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic