Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MySQL++ - Programming with the C++ API to MySQL
MaxDB - Everything about MaxDB, formerly known as SAP DB
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
mysql openssl Question
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
Update one field with more fields from another table
Getting Identity after INSERT
ERROR 2002: Can 't connect to local MySQL server through socket
mysql test 4 1 fails with the gis test
MySQL Cluster Software
Downgrade Mysql from 4 to 3 23
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Can 't access mysql after kernel upgrade
Executing MySQL Commands From Within C Program
Comparing and writing out BLOBS
Preventing Duplicate Entries
FULLTEXT query format question
Strange behavior, Table Level Permission
Does the binary log enabling affect the MySQL performances?
mysql:it 's a db not a dbms how it 's possible?!
mysql have same function mthod as Oracle decode()
 
cannot build simple1

cannot build simple1

2007-06-27       - By Wynn Taylor

 Back
Reply:     1     2     3     4  

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 ==========