Ask Your Question
0 failing on console_bridge

asked 2016-02-10 19:24:12 -0500

bd gravatar image

updated 2016-02-11 03:09:16 -0500

gvdhoorn gravatar image

I'm following the instructions for setting up ROS for Android found here. I'm installed this on Ubuntu 14.04. I've got this issue on a system with Android NDK/SDK already setup as well as a clean install of Ubuntu.

After some time the failure is CMake looking for console_bridge package at /usr/share/console_bridge which does not exist. I've tried finding info regarding this failure and installing console_bridge but at the moment I'm stumped.

After some time fails with the following output:

-- ==> add_subdirectory(class_loader)
-- Boost version: 1.53.0
-- Found the following Boost libraries:
--   thread
--   system
CMake Error at /usr/share/console_bridge/cmake/console_bridge-config.cmake:12 (message):
  Library 'console_bridge' in package console_bridge is not installed
Call Stack (most recent call first):
  class_loader/CMakeLists.txt:6 (find_package)

-- Configuring incomplete, errors occurred!
See also "/opt/roscpp_output/catkin_ws/build/CMakeFiles/CMakeOutput.log".
Invoking "cmake" failed


make: *** No rule to make target `install'.  Stop. /opt/roscpp_output died with error code 2
rob@rob-VirtualBox:~/ros-android-ndk/roscpp_android$ sudo apt-get install console-bridge
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package console-bridge
rob@rob-VirtualBox:~/ros-android-ndk/roscpp_android$ sudo apt-get install console_bridge
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package console_bridge

Edit: I dug further through the logs. Looks like console_bridge is failing to compile:

/opt/roscpp_output/libs/console_bridge/src/console.cpp:60:5: error: 'mutex' in namespace 'std' does not name a type
/opt/roscpp_output/libs/console_bridge/src/console.cpp: In function 'void console_bridge::noOutputHandler()':
/opt/roscpp_output/libs/console_bridge/src/console.cpp:83:43: error: 'lock_guard' is not a member of 'std'
/opt/roscpp_output/libs/console_bridge/src/console.cpp:83:59: error: 'mutex' is not a member of 'std'
/opt/roscpp_output/libs/console_bridge/src/console.cpp:83:87: error: 'struct DefaultOutputHandler' has no member named
edit retag flag offensive close merge delete


Please don't use answers to post updates (this is not a forum), edit your original question for that (use the edit link/button for that). I've already merged your answer into your question, but please keep it in mind next time.

gvdhoorn gravatar image gvdhoorn  ( 2016-02-11 03:10:23 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-04-26 11:36:09 -0500

Sorry for the delay, I've just seen this.

We've already fixed that issue (here), it turns out, console_bridge move from using boost to using std C++11 mutex which is not currently available for the android_ndk.

If you update the repository, it should work.

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

1 follower


Asked: 2016-02-10 19:22:09 -0500

Seen: 266 times

Last updated: Apr 26 '16