Hello,
i linked the Header- Library- and User Header Search Paths. I get an error for compiling my Project:
Thx
i linked the Header- Library- and User Header Search Paths. I get an error for compiling my Project:
Code:
ld: warning: in /usr/local/mysql/lib/mysql/libmysqlclient_r.dylib, file is not of required architecture
Undefined symbols:
"_mysql_free_result", referenced from:
mysqlwrapper::freeResult(st_mysql_res*) in mysqlwrapper.o
"_mysql_insert_id", referenced from:
mysqlwrapper::lastInsertID() in mysqlwrapper.o
"_mysql_use_result", referenced from:
mysqlwrapper::doQuery(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in mysqlwrapper.o
"_mysql_close", referenced from:
mysqlwrapper::disconnect() in mysqlwrapper.o
"_mysql_affected_rows", referenced from:
mysqlwrapper::affectedRows() in mysqlwrapper.o
"_mysql_query", referenced from:
mysqlwrapper::doQuery(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in mysqlwrapper.o
mysqlwrapper::exec(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in mysqlwrapper.o
"_my_thread_init", referenced from:
mysqlwrapper::connectDB(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)in mysqlwrapper.o
"_mysql_fetch_row", referenced from:
mysqlwrapper::fetchRow(st_mysql_res*) in mysqlwrapper.o
Thx