undefined reference to boost::filesystem
Hello,
I can't link against the filesystem library.
When I try to compile a program using boost::filesystem (like the simple
one attached to this email), I get "undefined reference" errors from the
linker:
dourak@Vvardenfell:~$ g++ -o dummy dummy.cpp -lboost_filesystem
-lboost_system
/tmp/ccMpl6cj.o: In function
`boost::filesystem::exists(boost::filesystem::path const&)':
dummy.cpp:(.text._ZN5boost10filesystem6existsERKNS0_4pathE[boost::filesystem::exists(boost::filesystem::path
const&)]+0x19): undefined reference to
`boost::filesystem::detail::status(boost::filesystem::path const&,
boost::system::error_code*)'
/tmp/ccMpl6cj.o: In function `boost::filesystem::path::path
participants (1)
-
Thibaut Lepage