2013년 7월 4일 목요일

build orocos-rtt on windows 7

Download orocos-toolchain-2.6.0
Download boost 1.52.0

vi tools/build/v2/user-config.jam

remove '#' comment
using msvc : 9.0 ; --> it is Visual Studio 2009

more information site is http://www.boost.org/boost-build2/doc/html/bbv2/reference/tools.html

cd boost_1_52_0
bootstrap.bat

Building Boost.Build engine

created b2.exe and bjam.exe

b2.exe --help
b2.exe --build-dir=c:\boost --build-type=complete --prefix=c:\boost\152

.. take a long time ...

cd c:/boost/152/include/boost_1_52_0
mv boost ../
cd ../
rm -rf boost_1_52_0

cd orocos-toolchain-2.6.0/rtt
mkdir build
cd build

cmake --help
cmake -DBoost_USE_STATIC_LIBS=ON -DBoost_DEBUG=TRUE -D "BOOST_ROOT:string=c:/boost" -G "visual Studio 9 2008" ..

Refer FindBoost.cmake file

댓글 없음: