Boost logo

Boost Interest :

Subject: Re: [Boost-cmake] [Query] Using cmake to cross compile
From: Denis Arnaud (denis.arnaud_boost_at_[hidden])
Date: 2010-07-15 14:05:45


Hello,

2010/7/9 Alapkumar Sinha <Alapkumar.Sinha_at_[hidden]>

> But when I do “cmake -DCMAKE_INSTALL_PREFIX=/root/Alap/md/
> /root/Alap/md/boost_1_43_0”. I get this following error:
>
> The source directory "/root/Alap/md/boost_1_43_0" does not appear to
> contain CMakeLists.txt
>
> Boost_1_43_0 is the folder where I have extracted the boost tar file.
>
Linux is case sensitive. So, the source directory would
be /root/Alap/md/Boost_1_43_0

The "standard" way to build boost is the following, though:
 cd /root/Alap/md/Boost_1_43_0
 mkdir build-linux
 cd build-linux
 cmake -DCMAKE_INSTALL_PREFIX=/root/Alap/md/deliveries/boost-1.43.0 ..
 make
 make install
 cd ..
 # optionally, delete the build directory:
 rm -rf build-linux

Now, Troy does no longer (have the time to) maintain boost-cmake. Isidor
Zeuner kindly maintain it in his own gitorious cloned repository:
http://gitorious.org/~zeuner/boost/zeuners-boost-cmake
I've successfully built (for Fedora/RedHat) Boost-1.44 from that
repository: https://bugzilla.redhat.com/show_bug.cgi?id=607615

Best Regards

Denis



Boost-cmake list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk