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 on Debian platforms the mysql headers are buried so this package should define that for you?

-Evan



Nick Owens wrote:
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 <mysql++/mysql++.h>

int main() {
}

g++ test.cpp -o test -lmysqlpp

the errors are attatched.




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to