【问题标题】:libyaml-cpp.s.0.2 not found找不到 libyaml-cpp.s.0.2
【发布时间】:2014-05-25 15:01:16
【问题描述】:

我遇到了一个问题,可能是因为有一天我删除了一些与 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 版本,它适用于我的目的。有什么帮助吗?

【问题讨论】:

    标签: c++ ubuntu-12.04 ros libyaml


    【解决方案1】:

    尝试强制重新安装 yaml-cpp 包。有关如何在 Ubuntu 中重新安装软件包的详细信息,请参阅 https://superuser.com/questions/102449/how-to-reinstall-a-package-using-apt-get

    一般来说,您不应删除由 .deb 包安装的文件。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-07-10
      • 2021-06-24
      • 1970-01-01
      • 1970-01-01
      • 2013-03-10
      • 2020-07-14
      • 2016-09-26
      • 1970-01-01
      相关资源
      最近更新 更多