On Dec 2, 2008, at 2:11 PM, r ottmanj wrote:
> mysqlTest.cpp:1:21: error: cmdline.h: No such file or directory
> mysqlTest.cpp:2:23: error: printdata.h: No such file or directory
The examples aren't made to be compiled outside the MySQL++ tree. If
you want to start with one of the examples for testing, remove these
two header includes and all of the functions they define. Those
routines aren't meant to be used outside of MySQL++.
A better plan is to start a fresh program outside of MySQL++, or just
start integrating MySQL++ calls into an existing program.
> mysqlTest.cpp:4:22: error: mysql++.h: No such file or directory
Have you installed MySQL++ yet? Makefile.simple is looking for this
header in /usr/include/local/mysql++, which is the default
installation location.