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

[QUESTION] undefined reference to `YAML::detail::node_data::empty_scalar[abi:cxx11]()' #63

Open
lyxichigoichie opened this issue Aug 16, 2024 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@lyxichigoichie
Copy link

while I was building kimera_pgmo_ros package, it always report

/usr/bin/ld: /home/lyxichigoichie/Documents/Scene_Graph/Hydra/devel/lib/libconfig_utilities.so: undefined reference to `YAML::detail::node_data::empty_scalar[abi:cxx11]()

and then failed to build the project. Anyone has the same problem?

OS: Ubuntu20
ROS: noetic

@lyxichigoichie lyxichigoichie added the question Further information is requested label Aug 16, 2024
@zszz3
Copy link

zszz3 commented Dec 2, 2024

Hello,i meet the same problem,do you solve your problem?

@Walklism
Copy link

Walklism commented Dec 14, 2024

I encountered a similar problem when building the config_utilities package, and the culprit for me was adding the Conda virtual environment to PATH.
I solved the problem by simply commenting out the line export PATH=~/miniconda3/bin:$PATH in the ~/.bashrc file (which I had added for convenience) and then restarting the terminal.
Additionally, the problem can be reproduced by executing export PATH=~/miniconda3/bin:$PATH in the terminal and rebuilding the package.

The image below is a piece of my error log in the terminal. The full log is extremely long, comprising probably hundreds of lines of error reports, but almost all of them follow the format:
/usr/bin/ld: ..... : undefined reference to 'YAML::detail::......'
which also applies to the current issue.
I hope these information proves helpful to someone.
myerror

OS: Ubuntu 20.04 in VMware
ROS distro: Noetic
Conda used: Miniconda

@zszz3
Copy link

zszz3 commented Dec 14, 2024

I encountered a similar problem when building the config_utilities package, and the culprit for me was adding the Conda virtual environment to PATH. I solved the problem by simply commenting out the line export PATH=~/miniconda3/bin:$PATH in the ~/.bashrc file (which I had added for convenience) and then restarting the terminal. Additionally, the problem can be reproduced by executing export PATH=~/miniconda3/bin:$PATH in the terminal and rebuilding the package.

The image below is a piece of my error log in the terminal. The full log is extremely long, comprising probably hundreds of lines of error reports, but almost all of them follow the format: /usr/bin/ld: ..... : undefined reference to 'YAML::detail::......' which also applies to the current issue. I hope these information proves helpful to someone. myerror

OS: Ubuntu 20.04 in VMware ROS distro: Noetic Conda used: Miniconda

Thank you for your help. With your help, I solved this problem! I wish you good luck in your research.

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

No branches or pull requests

4 participants