Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-02-22 10:01:26

Claudius Kehrhahn wrote:

> I am a newbie to python, MinGW and eclipse. My background: I have a lot
> experience in c++ with Visual Studio and embedded programming with other
> compilers.
> My final goal is binding python with c++.
> So, learning python is no really problem. I installed the MinGW 3.4.2
> package, python 2.5, boost_1_34_1 and eclipse 3.3 with cdt 4.x.
> I set a lot of constants for the path's to lib and include directories,
> compiled the boost libraries/dlls with mingw.
> Then I started the tutorial of boost with the regex example. I had no
> problems with bjam as well with the following commands
> g++ -I P:\Programme\boost_1_34_1 example.cpp -o example -L
> P:\Programme\boost_1_34_1\lib\ -lboost_regex-mgw34-mt-d-1_34_1
> and
> g++ -I P:\Programme\boost_1_34_1 example.cpp -o example
> P:\Programme\boost_1_34_1\lib\libboost_regex-mgw34-mt-d-1_34_1
> but when I compiled and linked the example with eclipse I got the output:
> **** Internal Builder is used for build ****
> g++ -IP:\Programme\boost_1_34_1 -O0 -c -fmessage-length=0 -oexample.o
> ..\example.cpp
> g++ P:\Programme\boost_1_34_1\lib\libboost_regex-mgw34-mt-d-1_34_1.a
> -oTest_boost_libs.exe example.o

The .a might have to be present after example.o on the command line.
How to make CDT do that, I have no idea.

- Volodya

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