Skip to content

CMake Error: Could not find a package configuration file provided by "hrpsys_gazebo_general" #464

@fanshi14

Description

@fanshi14

Dear all,

My ROS version is Indigo and Gazebo 2.0.
At first, I install rtmros-common, then I try to install rtmros_tutorial.
Everything goes well untill this procedure:
catkin_make --only-pkg-with-deps hrpsys_gazebo_tutorials
And the output about error is as follow:

CMake Error at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:75 (find_package):
  Could not find a package configuration file provided by
  "hrpsys_gazebo_general" with any of the following names:

    hrpsys_gazebo_generalConfig.cmake
    hrpsys_gazebo_general-config.cmake

  Add the installation prefix of "hrpsys_gazebo_general" to CMAKE_PREFIX_PATH
  or set "hrpsys_gazebo_general_DIR" to a directory containing one of the
  above files.  If "hrpsys_gazebo_general" provides a separate development
  package or SDK, be sure it has been installed.
Call Stack (most recent call first):
  rtm-ros-robotics/rtmros_tutorials/hrpsys_gazebo_tutorials/CMakeLists.txt:4 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/kahn/ros/ws_rtmros_tutorials/build/CMakeFiles/CMakeOutput.log".
See also "/home/kahn/ros/ws_rtmros_tutorials/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed

Could anyone help me?
Thanks in advance!

And the whole output is:

kahn@kahn:~/ros/ws_rtmros_tutorials$ catkin_make --only-pkg-with-deps hrpsys_gazebo_tutorials
Base path: /home/kahn/ros/ws_rtmros_tutorials
Source space: /home/kahn/ros/ws_rtmros_tutorials/src
Build space: /home/kahn/ros/ws_rtmros_tutorials/build
Devel space: /home/kahn/ros/ws_rtmros_tutorials/devel
Install space: /home/kahn/ros/ws_rtmros_tutorials/install
Whitelisted packages: hrpsys_gazebo_tutorials, hrpsys_ros_bridge_tutorials
####
#### Running command: "cmake /home/kahn/ros/ws_rtmros_tutorials/src -DCATKIN_DEVEL_PREFIX=/home/kahn/ros/ws_rtmros_tutorials/devel -DCMAKE_INSTALL_PREFIX=/home/kahn/ros/ws_rtmros_tutorials/install -DCATKIN_WHITELIST_PACKAGES=hrpsys_gazebo_tutorials;hrpsys_ros_bridge_tutorials -G Unix Makefiles" in "/home/kahn/ros/ws_rtmros_tutorials/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/kahn/ros/ws_rtmros_tutorials/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/indigo
-- This workspace overlays: /opt/ros/indigo
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/kahn/ros/ws_rtmros_tutorials/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.6.16
-- BUILD_SHARED_LIBS is on
-- Using CATKIN_WHITELIST_PACKAGES: hrpsys_gazebo_tutorials;hrpsys_ros_bridge_tutorials
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 2 packages in topological order:
-- ~~  - hrpsys_ros_bridge_tutorials
-- ~~  - hrpsys_gazebo_tutorials
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'hrpsys_ros_bridge_tutorials'
-- ==> add_subdirectory(rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials)
-- Using these message generators: gencpp;geneus;genlisp;genpy
-- set EUSDIR to /opt/ros/indigo/share/euslisp/jskeus/eus
-- set ARCHDIR to Linux64
-- [roseus.cmake] loading roseus.cmake from hrpsys_ros_bridge_tutorials
-- [roseus.cmake] roseus 1.4.1
-- [roseus.cmake] jskeus 
-- [roseus.cmake] euslisp 9.16.0
-- [roseus.cmake] geneus 2.2.5
-- [roseus.cmake] genmsg 0.5.6
-- [roseus.cmake] message_generation Requires: gencpp;genlisp;genmsg;genpy
-- [roseus.cmake] generate all roseus messages
-- [roseus.cmake] hrpsys_ros_bridge_tutorials depends on audio_common_msgs;std_msgs;actionlib_msgs;diagnostic_msgs;geometry_msgs;move_base_msgs;nav_msgs;pr2_msgs;rosgraph_msgs;roscpp;actionlib;actionlib_tutorials;dynamic_reconfigure;sensor_msgs;shape_msgs;sound_play;std_srvs;tf;robot_pose_ekf;tf2_msgs;topic_tools;trajectory_msgs;control_msgs;pr2_controllers_msgs;visualization_msgs;hrpsys_ros_bridge
-- [roseus.cmake] hrpsys_ros_bridge_tutorials will compile robot_pose_ekf;hrpsys_ros_bridge;hrpsys_ros_bridge_tutorials
CMake Warning at rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/CMakeLists.txt:10 (message):
  Package hrp2_models is not found, if you have right to access them
  please include source code in catkin workspace


