List:MySQL++« Previous MessageNext Message »
From:PIAČEK Roman Date:April 24 2007 2:11pm
Subject:Error LNK2005
View as plain text  
Hi all,

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:
 error LNK2005: "public: __thiscall mysqlpp::Connection::Connection(void)"
(??0Connection@mysqlpp@@QAE@XZ) already defined in mysqli.obj 
I don't know why, because I have the same settings as in first two projects. And they are
working fine.
Can anybody help me? If it helps, find attached the mysqli codes.


 <<mysqli.cpp>>  <<mysqli.h>> 

Attachment: [text/html]
Attachment: [text/html]
Error LNK2005PIAČEK Roman24 Apr
  • Re: Error LNK2005Warren Young25 Apr