我遇到了一个问题,可能是因为有一天我删除了一些与 libyaml 相关的文件。无论如何,当我尝试构建 gscam(ros 包)时,我得到了这个错误。
/usr/bin/ld: warning: libyaml-cpp.so.0.2, needed by /opt/ros/hydro/lib/libcamera_calibration_parsers.so, not found (try using -rpath or -rpath-link)
/opt/ros/hydro/lib/libcamera_calibration_parsers.so: undefined reference to `YAML::Node::begin() const'
而且我找不到在哪里可以得到它。我的意思是,我已经从这里https://code.google.com/p/yaml-cpp/下载了 0.3 版本,它适用于我的目的。有什么帮助吗?