CMake Warning at rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/CMakeLists.txt:15 (message):
  Package jsk_models is not found, if you have right to access them
  please include source code in catkin workspace


-- [compile_robot_model.cmake] compile_openhrp_model(/opt/ros/indigo/share/OpenHRP-3.1/sample/model/PA10/pa10.main.wrl /opt/ros/indigo/share/OpenHRP-3.1/sample/model/PA10/pa10.main.wrl)
--  wrl file /opt/ros/indigo/share/OpenHRP-3.1/sample/model/PA10/pa10.main.wrl
-- yaml file /home/kahn/ros/ws_rtmros_tutorials/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/pa10.yaml
--  dae file /home/kahn/ros/ws_rtmros_tutorials/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/pa10.dae
-- urdf file /home/kahn/ros/ws_rtmros_tutorials/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/pa10.urdf
-- lisp file /home/kahn/ros/ws_rtmros_tutorials/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/pa10.l
--  xml file /home/kahn/ros/ws_rtmros_tutorials/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/pa10.xml
--           /home/kahn/ros/ws_rtmros_tutorials/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/pa10_nosim.xml
-- config file /home/kahn/ros/ws_rtmros_tutorials/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/pa10_controller_config.yaml
-- [compile_robot_model.cmake] compile_openhrp_model(/opt/ros/indigo/share/OpenHRP-3.1/sample/model/sample1.wrl /opt/ros/indigo/share/OpenHRP-3.1/sample/model/sample1.wrl;SampleRobot;--conf-dt-option;0.002;--simulation-timestep-option;0.002;--conf-file-option;abc_leg_offset: 0,0.09,0;--conf-file-option;abc_stride_parameter: 0.15,0.05,10;--conf-file-option;end_effectors: lleg,LLEG_ANKLE_R,WAIST,0.0,0.0,-0.07,0.0,0.0,0.0,0.0, rleg,RLEG_ANKLE_R,WAIST,0.0,0.0,-0.07,0.0,0.0,0.0,0.0, larm,LARM_WRIST_P,CHEST,0.0,0,-0.12,0,1.0,0.0,1.5708, rarm,RARM_WRIST_P,CHEST,0.0,0,-0.12,0,1.0,0.0,1.5708,;--conf-file-option;collision_pair: RARM_WRIST_P:WAIST LARM_WRIST_P:WAIST RARM_WRIST_P:RLEG_HIP_R LARM_WRIST_P:LLEG_HIP_R RARM_WRIST_R:RLEG_HIP_R LARM_WRIST_R:LLEG_HIP_R;--conf-file-option;pdgains_sim_file_name: /opt/ros/indigo/share/hrpsys/samples/SampleRobot/SampleRobot.PDgain.dat;--robothardware-conf-file-option;pdgains.file_name: /home/kahn/ros/ws_rtmros_tutorials/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/PDgains.sav)
--  wrl file /opt/ros/indigo/share/OpenHRP-3.1/sample/model/sample1.wrl
-- yaml file /home/kahn/ros/ws_rtmros_tutorials/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/samplerobot.yaml
--  dae file /home/kahn/ros/ws_rtmros_tutorials/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/SampleRobot.dae
-- urdf file /home/kahn/ros/ws_rtmros_tutorials/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/SampleRobot.urdf
-- lisp file /home/kahn/ros/ws_rtmros_tutorials/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/samplerobot.l
--  xml file /home/kahn/ros/ws_rtmros_tutorials/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/SampleRobot.xml
--           /home/kahn/ros/ws_rtmros_tutorials/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/SampleRobot_nosim.xml
-- config file 
-- 



 /HRP2JSK_for_OpenHRP3/HRP2JSKmain.wrl is not found..




