ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

LucaGhera's profile - activity

2015-09-18 18:45:12 -0500 marked best answer How to test packages with Groovy Beta?

I would like to test some of my packages with Groovy Beta under Ubuntu 12.10.

I followed the instructions reported here, however it seems to be incomplete. Especially, what does mean:

Make sure you have re-indexed the ROS.org server

I tried to setup the sources list in the following way, however when I type sudo apt-get install ros-... it doesn't found any ros package.

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu quantal main" > /etc/apt/sources.list.d/ros-latest.list

I tried to access http://packages.ros.org/ros/ubuntu/quantal/main and the distros seems to be there.

How can I install Groovy beta?

2015-06-03 01:45:07 -0500 received badge  Good Question (source)
2014-09-08 12:58:13 -0500 commented question rviz crashes on indigo /osx due to serializer implementation

@William is there a fix for this? Thanks!

2014-01-28 17:27:35 -0500 marked best answer Rviz build fails under Osx, ROS fuerte

Hi all,

I'm trying to compile Rviz under Osx Lion. I'm using Homebrew as package manager and I'm following the instruction reported on the ROS wiki.

After having fixed some problems during the compilation, I can't fix the following one. Please find below the compilation log.

How can I fix it?

To be noticed that if I try to run rviz it starts.

Thanks!

mkdir -p bin
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake  ..
[rosbuild] Building package rviz
[rosbuild] Including /opt/ros/fuerte/share/roscpp/rosbuild/roscpp.cmake
[rosbuild] Including /opt/ros/fuerte/share/common-lisp/ros/roslisp/rosbuild/roslisp.cmake
[rosbuild] Including /opt/ros/fuerte/share/rospy/rosbuild/rospy.cmake
WARN, found multiple boost versions '[(1, 49, 0, '/usr/local', '/usr/local/include', True, True), (1, 49, 0, '/usr/local', '/usr/local/include', True, True), (1, 49, 0, '/usr/local', '/usr/local/include', True, True)]', using latestWARN, found multiple boost versions '[(1, 49, 0, '/usr/local', '/usr/local/include', True, True), (1, 49, 0, '/usr/local', '/usr/local/include', True, True), (1, 49, 0, '/usr/local', '/usr/local/include', True, True)]', using latestCMake Warning at /opt/ros/fuerte/share/ros/core/rosbuild/public.cmake:595 (message):
  GTest not found; C++ tests will fail to build.
Call Stack (most recent call first):
  /opt/ros/fuerte/share/ros/core/rosbuild/private.cmake:124 (rosbuild_add_gtest_build_flags)
  /opt/ros/fuerte/share/ros/core/rosbuild/public.cmake:625 (_rosbuild_add_gtest)
  src/test/CMakeLists.txt:1 (rosbuild_add_gtest)


CMake Warning at /opt/ros/fuerte/share/ros/core/rosbuild/public.cmake:595 (message):
  GTest not found; C++ tests will fail to build.
Call Stack (most recent call first):
  /opt/ros/fuerte/share/ros/core/rosbuild/private.cmake:124 (rosbuild_add_gtest_build_flags)
  /opt/ros/fuerte/share/ros/core/rosbuild/public.cmake:625 (_rosbuild_add_gtest)
  src/test/CMakeLists.txt:17 (rosbuild_add_gtest)


[rosbuild] Couldn't find source file /Users/luca/Software/ros/fuerte/ros-stacks/visualization/rviz/build/src/test/moc_ros_spinner.cxx; assuming that it is in /Users/luca/Software/ros/fuerte/ros-stacks/visualization/rviz/src/test and will be generated later
CMake Warning at /opt/ros/fuerte/share/ros/core/rosbuild/public.cmake:595 (message):
  GTest not found; C++ tests will fail to build.
Call Stack (most recent call first):
  /opt/ros/fuerte/share/ros/core/rosbuild/private.cmake:124 (rosbuild_add_gtest_build_flags)
  /opt/ros/fuerte/share/ros/core/rosbuild/public.cmake:625 (_rosbuild_add_gtest)
  src/test/CMakeLists.txt:48 (rosbuild_add_gtest)


[rosbuild] Couldn't find source file /Users/luca/Software/ros/fuerte/ros-stacks/visualization/rviz/build/src/test/moc_connect_test.cxx; assuming that it is in /Users/luca/Software/ros/fuerte/ros-stacks/visualization/rviz/src/test and will be generated later
CMake Warning at /opt/ros/fuerte/share/ros/core/rosbuild/public.cmake:595 (message):
  GTest not found; C++ tests will fail to build.
Call Stack (most recent call first):
  /opt/ros/fuerte/share/ros/core/rosbuild/private.cmake:124 (rosbuild_add_gtest_build_flags)
  /opt/ros/fuerte/share/ros/core/rosbuild/public.cmake:625 (_rosbuild_add_gtest)
  src/test/CMakeLists.txt:66 (rosbuild_add_gtest)


[rosbuild] Couldn't find source ...
(more)
2014-01-28 17:26:03 -0500 marked best answer Rviz fuerte and master electric

