Boost logo

Boost Users :

Subject: Re: [Boost-users] Using boost library on MacOSx
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-07-25 03:21:19


n179911 wrote:

> On Fri, Jul 24, 2009 at 9:53 AM,
> justinleona_at_[hidden]<justinleona_at_[hidden]> wrote:
>> It sounds like you don't have the include path for boost as part of
>> your build environment.  By default I believe it should be installed
>> somewhere like '/opt/local/include/boost'.  If you are using a
>> compiled boost library, you may also need '/opt/local/lib'.  Can you
>> post more information on what build system you are using? (Xcode,
>> eclipse, make, etc).
>>
>
> Thanks.
> I have created a XCode project and I have add Header Search Path to
> /opt/local/include/boost
> Library Search Path to /opt/local/lib.
>
> But I still have this error:
> "boost::system::get_generic_category()", referenced from:
> __static_initialization_and_destruction_0(int, int)in main.o
> __static_initialization_and_destruction_0(int, int)in main.o
> __static_initialization_and_destruction_0(int, int)in main.o
>
> I found this thread
> http://www.nabble.com/installing-boost-on-Mac-OS-X-(version-10.5.5)-td20087259.html
> but it did not solve my problem.

This is because you did not link to Boost.System library.

- Volodya


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