MySQL Lists are EOL. Please join:

List:MySQL++« Previous MessageNext Message »
From:"Pankaj Buddhe -X (pbuddhe - GREAT SOFTWARE LABORATORY PVT LTD at Cisco)" <pbuddhe Date:July 18 2018 7:02am
Subject:Problems with compiling mysql++ 3.2.3
View as plain text  
Hi All,

I am trying to compile mysql++ 3.2.3 with supported dependent MySql 8.0.11 on the
following machine.

OS: Red Hat Enterprise Linux Server release 6.9 (Santiago)
Architecture: x86_64

while compiling we got following issue at compile time.

options.cpp: In member function 'virtual mysqlpp::Option::Error
mysqlpp::GuessConnectionOption::set(mysqlpp::DBDriver*)':
options.cpp:72: error: 'MYSQL_OPT_GUESS_CONNECTION' was not declared in this scope
options.cpp: In member function 'virtual mysqlpp::Option::Error
mysqlpp::SecureAuthOption::set(mysqlpp::DBDriver*)':
options.cpp:264: error: 'MYSQL_SECURE_AUTH' was not declared in this scope
options.cpp: In member function 'virtual mysqlpp::Option::Error
mysqlpp::SetClientIpOption::set(mysqlpp::DBDriver*)':
options.cpp:295: error: 'MYSQL_SET_CLIENT_IP' was not declared in this scope
options.cpp: In member function 'virtual mysqlpp::Option::Error
mysqlpp::UseEmbeddedConnectionOption::set(mysqlpp::DBDriver*)':
options.cpp:340: error: 'MYSQL_OPT_USE_EMBEDDED_CONNECTION' was not declared in this scope
options.cpp: In member function 'virtual mysqlpp::Option::Error
mysqlpp::UseRemoteConnectionOption::set(mysqlpp::DBDriver*)':
options.cpp:353: error: 'MYSQL_OPT_USE_REMOTE_CONNECTION' was not declared in this scope

We also try with MySQL 8.0.0 but seen different issue at compile time.

lib/dbdriver.cpp: In member function 'bool mysqlpp::DBDriver::shutdown()':
lib/dbdriver.cpp:338: error: 'mysql_shutdown' was not declared in this scope

The issue may be newer version of MySQL feature does not exist on latest mysql++ 3.2.3.
Please let me know highest version of MySql that will be supported to compile mysql++
3.2.3.

Thanks in advance
Pankaj




Thread
Problems with compiling mysql++ 3.2.3pbuddhe - GREAT SOFTWARE LABORATORY PVT LTD atCisco)18 Jul
  • Re: Problems with compiling mysql++ 3.2.3Warren Young18 Jul