Skip to content

Compiling Boost.Process as header-only fails  #390

Description

@DUOLabs333

When compiling, I get the error

&, boost::system::error_code&)':
/home/system/Repos/tools/external/boost/boost/filesystem/operations.hpp:211:(.text._ZN5boost10filesystem15is_regular_fileERKNS0_4pathERNS_6system10error_codeE[_ZN5boost10filesystem15is_regular_fileERKNS0_4pathERNS_6system10error_codeE]+0x38): undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'
/usr/bin/ld: main.o: in function `boost::filesystem::path::append(boost::filesystem::path const&)':
/home/system/Repos/tools/external/boost/boost/filesystem/path.hpp:1691:(.text._ZN5boost7process6detail5posix11search_pathERKNS_10filesystem4pathERKSt6vectorIS4_SaIS4_EE[_ZN5boost7process6detail5posix11search_pathERKNS_10filesystem4pathERKSt6vectorIS4_SaIS4_EE]+0xcc): undefined reference to `boost::filesystem::detail::path_algorithms::append_v3(boost::filesystem::path&, char const*, char const*)'

This is probably because Process depends on Filesystem, but Filesystem must be separately compiled --- which is something I'm trying to avoid.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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