MySQL Forums
Forum List  »  Connector/C++

Re: Compiling VC++ with MySQL Connector/C++ causing error (variant.hpp missing)
Posted by: Santiago AA
Date: November 05, 2010 06:11AM

In order to compile c++ conector you must download Boost C++ Libraries.

Sorry my english sucks, Im from Argentina.

"
As of MySQL Connector/C++ version 1.1.0 it is necessary to have the Boost C++ libraries 1.34.0 or newer installed. Boost is only required to build the connector, it is not required to use the connector. You can obtain Boost from the official site and installation instructions can be obtained from the same site. Once Boost has been installed you will need to tell the make system where the Boost files are. This is done by setting the define -DBOOST_ROOT:STRING=. This can be done when initially invoking CMake, for example: "

http://dev.mysql.com/doc/refman/5.1/en/connector-cpp-installation-source.html

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Compiling VC++ with MySQL Connector/C++ causing error (variant.hpp missing)
9697
November 05, 2010 06:11AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.