I think you need install *MySQL* database development package, e.g.* libmysqlclient*-*dev*, otherwise the error "can't find mysql.h" may occurr.
And you should also add link to "mysqlclient" in the makefile . *g++* -*lmysqlclient* test.cpp 2012/3/6 王健 <wangjian2008_12...@126.com> > Hi all: > Recently i need to call a table created via mysql-server 5 database in > routing.cc. First i create the table and add "#include<mysql/mysql.h> " > to header files in routing.hh, anything others need to be done before > ./boot.sh, ../configure and make. > Thank you very much. > Best Wishes > > Wang Jian > &nb sp; > > 2012-3-6 > > > > _______________________________________________ > nox-dev mailing list > nox-dev@noxrepo.org > http://noxrepo.org/mailman/listinfo/nox-dev > > -- ***Best regards, :-) ** Junlong Peng*
_______________________________________________ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev