List:MySQL++« Previous MessageNext Message »
From:Nicholas Gravel Date:December 30 2004 2:47am
Subject:mysql++ 1.7.26
View as plain text  
Hi, i'm trying to compile using VC++.net 2003 with mysql 4.1.7 configured 
correctly with the dvel pack
Basicaly i changed the paths to point to the correct folders in the examples 
but i can't get anything compiling. simple1.cc gives:
simple1 error LNK2019: unresolved external symbol "public: __thiscall 
mysqlpp::SQLString::SQLString(char const *)" 
(??0SQLString@mysqlpp@@QAE@PBD@Z) referenced in function "class 
mysqlpp::SQLQueryParms & __cdecl mysqlpp::operator<<(struct 
mysqlpp::quote_type2,class mysqlpp::SQLString &)" 
(??6mysqlpp@@YAAAVSQLQueryParms@0@Uquote_type2@0@AAVSQLString@0@@Z)

simple1 error LNK2019: unresolved external symbol "public: __thiscall 
mysqlpp::SQLString::SQLString(char const *)" 
(??0SQLString@mysqlpp@@QAE@PBD@Z) referenced in function "public: __thiscall 
mysqlpp::SQLQuery::SQLQuery(class mysqlpp::SQLQuery const &)" 
(??0SQLQuery@mysqlpp@@QAE@ABV01@@Z)

simple1 error LNK2019: unresolved external symbol "public: __thiscall 
mysqlpp::SQLString::SQLString(class std::basic_string<char,struct 
std::char_traits<char>,class std::allocator<char> > const &)" 
(??0SQLString@mysqlpp@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)

referenced in function "class mysqlpp::SQLQueryParms & __cdecl 
mysqlpp::operator<<(struct mysqlpp::quote_type2,class mysqlpp::SQLString &)" 
(??6mysqlpp@@YAAAVSQLQueryParms@0@Uquote_type2@0@AAVSQLString@0@@Z)

simple1 error LNK2001: unresolved external symbol "public: __thiscall 
mysqlpp::SQLString::SQLString(class std::basic_string<char,struct 
std::char_traits<char>,class std::allocator<char> > const &)" 
(??0SQLString@mysqlpp@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)

I get linker errors compiling old projects i had with an earlier version of 
mysql and mysql++. Unfortunatly i do not remember the versions as i lost 
them in a format.


Thread
mysql++ 1.7.26Nicholas Gravel30 Dec
  • Re: mysql++ 1.7.26Warren Young30 Dec