erdalpekel / panda_simulation

This repository contains a sample ROS package that launches the FRANKA EMIKA Panda robot in the Gazebo simulation environment.
MIT License
140 stars 48 forks source link

Configuring incomplete, errors occurred! #18

Open akileshrajan opened 4 years ago

akileshrajan commented 4 years ago

Hi, I am new to ROS and I have been trying to setup the panda arm in my system and configure Gazebo panda simulation. Although I followed all the instructions on the repo, cmake fails with the following errors:

-- +++ processing catkin package: 'panda_simulation'
-- ==> add_subdirectory(panda_simulation)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   filesystem
--   system
-- Checking for module 'jsoncpp'
--   No package 'jsoncpp' found
CMake Error at panda_simulation/CMakeLists.txt:38 (message):
  message called with incorrect number of arguments

CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:166 (message):
  catkin_package() DEPENDS on 'system_lib' but neither
  'system_lib_INCLUDE_DIRS' nor 'system_lib_LIBRARIES' is defined.
Call Stack (most recent call first):
  /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package)
  panda_simulation/CMakeLists.txt:44 (catkin_package)

-- Configuring incomplete, errors occurred!
See also "/home/akilesh/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/akilesh/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:5512: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed

I checked and found that json cpp is installed. I dont understand why it doesn't pick it up. I also tried adding the path to the jsoncpp package with no success.

Any help would be much appreciated.

rns0869 commented 6 months ago

comment this: DEPENDS system_lib in the CMakeLists.txt , that should fix it.