ah, thanks. i'm really very sorry for wasting time :/
my deepest apologies and thanks.
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
Package: libmysql++-dev
Version: 3.0.9-1+b1
Severity: grave
Justification: renders package unusable
headers are properly installed to /usr/include/mysql++/, but there is no
/usr/include/mysql++.h for development.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT pol
4 matches
Mail list logo