andreasBihlmaier / gazebo2rviz

Automatically import all entities simulated in ROS-enabled Gazebo or described in a set of SDF files into rviz through the TF and Marker plugin. Furthermore add objects from a SDF as MoveIt collision objects.
http://wiki.ros.org/gazebo2rviz
65 stars 43 forks source link

Building Error gazebo2rviz #18

Closed sheldonjinqi closed 4 years ago

sheldonjinqi commented 4 years ago

Hi Andreas,

Thanks for sharing this great package. I am having the following error when building the package using catkin_build. I am using ros melodic with ubuntu 18.04/. I am new to ros and gazebo, could you please help me solve this? Thanks

` Errors << gazebo2rviz:cmake /home/sheldon/catkin_ws/logs/gazebo2rviz/build.cmake.001.log CMake Error at /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:83 (find_package): Could not find a package configuration file provided by "pysdf" with any of the following names:

pysdfConfig.cmake
pysdf-config.cmake

Add the installation prefix of "pysdf" to CMAKE_PREFIX_PATH or set "pysdf_DIR" to a directory containing one of the above files. If "pysdf" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMakeLists.txt:4 (find_package)

`

sheldonjinqi commented 4 years ago

I figured out that I didn't install pysdf and that was the reason causing the building error. I am going to close this issue since i solved it by installing the pysdf package.