-- 



 /HRP2JSKNT_for_OpenHRP3/HRP2JSKNTmain.wrl is not found..




-- 



 /HRP2JSKNTS_for_OpenHRP3/HRP2JSKNTSmain.wrl is not found..




-- 



 /HRP2W_for_OpenHRP3/HRP2Wmain.wrl is not found..




-- 



 /HRP4R/HRP4Rmain.wrl is not found..




-- 



 /URATALEG/URATALEGmain.wrl is not found..




-- 



 /STARO/STAROmain.wrl is not found..




-- 



 /YSTLEG/YSTLEGmain.wrl is not found..




-- 



 /JAXON/JAXONmain.wrl is not found..




-- 



 /JAXON_RED/JAXON_REDmain.wrl is not found..




-- 



 /CHIDORI/CHIDORImain.wrl is not found..




-- [compile_robot_model.cmake] compile_openhrp_model(/home/kahn/ros/ws_rtmros_tutorials/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/TESTMDOFARM.wrl /home/kahn/ros/ws_rtmros_tutorials/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/TESTMDOFARM.wrl;TESTMDOFARM)
--  wrl file /home/kahn/ros/ws_rtmros_tutorials/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/TESTMDOFARM.wrl
-- yaml file /home/kahn/ros/ws_rtmros_tutorials/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/testmdofarm.yaml
--  dae file /home/kahn/ros/ws_rtmros_tutorials/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/TESTMDOFARM.dae
-- urdf file /home/kahn/ros/ws_rtmros_tutorials/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/TESTMDOFARM.urdf
-- lisp file /home/kahn/ros/ws_rtmros_tutorials/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/testmdofarm.l
--  xml file /home/kahn/ros/ws_rtmros_tutorials/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/TESTMDOFARM.xml
--           /home/kahn/ros/ws_rtmros_tutorials/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/TESTMDOFARM_nosim.xml
-- config file /home/kahn/ros/ws_rtmros_tutorials/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/models/TESTMDOFARM_controller_config.yaml
Generate launch files for TESTMDOFARM
  PROJECT_PKG_NAME = hrpsys_ros_bridge_tutorials
        MODEL_FILE = $(find hrpsys_ros_bridge_tutorials)/models/TESTMDOFARM.wrl
             ROBOT = TESTMDOFARM
hrpsys_ros_bridge_PACKAGE_PATH = /opt/ros/indigo/share/hrpsys_ros_bridge
Generate launch files for SampleRobot
  PROJECT_PKG_NAME = hrpsys_ros_bridge_tutorials
        MODEL_FILE = $(find openhrp3)/share/OpenHRP-3.1/sample/model/sample1.wrl
             ROBOT = SampleRobot
hrpsys_ros_bridge_PACKAGE_PATH = /opt/ros/indigo/share/hrpsys_ros_bridge
-- Output /home/kahn/ros/ws_rtmros_tutorials/src/rtm-ros-robotics/rtmros_tutorials/hrpsys_ros_bridge_tutorials/build/samplerobot-interface.l
-- +++ processing catkin package: 'hrpsys_gazebo_tutorials'
-- ==> add_subdirectory(rtm-ros-robotics/rtmros_tutorials/hrpsys_gazebo_tutorials)
-- Using these message generators: gencpp;geneus;genlisp;genpy
CMake Error at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:75 (find_package):
  Could not find a package configuration file provided by
  "hrpsys_gazebo_general" with any of the following names:

    hrpsys_gazebo_generalConfig.cmake
    hrpsys_gazebo_general-config.cmake

  Add the installation prefix of "hrpsys_gazebo_general" to CMAKE_PREFIX_PATH
  or set "hrpsys_gazebo_general_DIR" to a directory containing one of the
  above files.  If "hrpsys_gazebo_general" provides a separate development
  package or SDK, be sure it has been installed.
Call Stack (most recent call first):
  rtm-ros-robotics/rtmros_tutorials/hrpsys_gazebo_tutorials/CMakeLists.txt:4 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/kahn/ros/ws_rtmros_tutorials/build/CMakeFiles/CMakeOutput.log".
See also "/home/kahn/ros/ws_rtmros_tutorials/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions