Skip to content

undefined reference to `YAML::detail::node_data::end()' #2

@marvin2k

Description

@marvin2k

When building this, I get:

      liblib_config.so: undefined reference to `YAML::detail::node_data::end()'               
      liblib_config.so: undefined reference to `YAML::Load(std::string const&)'               
      liblib_config.so: undefined reference to `YAML::detail::node_data::begin()'             
      liblib_config.so: undefined reference to `YAML::LoadAll(std::string const&)'            

where my linker-call is

/usr/bin/c++    -std=c++11 -O3 -DNDEBUG    CMakeFiles/lib_config_bin.dir/Main.cpp.o  -o lib_config_bin -rdynamic -lboost_system -lboost_system -lboost_filesystem -lboost_filesystem -lboost_regex -lboost_regex .../install/lib/libyaml-cpp.so liblib_config.so -lboost_system -lboost_filesystem -lboost_regex .../install/lib/libyaml-cpp.so -Wl,-rpath,.../tools/lib_config/build/src:.../install/lib 

After remaking external/yaml-cpp, I get a whole lot of other compiler-errors -- probably yaml-cpp-0.3 vs 0.5 fuckup? jesses... All in an entern bootstrap....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions