Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
marvin2k opened this issue Mar 14, 2016 · 3 comments
Open

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

marvin2k opened this issue Mar 14, 2016 · 3 comments

Comments

@marvin2k
Copy link

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....

@jmachowinski
Copy link
Member

Yep 03 vs 05. external/yaml_CPP may not be installed

@marvin2k
Copy link
Author

Which one? external/yaml_CPP? external/yaml-cpp? autoproj only knows external/yaml-cpp, which installs version 0.3

@marvin2k marvin2k reopened this Mar 15, 2016
@jmachowinski
Copy link
Member

external/yaml-cpp may not be installed (e.g. version 0.3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants