PDA

View Full Version : Linking Problem(error LNK2019 : : unresolved external symbol



fata263
سه شنبه 18 بهمن 1384, 13:31 عصر
hi,
When I wanted to connect to mysql via visual C++7
occured some linking errors like this:

error LNK2019: unresolved external symbol "__declspec(dllimport) public: class mysqlpp::Query __thiscall mysqlpp::Connection::query(void)" (__imp_?query@Connection@mysqlpp@@QAE?AVQuery@2@XZ ) referenced in function "int __cdecl Func1(int,char * * const)" (?Func1@@YAHHQAPAD@Z)

please help me to solve this problem
thanks