Rasmus Theede writes: > When I try to compile any of the examples in mysql++ I get the errors > (RedHat 7.1): > > > > In file included from /usr/local/include/sqlplus.hh:9, > from simple1.cc:3: > /usr/local/include/defs:5:19: mysql.h: No such file or directory > In file included from /usr/local/include/coldata1.hh:8, > from /usr/local/include/sqlplus.hh:12, > from simple1.cc:3: > /usr/local/include/type_info1.hh:10:19: mysql.h: No such file or > directory > In file included from /usr/local/include/vallist1.hh:6, > from /usr/local/include/row1.hh:11, > from /usr/local/include/compare1.hh:5, > from /usr/local/include/sqlplus.hh:13, > from simple1.cc:3: > /usr/local/include/manip1.hh:10:19: mysql.h: No such file or directory > In file included from /usr/local/include/sqlplus.hh:14, > from simple1.cc:3: > /usr/local/include/connection1.hh:10:19: mysql.h: No such file or > directory > In file included from /usr/local/include/connection1.hh:20, > from /usr/local/include/sqlplus.hh:14, > from simple1.cc:3: > /usr/local/include/query1.hh:10:19: mysql.h: No such file or directory > In file included from /usr/local/include/query1.hh:13, > from /usr/local/include/connection1.hh:20, > from /usr/local/include/sqlplus.hh:14, > from simple1.cc:3: > /usr/local/include/result1.hh:12:19: mysql.h: No such file or directory > In file included from /usr/local/include/sqlplus.hh:57, > from simple1.cc:3: > /usr/local/include/coldata3.hh:10:19: mysql.h: No such file or directory > > > > > > Where do I go wrong?? > > > > Regards > >
Hi! You have to provide a full path to C API includes and libs, as explained in our manual. You will find proper options for path names to be passed to configure. Although MySQL++ 1.7.9 works with latest 2.96 compilers, we would still recommend any from 2.95 or 3.* series ... -- Regards, __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <[EMAIL PROTECTED]> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer /_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus <___/ www.mysql.com --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php