Boost logo

Boost Users :

Subject: Re: [Boost-users] regex - build problem
From: Christian Meesters (meesters_at_[hidden])
Date: 2010-03-16 11:10:21


> What is the linker command line?
g++ -o progname -fopenmp trunk/src/x.o trunk/src/y.o trunk/src/z.o
trunk/src/progname.o -lboost_program_options -lboost_regex

But that's apparently not the problem (see below).

>
> I assume that the undefined references are to ICU functions?
> They shouldn't be coming from Boost.Regex, since if you're
> missing utypes.h, I would expect your code to not compile
> if it tried to use ICU.

Meanwhile I got bjam to do the right thing. I misunderstood the docs in
this point: A simple "./bjam --with-regex toolset=gcc install" is
completely sufficient.

Now the linking does not yield any warnings / errors and the program is
running again.

Anyway, thanks for the pointers!

Cheers
Christian


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net