-
问题1:Could not find a package configuration file provided by "tf2_sensor_msgs"
-
解决:
sudo apt-get install ros-noetic-tf2-sensor-msgs -
问题2:CMake Error at APACE/trajectory/CMakeLists.txt:10 (find_package):
By not providing "FindNLopt.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "NLopt", but
CMake did not find one.
Could not find a package configuration file provided by "NLopt" with any of
the following names:
NLoptConfig.cmake
nlopt-config.cmake
Add the installation prefix of "NLopt" to CMAKE_PREFIX_PATH or set
"NLopt_DIR" to a directory containing one of the above files. If "NLopt"
provides a separate development package or SDK, be sure it has been
installed.
-
解决:Ubuntu20版本通过apt安装会出现错误,先卸载nlopt,
sudo apt remove ros-noetic-nlopt,然后通过下面的命令源码安装bashcd path to APACE git clone https://github.com/stevengj/nlopt.git cd nlopt mkdir build && cd build cmake .. make sudo make install
港科大APACE复现问题
@MGod吾2024-06-27 18:01
相关推荐
orcasdli4 天前
ROS1+VINS-fusion+RTAB-Map 程序部署记录撩妹小狗6 天前
ROS文件解读(package .xml--CMakeLists.txt)何伯特21 天前
ROS与Conda的兼容性问题深度解析与解决方案hhzz24 天前
利用Terraform格式模板文件创建和部署基本网络资源github5actions25 天前
ROS开发实战:如何用rviz文件保存和加载你的SLAM可视化配置(附避坑指南)REDcker25 天前
DDS 协议详解铁头七娃1 个月前
Solidworks 2024 根据机器人装配体,生成urdf文件三克的油1 个月前
ros-day5元让_vincent1 个月前
DailyCoding C++ CMake | CMake 踩坑记:解决 ROS 项目中的“循环引用”与库链接依赖问题元让_vincent1 个月前
DaliyCoding C++ ROS | C++ 避坑指南:ROS 回调函数中的对象生命周期陷阱 (Use-After-Free)