From: Warren Young Date: December 3 2008 9:39am Subject: Re: Compiling an example List-Archive: http://lists.mysql.com/plusplus/8220 Message-Id: MIME-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit 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.