Skip navigation links

MySQL Forums :: Connector/C++ :: Compiling VC++ with MySQL Connector/C++ causing error (variant.hpp missing)


Advanced Search

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
Compiling VC++ with MySQL Connector/C++ causing error (variant.hpp missing) 13235 Lucas Coppio 10/19/2010 07:15AM
Re: Compiling VC++ with MySQL Connector/C++ causing error (variant.hpp missing) 8611 Santiago AA 11/05/2010 06:11AM
Re: Compiling VC++ with MySQL Connector/C++ causing error (variant.hpp missing) 4335 Bob Eby 01/05/2011 05:35PM


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.