3 messages in com.mysql.lists.plusplusRE: MySQL++ 1.7.1 with Borland C++ Bu...| From | Sent On | Attachments |
|---|---|---|
| André Hagoort | 09 Jun 2002 00:37 | |
| André Hagoort | 09 Jun 2002 00:55 | |
| Arturs Aboltins | 10 Jun 2002 06:47 |
| Subject: | RE: MySQL++ 1.7.1 with Borland C++ Builder 5: HELP??![]() |
|---|---|
| From: | Arturs Aboltins (Artu...@lattelekom.lv) |
| Date: | 06/10/2002 06:47:02 AM |
| List: | com.mysql.lists.plusplus |
HI,
Please try to make the examples using examples.mak in examples directory. Appears that you don't have all options and parameters (lib files) switched correctly.
Artur
-----Original Message----- From: André Hagoort [mailto:and...@concera.nl] Sent: Sunday, June 09, 2002 10:56 AM To: plus...@lists.mysql.com Subject: MySQL++ 1.7.1 with Borland C++ Builder 5: HELP??
Hi there,,
I'm used to use MySQL with PHP, but now i'm moving on and try to use is with Borland C++ Builder 5 with the MySQL++ Api 1.7.1 by Arturs Aboltins. When I made the API using make -fmysqlplus.mak as described in the manual, I got lots of warnings. When I compile the example simple1.cpp, sinisa_ex.cpp or other example programs, c++ builder gives the following errors.
Does anybody know what this problem could be en how I could fix this??
[C++ Warning] const_string1.hh(70): W8058 Cannot create pre-compiled header: code in header [Linker Error] Unresolved external 'MysqlConnection::~MysqlConnection()' referenced from D:\PROGRAM FILES\BORLAND\MYSQLPP\SRC\EXAMPLES\SIMPLE1.OBJ [Linker Error] Unresolved external 'mysql_num_rows' referenced from D:\PROGRAM FILES\BORLAND\MYSQLPP\SRC\EXAMPLES\SIMPLE1.OBJ [Linker Error] Unresolved external 'MysqlResUse::num_fields() const' referenced from D:\PROGRAM FILES\BORLAND\MYSQLPP\SRC\EXAMPLES\SIMPLE1.OBJ [Linker Error] Unresolved external 'FieldTypes::init(const MysqlResUse *)' referenced from D:\PROGRAM FILES\BORLAND\MYSQLPP\SRC\EXAMPLES\SIMPLE1.OBJ [Linker Error] Unresolved external 'mysql_data_seek' referenced from D:\PROGRAM FILES\BORLAND\MYSQLPP\SRC\EXAMPLES\SIMPLE1.OBJ [Linker Error] Unresolved external 'mysql_fetch_row' referenced from D:\PROGRAM FILES\BORLAND\MYSQLPP\SRC\EXAMPLES\SIMPLE1.OBJ [Linker Error] Unresolved external 'mysql_fetch_lengths' referenced from D:\PROGRAM FILES\BORLAND\MYSQLPP\SRC\EXAMPLES\SIMPLE1.OBJ [Linker Error] Unresolved external 'MysqlResUse::~MysqlResUse()' referenced from D:\PROGRAM FILES\BORLAND\MYSQLPP\SRC\EXAMPLES\SIMPLE1.OBJ [Linker Error] Unresolved external 'MysqlConnection::MysqlConnection(const char *, const char *, const char *, const char *, bool)' referenced from D:\PROGRAM FILES\BORLAND\MYSQLPP\SRC\EXAMPLES\SIMPLE1.OBJ [Linker Error] Unresolved external 'SQLQuery::str(const SQLQueryParms&, query_reset)' referenced from D:\PROGRAM FILES\BORLAND\MYSQLPP\SRC\EXAMPLES\SIMPLE1.OBJ [Linker Error] Unresolved external 'MysqlConnection::store(const std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, bool)' referenced from D:\PROGRAM FILES\BORLAND\MYSQLPP\SRC\EXAMPLES\SIMPLE1.OBJ [Linker Error] Unresolved external 'SQLQuery::str(const SQLQueryParms&) const' referenced from D:\PROGRAM FILES\BORLAND\MYSQLPP\SRC\EXAMPLES\SIMPLE1.OBJ [Linker Error] Unresolved external 'MysqlFieldNames::init(const MysqlResUse *)' referenced from D:\PROGRAM FILES\BORLAND\MYSQLPP\SRC\EXAMPLES\SIMPLE1.OBJ [Linker Error] Unresolved external 'operator <<(std::basic_ostream<char, std::char_traits<char> >&, const mysql_ColData<const_string>&)' referenced from D:\PROGRAM FILES\BORLAND\MYSQLPP\SRC\EXAMPLES\SIMPLE1.OBJ




