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

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

-- Configuring incomplete, errors occurred!

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

Options: ReplyQuote

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

Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.

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.