From: Warren Young Date: December 17 2011 9:59am Subject: Re: Build failure and missing example header List-Archive: http://lists.mysql.com/plusplus/9475 Message-Id: <19646B63-4FDD-4148-BDCE-0773BC290022@etr-usa.com> MIME-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable On Dec 16, 2011, at 11:14 PM, John Tate wrote: > A header that is needed by the examples is not included. Trying to = compile > the first example results in error... >=20 > $ g++ -o resetdb resetdb.cpp > resetdb.cpp:30:21: fatal error: cmdline.h: No such file or directory > compilation terminated. cmdline.h isn't part of the examples, it's part of the library proper. = So, you're probably missing a -I flag for the MySQL++ header directory. This is a Frequently Asked Question: http://tangentsoft.net/mysql++/#hownottobuild That directory you copied should have contained a Makefile that handles = all this for you.