From: Warren Young Date: March 27 2008 5:05pm Subject: Re: Compiling Troubles List-Archive: http://lists.mysql.com/plusplus/7543 Message-Id: <47EBD3F6.6010907@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit news@stripped wrote: > > // Encode MySQL++ library version number. MYSQLPP_VERSION macro takes > // like 0x010203. MYSQLPP_LIB_VERSION is the current library version > // conditional code based on the MySQL++ library version. > > cout << MYSQLPP_LIB_VERSION << endl; > > This code produces > 131078 That's version 2.0.6. (It's easier to read in hex: 0x020006.) This agrees with your other symptoms, which is that v3 constructs aren't compiling against these old headers. > I used apt-get on an ubuntu install to install mysqlpp, So the old headers are probably in /usr/local/include, and the new ones in /usr/include. You need to clean the old stuff out of the way somehow so the compiler and linker can find the new stuff.