Ask Your Question
0

Failed rviz package installing on indigo with rasberry pi 2

asked 2015-05-04 22:13:29 -0500

yuwang gravatar image

Hi there!

I am new to ROS community and currently building indigo from source on raspberry(wheezy) with my raspberry 2. I have been following the Installing ROS Indigo on Raspberry Pi and am having trouble with building rviz package. on the step 2.3 Building the catkin Workspace Ps:By the way, I apply the path

my log as following: Ps:for easy to see, i delete some warning,they all look like " Warning: swp{b} use is deprecated for ARMv6 and ARMv7"

==> Processing catkin package: 'rviz'
==> Creating build directory: 'build_isolated/rviz'
==> Building with env: '/opt/ros/indigo/env.sh'
==> cmake /home/pi/ros_catkin_ws/src/rviz -DCATKIN_DEVEL_PREFIX=/home/pi/ros_catkin_ws/devel_isolated/rviz -DCMAKE_INSTALL_PREFIX=/opt/ros/indigo -DCMAKE_BUILD_TYPE=Release -G Unix Makefiles in '/home/pi/ros_catkin_ws/build_isolated/rviz'
-- The C compiler identification is GNU 4.6.3
-- The CXX compiler identification is GNU 4.6.3
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Boost version: 1.49.0
-- Found the following Boost libraries:
--   filesystem
--   program_options
--   signals
--   system
--   thread
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") 
-- checking for module 'assimp'
--   found assimp, version 3.0.1264
-- Assimp version has unified headers
-- checking for modules 'OGRE;OGRE-Overlay'
--   package 'OGRE-Overlay' not found
-- checking for module 'OGRE'
--   found OGRE, version 1.7.4
-- OGRE_PLUGIN_PATH=/usr/lib/arm-linux-gnueabihf/OGRE-1.7.4
-- Looking for XOpenDisplay in /usr/lib/arm-linux-gnueabihf/libX11.so;/usr/lib/arm-linux-gnueabihf/libXext.so
-- Looking for XOpenDisplay in /usr/lib/arm-linux-gnueabihf/libX11.so;/usr/lib/arm-linux-gnueabihf/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/arm-linux-gnueabihf/libX11.so
-- Found OpenGL: /usr/lib/arm-linux-gnueabihf/libGL.so  
-- Found PythonLibs: /usr/lib/python3.2/config/libpython3.2.so (found version "2.7.3") 
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt4: /usr/bin/qmake (found version "4.8.2") 
-- Using CATKIN_DEVEL_PREFIX: /home/pi/ros_catkin_ws/devel_isolated/rviz
-- Using CMAKE_PREFIX_PATH: /opt/ros/indigo
-- This workspace overlays: /opt/ros/indigo
-- Found PythonInterp: /usr/bin/python (found version "2.7.3") 
-- 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/pi/ros_catkin_ws/build_isolated/rviz/test_results
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found.
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-05-05 21:56:46 -0500

yuwang gravatar image

updated 2015-05-05 22:08:43 -0500

I find the solution by myself, if anyone get this like me,just use

$ sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --make -j2 -l2 --install-space /opt/ros/indigo

just add --make -j2 -l2, then you will fix it.

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

Stats

Asked: 2015-05-04 22:13:29 -0500

Seen: 550 times

Last updated: May 05 '15