Connector/C++ cross compiling.
Posted by: GIGIN JOSE
Date: January 31, 2011 11:26PM

Hi,
I am successfully able to cross compile Connector/C for ARM linux. The host machine I use is a linux with fedora distribution. In the Connector/C++ configuration, it looks for a package called boost. I had downloaded the package and installed the includes and libs. The cmake command is given as below:

cmake -DBOOST_ROOT:STRING=/opt/boost_1_45/ -DBOOST_INCLUDEDIR=/opt/boost_1_45/include/ -DBOOST_LIBRARYDIR=/opt/boost_1_45/lib .

where /opt/boost_1_45 is the root directory for boost. I get error message executing the command. The messsage is:

-- Environment compile flags:
-- Environment link flags:
-- icu-config not found
-- Could NOT find Boost
-- Could NOT find Boost
CMake Error at CMakeLists.txt:113 (MESSAGE):
Boost or some of its libraries found. If not in standard place please set
-DBOOST_ROOT:STRING=


-- Configuring incomplete, errors occurred!

Should I set any environment variables before doing cmake ? What should I do to include the boost package ?

Options: ReplyQuote


Subject
Views
Written By
Posted
Connector/C++ cross compiling.
4946
January 31, 2011 11:26PM


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.