Hi all,

I have a robot which is running ROS electric. On my macbook pro instead I have compiled Rviz fuerte (under osx Lion).

I set the ROS_MASTER on my mac and I'm able to communicate with the ROS Master. Now on rViz I'm can read all the topics (so I see the robot moving, the laser scans and so on). I can also read the topics by means of rostopic echo.

However I can't write on topics. More in details:

  • When I send a 2D nav goal from Lion I can see the message with rostopic on my mac but not on the robot.
  • If I try to send a 2D nav goal from ubuntu in virtual machine (still on my mac) I can see the message with rostopic on the robot by not on Lion.

Is it a known bug? Or isn't possible to have rviz (fuerte) working with rosmaster (electric)?

Thanks!

2014-01-28 17:25:40 -0500 marked best answer What's the state machine of DriverNode?

Hi all,

I'm looking at the hokuyo node. As far as I understood the class HokuyoDriver extends driver_base::Driver which provides the methods

  • doOpen
  • doClose
  • doStart
  • doStop

The class HokuyoNode instead extends driver_base::DriverNode<hokuyodriver>. However in the code I cannot find how this node calls the methods doXYZ of the HokuyoDriver. In other words I would like to understand the (implicit or explicit) state machine of driver_base::DriverNode and when the methods doXYZ are called.

2014-01-28 17:24:58 -0500 marked best answer rosdep install doesn't find libgstreamer-plugins-base0.10-dev

Hi all,

I'm developing my stacks in which I have a certain package that depends on gstreamer. I need to install this libraries:

  • libgstreamer0.10-dev
  • libgstreamer-plugins-base0.10-dev

I defined this dependencies both in manifest.xml and rosdep.yaml (is this correct?). However on some PCs, all of them with Ubuntu 11.10, rosdep-install fails with the following output:

.../RGBCamera$ rosdep install RGBCamera
Failed to find rosdep libgstreamer-plugins-base0.10-dev for package RGBCamera on OS:ubuntu version:oneiric
rosdep install ERROR:
failed to install libgstreamer-plugins-base0.10-dev

This is the content of manifest.xml

<package>
    <description brief="RGB Camera">
        This package contains the dirver for the RGB Camera
    </description>
    <rosdep name="libgstreamer0.10-dev"/>
    <rosdep name="libgstreamer-plugins-base0.10-dev"/>
    <depend package="rtt"/>
    <depend package="ocl"/>
    <depend package="rtt_sensor_msgs"/>
</package>

This is the content of rosdep.yaml

libgstreamer0.10-dev:
  ubuntu:
    oneiric: 
      apt:
        packages: libgstreamer0.10-dev
libgstreamer-plugins-base0.10-dev:
  ubuntu:
    oneiric: 
      apt:
        packages: libgstreamer-plugins-base0.10-dev

What's the problem here?

Thanks!

2014-01-28 17:24:39 -0500 marked best answer Messages for velocity and acceleration

Hi all,

is there a message which contains linear and rotational velocities and accelerations on the three axis?

I toke a look in the geometry and navigation messages but I didn't find what I need.

I'm looking for something similar to geometry_msgs::Twist + accelerations.

Thanks!

2014-01-28 17:23:32 -0500 marked best answer Rosaria connection through USB adapter

Hi all,

I'm trying to define an Orocos component for controlling the movement of a Pioneer3dx.

For doing that I installed the Orocos and ROSARIA stacks.

Now the problem is that I cannot connect to my robot. It is connected to the pc through and USB adapter and the aria library looks by default for the serial port.

I tried to use these coomands:

ArSerialConnection serialCon;
serialCon.setPort("/dev/ttyUSB0");
robot.setDeviceConnection(&serialCon);

However the application still locks for the serial port and not for the usb. How can I fix it?

Thanks!!

2014-01-28 17:23:31 -0500 marked best answer rgdslam linking error

Hi all,

I'm trying to build rgbdslam under ubuntu 11.10 and ros electric. I'm following these instructions (point 2).

However it fails with the following error:

[100%] Building CXX object CMakeFiles/rgbdslam.dir/src/moc_ros_service_ui.o
Linking CXX executable ../bin/rgbdslam
/usr/bin/ld: CMakeFiles/rgbdslam.dir/src/graph_manager.o: undefined reference to symbol 'g2o::MatrixStructure::~MatrixStructure()'
/usr/bin/ld: note: 'g2o::MatrixStructure::~MatrixStructure()' is defined in DSO /home/serl-3d/Software/ros-stacks/g2o/lib//libg2o_core.so so try adding it to the linker command line
/home/serl-3d/Software/ros-stacks/g2o/lib//libg2o_core.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[3]: *** [../bin/rgbdslam] Error 1
make[3]: Leaving directory `/home/serl-3d/Software/ros-stacks/rgbdslam/build'
make[2]: *** [CMakeFiles/rgbdslam.dir/all] Error 2
make[2]: Leaving directory `/home/serl-3d/Software/ros-stacks/rgbdslam/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/serl-3d/Software/ros-stacks/rgbdslam/build'
make: *** [all] Error 2

