Ask Your Question
0

Knowrob installation: failed to process package 'json_prolog_msgs'

asked 2015-01-23 04:02:02 -0500

Alexey Reshetnyak gravatar image

The folowing error occured during installation KnowRob according to this instruction:

CMake Error at /home/al/ros_catkin_ws/devel_isolated/catkin/share/catkin/cmake/catkinConfig.cmake:75 (find_package):
  Could not find a package configuration file provided by "roscpp" with any
  of the following names:

    roscppConfig.cmake
    roscpp-config.cmake

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


-- Configuring incomplete, errors occurred!
See also "/home/al/ros_catkin_ws/build_isolated/json_prolog_msgs/CMakeFiles/CMakeOutput.log".
See also "/home/al/ros_catkin_ws/build_isolated/json_prolog_msgs/CMakeFiles/CMakeError.log".
<== Failed to process package 'json_prolog_msgs': 
  Command '/home/al/ros_catkin_ws/devel_isolated/message_generation/env.sh cmake /home/al/ros_catkin_ws/src/stacks/knowrob/json_prolog_msgs -DCATKIN_DEVEL_PREFIX=/home/al/ros_catkin_ws/devel_isolated/json_prolog_msgs -DCMAKE_INSTALL_PREFIX=/home/al/ros_catkin_ws/install_isolated -G Unix Makefiles' returned non-zero exit status 1

Instalation Indigo from sources according to this tutorial on Ubuntu 14.04 was successfull. May be somehow it's related with rosjava configuration?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2015-01-23 06:54:16 -0500

moritz gravatar image

Just to be sure, 'roscd roscpp' does work for you? And you have sourced all setup.bash-es as needed?

I've had similar issues, though related to messages that catkin thought to be defined twice after I've installed rosjava from source into my workspace. What worked for me was to install rosjava into a separate catkin workspace, i.e. to chain two workspaces as described here. My layout was thus

~/ros/system_pkgs/src/rosjava etc <-- refers to /opt/ros/indigo/...
~/ros/custom_pkgs/src/knowrob etc <-- refers to system_pkgs workspace
edit flag offensive delete link more

Comments

Thank you! But it solves problem only particularly. After a command source ~/ros_catkin_ws/devel/setup.bash error with roscpp dissapeared. And I got new error about rosjava. I posted a new question.

Alexey Reshetnyak gravatar image Alexey Reshetnyak  ( 2015-01-23 11:05:49 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2015-01-23 04:02:02 -0500

Seen: 1,232 times

Last updated: Jan 23 '15