  | | | cannot build simple1 | cannot build simple1 2007-06-27 - By Wynn Taylor
Back Hello All,
I downloaded and built mysql++ solution using VB++ Express. It built w/o errors after moving some files into the include directory of the compiler. I have attempted to build simple one but have had no success.
I don't think it is finding the DLL. I have put it in several locations hoping that it would find it. I have tried the lib folder for the compiler, the windows system directory and the project directory.
Here is a dump or the error log. Any Advice?
-Wynn
1>-- --- Build started: Project: test, Configuration: Debug Win32 -- --- 1>Linking... 1>test.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall mysqlpp::Query::`vbase destructor'(void)" (__imp_??_DQuery@(protected)@@(protected)) referenced in function _main 1>test.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall mysqlpp::Result::~Result(void)" (__imp_??1Result@(protected)@@(protected)@(protected)) referenced in function _main 1>test.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall mysqlpp::Query::error(void)" (__imp_?error@(protected)@(protected)@@ QAE?AV?$basic_string@(protected)?$char_traits@(protected)@(protected)@@(protected)?$allocator@(protected)@(protected)@@(protected)@@(protected)) referenced in function _main 1>test.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall mysqlpp::ColData_Tmpl<class mysqlpp::const_string>::~ColData_Tmpl<class mysqlpp::const_string>(void)" (__imp_??1?$ColData_Tmpl@(protected)@(protected)@@@(protected)@@(protected)@(protected)) referenced in function _main 1>test.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl mysqlpp::operator<<(class std::basic_ostream<char,struct std::char_traits<char> > &,class mysqlpp::ColData_Tmpl<class mysqlpp::const_string> const &)" (__imp_??6mysqlpp@@(protected)?$basic_ostream@(protected)?$char_traits@(protected)@(protected)@@@(protected)@@ AAV12@(protected)?$ColData_Tmpl@(protected)@(protected)@@@(protected)@@(protected)) referenced in function _main 1>test.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual class mysqlpp::ColData_Tmpl<class mysqlpp::const_string> const __thiscall mysqlpp::Row::at(unsigned int)const " (__imp_?at@(protected)@(protected)@@(protected)?BV?$ColData_Tmpl@(protected)@(protected)@@@(protected)@(protected)@(protected)) referenced in function _main 1>test.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall mysqlpp::Row::~Row(void)" (__imp_??1Row@(protected)@@(protected)@(protected)) referenced in function _main 1>test.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall mysqlpp::Row::operator bool(void)const " (__imp_??BRow@(protected)@@(protected)) referenced in function _main 1>test.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class mysqlpp::Row & __thiscall mysqlpp::Row::operator=(class mysqlpp::Row const &)" (__imp_??4Row@(protected)@@ QAEAAV01@(protected)@@(protected)) referenced in function _main 1>test.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual class mysqlpp::Row const __thiscall mysqlpp::Result::at(unsigned int)const " (__imp_?at@(protected)@(protected)@@ UBE?BVRow@(protected)@(protected)@(protected)) referenced in function _main 1>test.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall mysqlpp::Row::Row(void)" (__imp_??0Row@(protected)@@(protected)@(protected)) referenced in function _main 1>test.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall mysqlpp::ResUse::operator bool(void)const " (__imp_??BResUse@(protected)@@(protected)) referenced in function _main 1>test.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class mysqlpp::Result __thiscall mysqlpp::Query::store(void)" (__imp_?store@(protected)@(protected)@@(protected)?AVResult@(protected)@(protected)) referenced in function _main 1>test.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class mysqlpp::Query __thiscall mysqlpp::Connection::query(void)" (__imp_?query@(protected)@(protected)@@ QAE?AVQuery@(protected)@(protected)) referenced in function _main 1>test.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall mysqlpp::Connection::~Connection(void)" (__imp_??1Connection@(protected)@@(protected)@(protected)) referenced in function _main 1>test.obj : error LNK2019: unresolved external symbol "bool __cdecl connect_to_db(int,char * * const,class mysqlpp::Connection &,char const *)" (?connect_to_db@@(protected)@(protected)@@(protected)@(protected)) referenced in function _main 1>test.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall mysqlpp::Connection::Connection(bool)" (__imp_??0Connection@(protected)@@(protected)@(protected)@(protected)) referenced in function _main 1>C:\Documents and Settings\wynn.t\My Documents\Visual Studio 2005\Projects\test\Debug\test.exe : fatal error LNK1120: 17 unresolved externals 1>Build log was saved at "file://c:\Documents and Settings\wynn.t\My Documents\Visual Studio 2005\Projects\test\test\Debug\BuildLog.htm" 1>test - 18 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
|
|
 |