fatal error: sdf sdf.hh: No such file or directory include sdf sdf.hh 解决办法(Gazebo9)
库路径问题sudo gedit ~/.bashrc在打开的文件中添加两行:export GAZEBO_INCLUDE_DIRS=$GAZEBO_INCLUDE_DIRS:/usr/include/sdformat-6.2export GAZEBO_LIBRARY_DIRS=$GAZEBO_LIBRARY_DIRS:/usr/lib/lib/x86_64-linux-gnu保存后...
·
库路径问题
sudo gedit ~/.bashrc
在打开的文件中添加两行:
export GAZEBO_INCLUDE_DIRS=$GAZEBO_INCLUDE_DIRS:/usr/include/sdformat-6.2
export GAZEBO_LIBRARY_DIRS=$GAZEBO_LIBRARY_DIRS:/usr/lib/lib/x86_64-linux-gnu
保存后退出
然后运行:source ~/.bashrc
更多推荐
所有评论(0)