boost_filesystem, undefined reference to boost::assertion_failed_msg
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
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
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
participants (1)
-
André Prata