![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
// 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 |
|
I used apt-get on an ubuntu install to install mysqlpp, |
#3
| |||
| |||
|
|
news (AT) dmcdonald (DOT) net 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. -- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsu...nald (DOT) net |
#4
| |||
| |||
|
|
# cp /usr/local/lib/libmysqlpp.so.3 /usr/lib/ |
![]() |
| Thread Tools | |
| Display Modes | |
| |