You want to build with MYSQLPP_MYSQL_HEADERS_BURIED defined. This is in
the mysql++ documentation:
http://tangentsoft.net/mysql++/doc/html/userman/configuration.html#buried-headers
So you want:
g++ test.cpp -o test -lmysqlpp -DMYSQLPP_MYSQL_HEADERS_BURIED
I suppose the case could be made that
i noticed that a header named 'mysql++.h' was in /usr/include/mysql++/ so i
tried that as well. here is the code and command i used to compile it:
#include
int main() {
}
g++ test.cpp -o test -lmysqlpp
the errors are attatched.
error.log
Description: Binary data
2 matches
Mail list logo