Boost logo

Boost Users :

Subject: Re: [Boost-users] boost_filesystem, undefined reference to boost::assertion_failed_msg
From: André Prata (andreprata_at_[hidden])
Date: 2012-04-04 18:23:08


Never mind, I understand now I must provide my own definition... I thought
it wouldn't make sense, but did it and solved the problem...

Thanks!

On Wed, Apr 4, 2012 at 23:19, André Prata <andreprata_at_[hidden]> wrote:

> This is for boost 1.48.0.
>
> I'm trying to use and link my code with libboost_filesystem, but it fails
> with this:
>
> ../../bin.v2/app/networkmanager/gcc-4.6.3/debug/link-static/types/Settings.o:
> In function `boost::filesystem3::directory_iterator::dereference() const':
> /boost-location/boost_1_48_0/boost/filesystem/v3/operations.hpp:638:
> undefined reference to `boost::assertion_failed_msg(char const*, char
> const*, char const*, char const*, long)'
>
> What do I need to link it with? What am I doing wrong?
>
> Thanks,
> André Prata
>



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