Boost logo

Boost Interest :

Subject: Re: [Boost-cmake] [Query] Using cmake to cross compile
From: Isidor Zeuner (boost_at_[hidden])
Date: 2010-07-16 04:26:36

> 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.
> >

Where did you fetch the tar file from? The official boost source tree
doesn't contain CMakeLists.txt anymore, as the boost-cmake project
was split out until it can serve as a full replacement of what bjam
currently does.

> 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:

Alap, I successfully used both this repository I put up, and
Troy's 1.41.0.cmake source tree for cross compiling (in fact,
being able to use my existing cross compile setups for boost was one
of the reasons why I started syncing boost-cmake with the upstream

> I've successfully built (for Fedora/RedHat) Boost-1.44 from that
> repository:

Denis, I didn't realize the repository I put up is considered for
Fedora integration. I think that's great news!

Best regards,


Boost-cmake list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at