how to add the installation prefix of "console_bridge" to CMAKE_PREFIX_PATH [closed]

asked 2018-05-31 02:00:36 -0500

Soumya gravatar image

updated 2018-05-31 02:51:28 -0500

gvdhoorn gravatar image

Hi... I am new to Linux & ROS. Please help me.

CMake Error at CMakeLists.txt:11 (find_package):
  By not providing "Findconsole_bridge.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "console_bridge", but CMake did not find one.

  Could not find a package configuration file provided by "console_bridge"
  with any of the following names:

    console_bridgeConfig.cmake
    console_bridge-config.cmake

  Add the installation prefix of "console_bridge" to CMAKE_PREFIX_PATH or set
  "console_bridge_DIR" to a directory containing one of the above files.  If
  "console_bridge" provides a separate development package or SDK, be sure it
  has been installed.


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

Reproduce this error by running:
==> cd /home/debian/ros_catkin_ws/build_isolated/class_loader && /home/debian/ros_catkin_ws/devel_isolated/cmake_modules/env.sh cmake /home/debian/ros_catkin_ws/src/class_loader -DCATKIN_DEVEL_PREFIX=/home/debian/ros_catkin_ws/devel_isolated/class_loader -DCMAKE_INSTALL_PREFIX=/home/debian/ros_catkin_ws/install_isolated -G 'Unix Makefiles'

Command failed, exiting.
debian@beaglebone:~/ros_catkin_ws$ git clone git://github.com/ros/console_bridge.git
fatal: destination path 'console_bridge' already exists and is not an empty directory.
debian@beaglebone:~/ros_catkin_ws$
edit retag flag offensive reopen merge delete

Closed for the following reason Question does not follow our guidelines for questions. Please see: http://wiki.ros.org/Support for more details. by 130s
close date 2021-09-08 07:31:56.718862

Comments

2

I am new to Linux & ROS. Please help me.

we know that. Please don't add "please help me" to questions. It won't get you answers sooner and you wouldn't be posting here if you weren't looking for help.

gvdhoorn gravatar image gvdhoorn  ( 2018-05-31 02:52:06 -0500 )edit
1

Your question is lacking all context: what are you trying to do exactly? What documentation / readmes / tutorials are you following? For what platforms, which OS? etc, etc, etc.

gvdhoorn gravatar image gvdhoorn  ( 2018-05-31 02:52:46 -0500 )edit

We need more context, as @gvdhoorn said. I would still hazard a guess a say that you are getting that error while cross-building ROS from source, correct?

jotator gravatar image jotator  ( 2018-05-31 03:12:45 -0500 )edit