Skip to content

building_trouble_shooting

Naveau edited this page Mar 2, 2021 · 1 revision

Troubleshooting during build

Segfault during yaml-cpp parsing.

Please perform a dpkg -l | grep yaml-cpp. if the output looks like this:

dpkg -l | grep yaml-cpp
ii  libyaml-cpp-dev                                    0.5.2-4ubuntu1                                   amd64        YAML parser and emitter for C++ - development files
ii  libyaml-cpp0.5v5:amd64                             0.5.2-4ubuntu1                                   amd64        YAML parser and emitter for C++
ii  robotpkg-yaml-cpp                                  0.5.3                                            amd64        YAML parser and emitter for C++
ii  ros-dashing-yaml-cpp-vendor                        6.0.1-1bionic.20201125.040329                    amd64        Wrapper around yaml-cpp, it provides a fixed CMake module and an ExternalProject build of it.

Then you need to uninstall the robotpkg-yaml-cpp. It might be the cause of the trouble.

Hence the solution is: sudo apt remove robotpkg-yaml-cpp

Clone this wiki locally