How can I fix it?

Thanks

2014-01-28 17:23:22 -0500 marked best answer rxtools fails under osx Lion and HomeBrew

Hi all,

I'm following the tutorial reported here in order to install ROS on my MacBook pro with Lion.

I succeed in the installation of the basic stacks but now I'm blocked with Rviz. When I try to rosmake it the compilation of rxtools fails with the following error:

 -- Build files have been written to: /Users/luca/Software/ros/electric/rx/rxtools/build
  cd build && make -l8
  Scanning dependencies of target rospack_genmsg_libexe
  [  0%] Built target rospack_genmsg_libexe
  Scanning dependencies of target rosbuild_precompile
  [  0%] Built target rosbuild_precompile
  Scanning dependencies of target rxtools
  [  5%] Building CXX object CMakeFiles/rxtools.dir/src/rxtools/topic_display.o
  [ 11%] Building CXX object CMakeFiles/rxtools.dir/src/rxtools/topic_display_generated.o
  [ 16%] Building CXX object CMakeFiles/rxtools.dir/src/rxtools/topic_display_dialog.o
  [ 22%] Building CXX object CMakeFiles/rxtools.dir/src/rxtools/rosout_generated.o
  [ 27%] Building CXX object CMakeFiles/rxtools.dir/src/rxtools/rosout_panel.o
  [ 33%] Building CXX object CMakeFiles/rxtools.dir/src/rxtools/rosout_filter.o
  [ 38%] Building CXX object CMakeFiles/rxtools.dir/src/rxtools/rosout_text_filter.o
  [ 44%] Building CXX object CMakeFiles/rxtools.dir/src/rxtools/rosout_text_filter_control.o
  [ 50%] Building CXX object CMakeFiles/rxtools.dir/src/rxtools/rosout_severity_filter.o
  [ 55%] Building CXX object CMakeFiles/rxtools.dir/src/rxtools/rosout_severity_filter_control.o
  [ 61%] Building CXX object CMakeFiles/rxtools.dir/src/rxtools/rosout_list_control.o
  [ 66%] Building CXX object CMakeFiles/rxtools.dir/src/rxtools/rosout_setup_dialog.o
  /Users/luca/Software/ros/electric/rx/rxtools/src/rxtools/rosout_setup_dialog.cpp: In member function ‘virtual void rxtools::RosoutSetupDialog::onTopicBrowse(wxCommandEvent&)’:
  /Users/luca/Software/ros/electric/rx/rxtools/src/rxtools/rosout_setup_dialog.cpp:74: warning: ‘__s_getDataType’ is deprecated (declared at /Users/luca/Software/ros/electric/ros_comm/messages/rosgraph_msgs/msg_gen/cpp/include/rosgraph_msgs/Log.h:86)
  [ 72%] Building CXX object CMakeFiles/rxtools.dir/src/rxtools/logger_level_panel.o
  [ 77%] Building CXX object CMakeFiles/rxtools.dir/src/rxtools/init_roscpp.o
  Linking CXX shared library ../lib/librxtools.dylib
  ld: warning: ignoring file /Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks//QuickTime.framework/QuickTime, file was built for unsupported file format which is not the architecture being linked (x86_64)
  Undefined symbols for architecture x86_64:
    "wxRichTextCtrl::wxRichTextCtrl(wxWindow*, int, wxString const&, wxPoint const&, wxSize const&, long, wxValidator const&, wxString const&)", referenced from:
        rxtools::TextboxDialog::TextboxDialog(wxWindow*, int, wxString const&, wxPoint const&, wxSize const&, long)in rosout_generated.o
    "wxRichTextBuffer::BeginBold()", referenced from:
        rxtools::RosoutListControl::onItemActivated(wxListEvent&)       in rosout_list_control.o
    "wxRichTextBuffer::BeginTextColour(wxColour const&)", referenced from:
        rxtools::RosoutListControl::onItemActivated(wxListEvent&)       in rosout_list_control.o
    "wxRichTextCtrl::ms_classInfo", referenced from:
        rxtools::TextboxDialog::onChar(wxKeyEvent&)      in rosout_list_control.o
  ld: symbol(s) not found for architecture x86_64
  collect2: ld returned 1 exit status
  make[3]: *** [../lib/librxtools.dylib] Error 1
  make[2]: *** [CMakeFiles/rxtools.dir/all] Error 2
  make[1]: *** [all] Error 2

How can I fix it? Thanks!

2014-01-28 17:23:18 -0500 marked best answer Rosdep fails and blocks the shell

Hi all,

I have some troubles with rosdep under Osx Lion. It is not able to find the dependencies I need...some examples are eigen and tinyxml. In installed both of them through macport (I prefer to use it instead of Homebrew) and I modified my .profile in this way:

export CPATH=/opt/local/include:/usr/local/include
export LIBRARY_PATH=/opt/local/lib:/usr/local/lib:/usr/lib/
export LD_LIBRARY_PATH=/opt/local/lib:/usr/local/lib
export DYLD_FALLBACK_LIBRARY_PATH=$DYLD_FALLBACK_LIBRARY_PATH:/opt/local/lib:/opt/local/Library/Frameworks:/usr/local/lib:/usr/lib/

