Page MenuHomePhabricator

boost filesystem tools not linkable
Closed, ResolvedPublic

Description

when including
#include <boost/filesystem.hpp>

usage of

[path].filename().extension().string();

results in

error: undefined reference to `boost::filesystem::path::extension() const'

even though Boost is listed under PACKAGE_DEPENDS
and the header is found.