Skip to content

undefined reference to `boost::filesystem::path::filename_v3() const' #275

@2246sam20

Description

@2246sam20

I am trying to link boost libraries to my application but m getting this error
I have successfully compiled boost for my system and got the .so files after compiling for my system to link to my project
Below are the flags and linking options am using

USER_CPP_OPTS = -O2 -Wall -ffunction-sections -fdata-sections -flto -fvisibility=hidden -fvisibility-inlines-hidden -std+=c++11
USER_LINK_OPTS = -pie -Wl,-z,relro -Wl,--verbose -lboost_thread -lboost_graph -lboost_filesystem -lboost_system

undefined reference to `boost::filesystem::path::filename_v3() const'
 undefined reference to `boost::filesystem::detail::create_directory(boost::filesystem::path const&, boost::filesystem::path const*, boost::system::error_code*)'

Any help will be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions