I did what the readme says to add it to a current project: Add 2 folders as an additional include dir, and then added mysql++.lib to the project, then #include <mysql++>.
Now, I did that and everything works, except when I add some code and try to Build the DLL, I dont know if I have to do something different when wokring with a DLL or not, but im getting alot of linking errors. Here is a few examples out of the 50 or so I get, they all basically follow the same message:
- Code: Select all
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::~basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(void)" (??1?$basic_string@
DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ) already defined in command.obj
msvcprt.lib(MSVCP60.dll) : warning LNK4006: "void __cdecl std::_Xran(void)" (?_Xran@std@@YAXXZ) already defined in libcpmtd.lib(string.obj); second definition ignored