Furthermore when I execute

rosdep -install geometry

it blocks my shell and I have to reset it for being able to prompt commands again. Sometimes this problems also leaves a running process, called tclsh8.5 which uses a lot of CPU.

How can I fix it?

2014-01-28 17:23:17 -0500 marked best answer Rosmake rosconsole fail on OSx Lion

Hi all,

I'm trying building ros under osx Lion by following the tutorial reported on the ROS website. I have installed macports and the latest version of XCode.

I applied the patch reported here: https://code.ros.org/trac/ros/ticket/3626 Otherwise the compilation of rosconsole still fails with the following error:

mkdir -p bin
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake  ..
[rosbuild] Building package rosconsole
[rosbuild] Including /Users/luca/Software/ros/electric/ros_comm/clients/roslisp/cmake/roslisp.cmake
[rosbuild] Including /Users/luca/Software/ros/electric/ros_comm/clients/rospy/cmake/rospy.cmake
[rosbuild] Including /Users/luca/Software/ros/electric/ros_comm/clients/cpp/roscpp/cmake/roscpp.cmake
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_TOOLCHAIN_FILE


-- Build files have been written to: /Users/luca/Software/ros/electric/ros_comm/tools/rosconsole/build
cd build && make -l8
[  0%] Built target rospack_genmsg_libexe
[  0%] Built target rosbuild_precompile
Linking CXX shared library ../lib/librosconsole.dylib
clang: warning: argument unused during compilation: '-pthread'
ld: library not found for -llog4cxx
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [../lib/librosconsole.dylib] Error 1
make[2]: *** [CMakeFiles/rosconsole.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2

It seems that it is not able to find log4cxx. Otherwise it is installed through macport and the .profile file is configured for seeing it. This is my .profile:

# MacPorts Installer addition on 2011-10-21_at_13:20:04: adding an appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.

# ROS
source /Users/luca/Software/ros/electric/setup.bash
[ -f ~/.git-bash-completion.sh ] && . ~/.git-bash-completion.sh

# define colors
export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad

export CPATH=/opt/local/include:/usr/local/include
export LIBRARY_PATH=/opt/local/lib:/usr/local/lib:/usr/lib/
export LD_LIBRARY_PATH=/opt/local/lib:/usr/local/lib
export DYLD_FALLBACK_LIBRARY_PATH=$DYLD_FALLBACK_LIBRARY_PATH:/opt/local/lib:/opt/local/Library/Frameworks:/usr/local/lib:/usr/lib/

Is there a know solution?

Thanks!

2014-01-28 17:23:17 -0500 marked best answer Error building nodelet under osx Lion

Hi,

I'm trying to install the Openni_camera stak in Osx Lion. Unfortunately I have a problem building nodelet. Please find below the log.

It seems to be a problem of dependency with tinyxml:

Lucas-MacBook-Pro:nodelet luca$ rosmake --rosdep-install
[ rosmake ] No package specified.  Building ['nodelet']                                                             
[ rosmake ] Packages requested are: ['nodelet']                                                                     
[ rosmake ] Logging to directory/Users/luca/.ros/rosmake/rosmake_output-20111205-115042                             
[ rosmake ] Expanded args ['nodelet'] to:
['nodelet']                                                               
[ rosmake ] Generating Install Script using rosdep then executing. This may take a minute, you will be prompted for permissions. . .
Failed to find rosdep tinyxml for package nodelet on OS:osx version:lion
[ rosmake ] rosdep install failed: Rosdep install failed

However tinyxml is installed through MacPort.

Is there a known solution? Thanks.

This is the log of rosmake nodelet (compiled with clang):

mkdir -p bin
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake  ..
[rosbuild] Building package nodelet
[rosbuild] Including /Users/luca/Software/ros/electric/ros_comm/clients/roslisp/cmake/roslisp.cmake
[rosbuild] Including /Users/luca/Software/ros/electric/ros_comm/clients/rospy/cmake/rospy.cmake
[rosbuild] Including /Users/luca/Software/ros/electric/ros_comm/clients/cpp/roscpp/cmake/roscpp.cmake
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_TOOLCHAIN_FILE


-- Build files have been written to: /Users/luca/Software/ros/electric/nodelet_core/nodelet/build
cd build && make -l8
[  0%] Built target rospack_genmsg_libexe
[  0%] Built target rosbuild_premsgsrvgen
[ 20%] Built target ROSBUILD_gensrv_cpp
[ 40%] Built target ROSBUILD_gensrv_lisp
[ 66%] Built target ROSBUILD_gensrv_py
[ 66%] Built target rospack_gensrv
[ 66%] Built target rosbuild_precompile
[ 73%] Building CXX object CMakeFiles/nodeletlib.dir/src/loader.o
In file included from /Users/luca/Software/ros/electric/nodelet_core/nodelet/src/loader.cpp:30:
In file included from /Users/luca/Software/ros/electric/nodelet_core/nodelet/include/nodelet/loader.h:43:
/Users/luca/Software/ros/electric/bond_core/bondcpp/include/bondcpp/bond.h:172:1: warning: 'BondSM' defined as a struct here but previously declared as a class [-Wmismatched-tags]
struct BondSM
^
/Users/luca/Software/ros/electric/bond_core/bondcpp/include/BondSM_sm.h:25:1: note: did you mean struct here?
class BondSM;
^~~~~
struct
In file included from /Users/luca/Software/ros/electric/nodelet_core/nodelet/src/loader.cpp:32:
/Users/luca/Software/ros/electric/nodelet_core/nodelet/include/nodelet/detail/callback_queue_manager.h:76:3: warning: class 'ThreadInfo' was previously declared as a struct [-Wmismatched-tags]
  class ThreadInfo;
  ^
/Users/luca/Software/ros/electric/nodelet_core/nodelet/include/nodelet/detail/callback_queue_manager.h:73:10: note: previous use is here
  struct ThreadInfo;
         ^
/Users/luca/Software/ros/electric/nodelet_core/nodelet/include/nodelet/detail/callback_queue_manager.h:109:3: warning: 'ThreadInfo' defined as a struct here but previously declared as a class [-Wmismatched-tags]
  struct ThreadInfo
  ^
/Users/luca/Software/ros/electric/nodelet_core/nodelet/include/nodelet/detail/callback_queue_manager.h:76:3: note: did you mean struct here?
  class ThreadInfo;
  ^~~~~
  struct
In file included from /Users/luca/Software/ros/electric/nodelet_core/nodelet/src/loader.cpp:33:
In file included from /Users/luca/Software/ros/electric/pluginlib/include/pluginlib/class_loader.h:237:
/Users/luca/Software/ros/electric/pluginlib/include/pluginlib/class_loader_imp.h:62:16: error: no matching member function for call to ...
(more)
2014-01-28 17:22:40 -0500 marked best answer Error building geometry stack in OSX

Hi all,

I'm trying to build the geometry stack on osx Lion bu I got the following error during the building of Eigen:

mkdir -p build
if [ ! -f eigen-3.0prebeta3.tar.bz2.md5sum ]; then echo "Error: Couldn't find md5sum file eigen-3.0prebeta3.tar.bz2.md5sum" && false; fi
`rospack find rosbuild`/bin/download_checkmd5.py https://code.ros.org/svn/release/download/thirdparty/eigen/eigen-3.0prebeta3.tar.bz2 build/eigen-3.0prebeta3.tar.bz2 `awk {'print $1'} eigen-3.0prebeta3.tar.bz2.md5sum`
[rosbuild] Downloading https://code.ros.org/svn/release/download/thirdparty/eigen/eigen-3.0prebeta3.tar.bz2 to build/eigen-3.0prebeta3.tar.bz2...Traceback (most recent call last):
  File "/Users/luca/Software/ros/ros/core/rosbuild/bin/download_checkmd5.py", line 56, in <module>
    sys.exit(main())
  File "/Users/luca/Software/ros/ros/core/rosbuild/bin/download_checkmd5.py", line 28, in main
    urllib.urlretrieve(uri, dest)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib.py", line 93, in urlretrieve
    return _urlopener.retrieve(url, filename, reporthook, data)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib.py", line 239, in retrieve
    fp = self.open(url, data)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib.py", line 204, in open
    return self.open_unknown(fullurl, data)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib.py", line 216, in open_unknown
    raise IOError, ('url error', 'unknown url type', type)
IOError: [Errno url error] unknown url type: 'https'
make: *** [build/eigen/unpacked] Error 1

Do you know how I can fix it? I read somewhere that I should switch to urllib2 but I don't know how to do it.

Thanks

2014-01-28 17:22:39 -0500 marked best answer Building Ogre fails on Osx Lion

Hi all,

I'm trying to install rviz on my mac book. I installed all the dependencies, in particular wxWidgets-python and py26-wxpython by using the variant +gtk (I had done it because I needed it for compiling PCL, wihch require wxgtk. I found out that wxWidgets-python +gtk is good too). I also installed the nvidia-cg-toolkit by using the installer download from here.

Now, when I try to build Ogre it returns me the following error:

macbook-di-luca:ogre luca$ rosmake --rosdep-install --pre-clean 
[ rosmake ] No package specified.  Building ['ogre']                                                                                             
[ rosmake ] Packages requested are: ['ogre']                                                                                                     
[ rosmake ] Logging to directory/Users/luca/.ros/rosmake/rosmake_output-20110825-111203                                                          
[ rosmake ] Expanded args ['ogre'] to:
['ogre']                                                                                                  
[ rosmake ] Generating Install Script using rosdep then executing. This may take a minute, you will be prompted for permissions. . .             
Failed to find rosdep nvidia-cg for package ogre on OS:macports version:macports
WARNING: Rosdeps [u'nvidia-cg'] could not be resolved
rosdep executing this script:
{{{
set -o errexit
#No packages to install
}}}
[ rosmake ] rosdep successfully installed all system dependencies                                                                                
[rosmake-0] Starting >>> ogre [ make clean ]                                                                                                     
[rosmake-0] Finished <<< ogre [PASS] [ 54.18 seconds ]                                                                                           
[ rosmake ] Starting >>> tools/rospack                                                                                                           
[ rosmake ] Finished <<< tools/rospack                                                                                                           
[rosmake-0] Starting >>> ogre [ make ]                                                                                                           
[ rosmake ] Last 40 linesre: 928.2 sec ]                                                                                [ 1 Active 0/1 Complete ]
{-------------------------------------------------------------------------------
  -- Installing: /Users/luca/Software/ros/diamondback/visualization_common/ogre/ogre/include/OGRE/RTShaderSystem/OgreShaderMaterialSerializerListener.h
  -- Installing: /Users/luca/Software/ros/diamondback/visualization_common/ogre/ogre/include/OGRE/RTShaderSystem/OgreShaderProgramProcessor.h
  -- Installing: /Users/luca/Software/ros/diamondback/visualization_common/ogre/ogre/include/OGRE/RTShaderSystem/OgreShaderCGProgramProcessor.h
  -- Installing: /Users/luca/Software/ros/diamondback/visualization_common/ogre/ogre/include/OGRE/RTShaderSystem/OgreShaderCGProgramWriter.h
  -- Installing: /Users/luca/Software/ros/diamondback/visualization_common/ogre/ogre/include/OGRE/RTShaderSystem/OgreShaderGLSLProgramProcessor.h
  -- Installing: /Users/luca/Software/ros/diamondback/visualization_common/ogre/ogre/include/OGRE/RTShaderSystem/OgreShaderGLSLProgramWriter.h
  -- Installing: /Users/luca/Software/ros/diamondback/visualization_common/ogre/ogre/include/OGRE/RTShaderSystem/OgreShaderProgramWriterManager.h
  -- Installing: /Users/luca/Software/ros/diamondback/visualization_common/ogre/ogre/include/OGRE/RTShaderSystem/OgreShaderHLSLProgramProcessor.h
  -- Installing: /Users/luca/Software/ros/diamondback/visualization_common/ogre/ogre/include/OGRE/RTShaderSystem/OgreShaderHLSLProgramWriter.h
  -- Installing: /Users/luca/Software/ros/diamondback/visualization_common/ogre/ogre/include/OGRE/ExampleApplication.h
  -- Installing: /Users/luca/Software/ros/diamondback/visualization_common/ogre/ogre/include/OGRE/ExampleFrameListener.h
  -- Installing: /Users/luca/Software/ros/diamondback/visualization_common/ogre/ogre/include/OGRE/ExampleLoadingBar.h
  -- Installing: /Users/luca/Software/ros/diamondback/visualization_common/ogre/ogre/include/OGRE/FileSystemLayer.h
  -- Installing: /Users/luca/Software/ros/diamondback/visualization_common/ogre/ogre/include/OGRE/OgreStaticPluginLoader.h
  -- Installing: /Users/luca/Software/ros/diamondback/visualization_common/ogre/ogre/include/OGRE/Sample.h
  -- Installing: /Users/luca/Software/ros/diamondback/visualization_common/ogre/ogre/include/OGRE/SampleContext.h
  -- Installing: /Users/luca/Software/ros/diamondback/visualization_common/ogre/ogre/include/OGRE/SamplePlugin.h
  -- Installing: /Users/luca/Software/ros/diamondback/visualization_common/ogre/ogre/include/OGRE/SdkCameraMan.h
  -- Installing: /Users/luca/Software/ros/diamondback/visualization_common/ogre/ogre/include/OGRE/SdkSample.h
  -- Installing: /Users/luca/Software/ros/diamondback/visualization_common/ogre/ogre/include/OGRE/SdkTrays.h
  -- Installing: /Users/luca/Software/ros/diamondback/visualization_common/ogre/ogre/bin/OgreXMLConverter
  -- Installing: /Users/luca/Software/ros/diamondback/visualization_common/ogre/ogre/bin/OgreMeshUpgrader
  -- Installing: /Users/luca/Software/ros/diamondback/visualization_common/ogre ...
(more)
2014-01-28 17:22:38 -0500 marked best answer Compilation error building Rviz on OSX Lion

Hi all,

I'm trying to build rviz on Osx Lion. I found some errors along the path but I fixed it by replacing my old macports libraries with the corresponding universal version.

Otherwise at the moment I have a problem with yaml_cpp. Below you can see the log:

make -f Makefile wipe
rm -rf yaml-cpp build/yaml-cpp-0.2.5
cd build && make clean
/bin/sh: line 0: cd: build: No such file or directory
make[1]: [clean] Error 1 (ignored)
rm -rf build
touch wiped
mkdir -p build
if [ ! -f yaml-cpp-0.2.5.tar.gz.md5sum ]; then echo "Error: Couldn't find md5sum file yaml-cpp-0.2.5.tar.gz.md5sum" && false; fi
`rospack find rosbuild`/bin/download_checkmd5.py http://yaml-cpp.googlecode.com/files/yaml-cpp-0.2.5.tar.gz build/yaml-cpp-0.2.5.tar.gz `awk {'print $1'} yaml-cpp-0.2.5.tar.gz.md5sum`
[rosbuild] Downloading http://yaml-cpp.googlecode.com/files/yaml-cpp-0.2.5.tar.gz to build/yaml-cpp-0.2.5.tar.gz...Done
[rosbuild] Checking md5sum on build/yaml-cpp-0.2.5.tar.gz
touch -c build/yaml-cpp-0.2.5.tar.gz
rm -rf build/yaml-cpp-0.2.5 
cd build; tar -xzf  ../build/yaml-cpp-0.2.5.tar.gz
touch build/yaml-cpp-0.2.5/unpacked
cd build && cmake -DCMAKE_INSTALL_PREFIX=../yaml-cpp yaml-cpp-0.2.5
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- 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
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- 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
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/luca/Software/ros/common/yaml_cpp/build
cd build && make && make install
Scanning dependencies of target yaml-cpp
[  3%] Building CXX object CMakeFiles/yaml-cpp.dir/src/aliascontent.cpp.o
[  6%] Building CXX object CMakeFiles/yaml-cpp.dir/src/conversion.cpp.o
[ 10%] Building CXX object CMakeFiles/yaml-cpp.dir/src/emitter.cpp.o
[ 13%] Building CXX object CMakeFiles/yaml-cpp.dir/src/emitterstate.cpp.o
[ 17%] Building CXX object CMakeFiles/yaml-cpp.dir/src/emitterutils.cpp.o
[ 20%] Building CXX object CMakeFiles/yaml-cpp.dir/src/exp.cpp.o
[ 24%] Building CXX object CMakeFiles/yaml-cpp.dir/src/iterator.cpp.o
[ 27%] Building CXX object CMakeFiles/yaml-cpp.dir/src/map.cpp.o
[ 31%] Building CXX object CMakeFiles/yaml-cpp.dir/src/node.cpp.o
[ 34%] Building CXX object CMakeFiles/yaml-cpp.dir/src/null.cpp.o
[ 37%] Building CXX object CMakeFiles/yaml-cpp.dir/src/ostream.cpp.o
[ 41%] Building CXX object CMakeFiles/yaml-cpp.dir/src ...
(more)
2014-01-28 17:22:34 -0500 marked best answer Compiler Segmantion fault durint ROS installation on OSX Lion

Hi all,

I know that Osx is only "experimental" supported and that Lion is really new.

Despite that, I'm trying to install ROS on my machine. I'm following the guide on this page but I had a segmentation fault error.

The output is the following:

Bootstrapping ROS build
Detected ros_comm bootstrapping it too.
[ rosmake ] Packages requested are: ['ros', 'ros_comm']                                                                                         
[ rosmake ] Logging to directory/Users/luca/.ros/rosmake/rosmake_output-20110722-113953                                                         
[ rosmake ] Expanded args ['ros', 'ros_comm'] to:
['rosunit', 'rospack', 'rosmake', 'rosemacs', 'rosdep', 'roscreate', 'rosclean', 'rosboost_cfg', 'rosbash', 'test_rospack', 'test_rosmake', 'test_roslib', 'test_rosdep', 'test_roscreate', 'roslib', 'roslang', 'rosbuild', 'mk', 'xmlrpcpp', 'roswtf', 'rostime', 'message_filters', 'cpp_common', 'topic_tools', 'rostopic', 'rostest', 'rosservice', 'rosrecord', 'rosparam', 'rosout', 'rosnode', 'rosmsg', 'rosmaster', 'roslaunch', 'rosgraph', 'rosconsole', 'rosbagmigration', 'rosbag', 'test_topic_tools', 'test_roswtf', 'test_rostopic', 'test_rostime', 'test_rostest', 'test_rosservice', 'test_rospy', 'test_rosparam', 'test_rosnode', 'test_rosmsg', 'test_rosmaster', 'test_roslib_comm', 'test_roslaunch', 'test_rosgraph', 'test_roscpp_serialization_perf', 'test_roscpp_serialization', 'test_roscpp', 'test_rosbag', 'test_ros', 'test_crosspackage', 'perf_roscpp', 'roscore_migration_rules', 'std_srvs', 'std_msgs', 'rosgraph_msgs', 'rospy', 'roslisp', 'roscpp_traits', 'roscpp_serialization', 'roscpp']
[ rosmake ] Generating Install Script using rosdep then executing. This may take a minute, you will be prompted for permissions. . .            
rosdep executing this script:
{{{
set -o errexit
#No packages to install
}}}
[ rosmake ] rosdep successfully installed all system dependencies                                                                               
[ rosmake ] Starting >>> tools/rospack                                                                                                          
[ rosmake ] Finished <<< tools/rospack                                                                                                          
[rosmake-0] Starting >>> roslib [ make ]                                                                                                        
[rosmake-1] Starting >>> rosemacs [ make ]                                                                                                      
[rosmake-1] Finished <<< rosemacs  No Makefile in package rosemacs                                                                              
[rosmake-1] Starting >>> rosboost_cfg [ make ]                                                                                                  
[rosmake-1] Finished <<< rosboost_cfg  No Makefile in package rosboost_cfg                                                                      
[rosmake-1] Starting >>> rosbash [ make ]                                                                                                       
[rosmake-1] Finished <<< rosbash  No Makefile in package rosbash                                                                                
[rosmake-1] Starting >>> rosbuild [ make ]                                                                                                      
[rosmake-1] Finished <<< rosbuild  No Makefile in package rosbuild                                                                              
[rosmake-1] Starting >>> roslang [ make ]                                                                                                       
[rosmake-1] Finished <<< roslang  No Makefile in package roslang                                                                                
[rosmake-1] Starting >>> mk [ make ]                                                                                                            
[rosmake-1] Finished <<< mk  No Makefile in package mk                                                                                          
[rosmake-1] Starting >>> xmlrpcpp [ make ]                                                                                                      
[rosmake-0] Finished <<< roslib [PASS] [ 13.94 seconds ]                                                                                        
[rosmake-0] Starting >>> rosunit [ make ]                                                                                                       
[rosmake-1] Finished <<< xmlrpcpp [PASS] [ 14.36 seconds ]                                                                                      
[rosmake-1] Starting >>> rosdep [ make ]                                                                                                        
[rosmake-1] Finished <<< rosdep  No Makefile in package rosdep                                                                                  
[rosmake-1] Starting >>> rosmake [ make ]                                                                                                       
[rosmake-0] Finished <<< rosunit [PASS] [ 1.69 seconds ]                                                                                        
[rosmake-0] Starting >>> roscreate [ make ]                                                                                                     
[rosmake-1] Finished <<< rosmake [PASS] [ 1.60 seconds ]                                                                                        
[rosmake-1] Starting >>> rosclean [ make ]                                                                                                      
[rosmake-0] Finished <<< roscreate [PASS] [ 2.01 seconds ]                                                                                      
[rosmake-0] Starting >>> test_rospack [ make ]                                                                                                  
[rosmake-1] Finished <<< rosclean [PASS] [ 1.93 seconds ]                                                                                       
[rosmake-1] Starting >>> test_rosmake [ make ]                                                                                                  
[rosmake-1] Finished <<< test_rosmake [PASS] [ 2.82 seconds ]                                                                                   
[rosmake-1] Starting >>> test_roslib [ make ]                                                                                                   
[rosmake-0] Finished <<< test_rospack [PASS] [ 4.15 seconds ]                                                                                   
[rosmake-0] Starting >>> test_rosdep [ make ]                                                                                                   
[rosmake-0] Finished <<< test_rosdep [PASS] [ 2.62 seconds ]                                                                                    
[rosmake-0] Starting >>> test_roscreate [ make ]                                                                                                
[rosmake-0] Finished <<< test_roscreate [PASS] [ 1.79 seconds ]                                                                                 
[rosmake-0] Starting >>> std_msgs [ make ]                                                                                                      
[rosmake-1] Finished <<< test_roslib [PASS] [ 7.34 seconds ]                                                                                    
[rosmake-1] Starting >>> rosgraph [ make ]                                                                                                      
[rosmake-1] Finished <<< rosgraph [PASS] [ 1.97 seconds ]                                                                                       
[rosmake-1] Starting >>> rosmaster [ make ]                                                                                                     
[rosmake-1] Finished <<< rosmaster [PASS] [ 1.57 seconds ]                                                                                      
[rosmake-1] Starting >>> cpp_common [ make ]                                                                                                    
[rosmake-1] Finished <<< cpp_common [PASS] [ 1.66 seconds ]                                                                                     
[rosmake-1] Starting >>> roscpp_traits [ make ]                                                                                                 
[rosmake-1] Finished <<< roscpp_traits [PASS] [ 1.42 seconds ]                                                                                  
[rosmake-1] Starting >>> rostime [ make ]                                                                                                       
[rosmake-0] Finished <<< std_msgs [PASS] [ 10.67 seconds ]                                                                                      
[rosmake-0] Starting >>> rosgraph_msgs [ make ]                                                                                                 
[rosmake-1] Finished <<< rostime [PASS] [ 3.25 seconds ]                                                                                        
[rosmake-1] Starting >>> roscpp_serialization [ make ]                                                                                          
[rosmake-1] Finished <<< roscpp_serialization [PASS] [ 2.41 seconds ]                                                                           
[rosmake-1] Starting >>> rosconsole [ make ]                                                                                                    
[rosmake-0] Finished <<< rosgraph_msgs [PASS] [ 9.76 seconds ]                                                                                  
[rosmake-0] Starting >>> rospy [ make ]                                                                                                         
[rosmake-0] Finished <<< rospy [PASS] [ 4.57 seconds ]                                                                                          
[rosmake-0] Starting >>> rosnode ...
(more)
2013-02-28 08:27:20 -0500 received badge  Famous Question (source)
2013-02-22 10:44:15 -0500 received badge  Notable Question (source)