Boost logo

Boost Users :

From: Ben Hutchings (ben.hutchings_at_[hidden])
Date: 2004-02-18 06:39:09


Justin Adam Miller <millerj_at_[hidden]> wrote:
> Howdy. As I am only interested in using the regex library right now, I
> followed the instructions for building that library only, using dmake.
> Compilation went fine. When I tried using the library in a little test
> program with the command:
>
> g++ regextest.cxx -I./boost_1_31_0
> -L./boost_1_31_0/libs/regex/build/sunpro -lboost_regex -o
> regextest.cxx
>
> I get many undefined symbol errors. If requested, I can provide the
> entire error output.

It looks like you are trying to use the wrong library. SunPro refers
to the Sun C++ compiler and tools whereas you are using GNU C++. You
have to build the library and application with the same compiler.


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