[ros-users] Cannot compile RVIZ since cturtle
Benoit Larochelle
benoit.larochelle at dfki.de
Thu Jul 8 07:58:56 UTC 2010
Hi,
What I'm trying to do is simply to compile RVIZ with ROS cturtle alpha 3. I have
a few different versions of RVIZ right now, because I when one did not compile,
I tried another one, and so on.
Anyway, now I just tried "rosdep install rviz" and I got this:
executing this script:
set -o errexit
#No Packages to install
Then, I put all that I had aside and downloaded the latest visualization stack,
just to start fresh. I called "rosmake visualization", but I got other errors
that seem to make no sense.
Benoit
robot at robot-laptop:/opt/ros/cturtle/stacks/visualization$ rosmake --pjobs=1
visualization
[ rosmake ] Packages requested are:
['visualization']
[ rosmake ] Logging to
directory
[ rosmake ]
/home/robot/.ros/rosmake/rosmake_output-20100708-093621
[ rosmake ] Expanded args ['visualization'] to:
['rxbag_plugins', 'rviz',
'wxpropgrid']
[ rosmake ] Checking rosdeps compliance for packages visualization. This may
take a few
seconds.
[ rosmake ] rosdep check passed all system dependencies in
packages
[rosmake-0] Starting >>> roslib [ make
]
[rosmake-0] Finished <<< roslib ROS_NOBUILD in package
roslib
[rosmake-0] Starting >>> roslang [ make
]
[rosmake-0] Finished <<< roslang ROS_NOBUILD in package roslang
No Makefile in package
roslang
[rosmake-0] Starting >>> rospy [ make
]
[rosmake-0] Finished <<< rospy ROS_NOBUILD in package
rospy
[rosmake-1] Starting >>> rosconsole [ make
]
[rosmake-1] Finished <<< rosconsole ROS_NOBUILD in package
rosconsole
[rosmake-1] Starting >>> std_msgs [ make
]
[rosmake-1] Finished <<< std_msgs ROS_NOBUILD in package
std_msgs
[rosmake-3] Starting >>> xmlrpcpp [ make
]
[rosmake-3] Finished <<< xmlrpcpp ROS_NOBUILD in package
xmlrpcpp
[rosmake-0] Starting >>> roscpp [ make
]
[rosmake-0] Finished <<< roscpp ROS_NOBUILD in package
roscpp
[rosmake-3] Starting >>> rosclean [ make
]
[rosmake-3] Finished <<< rosclean ROS_NOBUILD in package
rosclean
[rosmake-3] Starting >>> rosgraph [ make
]
[rosmake-3] Finished <<< rosgraph ROS_NOBUILD in package
rosgraph
[rosmake-0] Starting >>> rosmaster [ make
]
[rosmake-0] Finished <<< rosmaster ROS_NOBUILD in package
rosmaster
[rosmake-0] Starting >>> rosout [ make
]
[rosmake-0] Finished <<< rosout ROS_NOBUILD in package
rosout
[rosmake-2] Starting >>> wxswig [ make
]
[rosmake-2] Finished <<< wxswig ROS_NOBUILD in package
wxswig
[rosmake-3] Starting >>> wxPython_swig_interface [ make
]
[rosmake-0] Starting >>> roslaunch [ make
]
[rosmake-3] Finished <<< wxPython_swig_interface ROS_NOBUILD in package
wxPython_swig_interface
No Makefile in package
wxPython_swig_interface
[rosmake-0] Finished <<< roslaunch ROS_NOBUILD in package roslaunch
No Makefile in package
roslaunch
[rosmake-2] Starting >>> ogre [ make
]
[rosmake-2] Finished <<< ogre ROS_NOBUILD in package
ogre
[rosmake-1] Starting >>> std_srvs [ make
]
[rosmake-0] Starting >>> rostest [ make
]
[rosmake-0] Finished <<< rostest ROS_NOBUILD in package
rostest
[rosmake-0] Starting >>> topic_tools [ make
]
[rosmake-3] Starting >>> rxtools [ make
]
[rosmake-1] Finished <<< std_srvs ROS_NOBUILD in package
std_srvs
[rosmake-1] Starting >>> message_filters [ make
]
[rosmake-2] Starting >>> ogre_tools [ make
]
[rosmake-1] Finished <<< message_filters ROS_NOBUILD in package
message_filters
[rosmake-0] Finished <<< topic_tools ROS_NOBUILD in package
topic_tools
[rosmake-3] Finished <<< rxtools ROS_NOBUILD in package
rxtools
[rosmake-2] Finished <<< ogre_tools ROS_NOBUILD in package
ogre_tools
[rosmake-1] Starting >>> bullet [ make
]
[rosmake-1] Finished <<< bullet ROS_NOBUILD in package
bullet
[rosmake-3] Starting >>> angles [ make
]
[rosmake-3] Finished <<< angles ROS_NOBUILD in package
angles
[rosmake-1] Starting >>> rosbag [ make
]
[rosmake-1] Finished <<< rosbag ROS_NOBUILD in package
rosbag
[rosmake-0] Starting >>> rosnode [ make
]
[rosmake-0] Finished <<< rosnode ROS_NOBUILD in package
rosnode
[rosmake-2] Starting >>> wxpropgrid [ make
]
[rosmake-3] Starting >>> rxbag [ make
]
[rosmake-0] Starting >>> rosrecord [ make
]
[rosmake-3] Finished <<< rxbag ROS_NOBUILD in package
rxbag
[rosmake-1] Starting >>> rosmsg [ make
]
[rosmake-1] Finished <<< rosmsg ROS_NOBUILD in package rosmsg
No Makefile in package
rosmsg
[rosmake-0] Finished <<< rosrecord ROS_NOBUILD in package
rosrecord
[rosmake-3] Starting >>> yaml_cpp [ make
]
[rosmake-3] Finished <<< yaml_cpp ROS_NOBUILD in package
yaml_cpp
[rosmake-1] Starting >>> rosservice [ make
]
[rosmake-1] Finished <<< rosservice ROS_NOBUILD in package
rosservice
[rosmake-3] Starting >>> tinyxml [ make
]
[rosmake-3] Finished <<< tinyxml ROS_NOBUILD in package
tinyxml
[rosmake-1] Starting >>> roswtf [ make
]
[rosmake-3] Starting >>> rosbagmigration [ make
]
[rosmake-1] Finished <<< roswtf ROS_NOBUILD in package
roswtf
[rosmake-3] Finished <<< rosbagmigration ROS_NOBUILD in package rosbagmigration
No Makefile in package
rosbagmigration
[rosmake-0] Starting >>> urdf [ make
]
[rosmake-0] Finished <<< urdf ROS_NOBUILD in package
urdf
[rosmake-3] Starting >>> geometry_msgs [ make
]
[rosmake-0] Starting >>> resource_retriever [ make
]
[rosmake-0] Finished <<< resource_retriever ROS_NOBUILD in package
resource_retriever
[rosmake-3] Finished <<< geometry_msgs ROS_NOBUILD in package
geometry_msgs
[rosmake-1] Starting >>> pluginlib [ make
]
[rosmake-1] Finished <<< pluginlib ROS_NOBUILD in package
pluginlib
[rosmake-1] Starting >>> assimp [ make
]
[rosmake-1] Finished <<< assimp ROS_NOBUILD in package
assimp
[rosmake-3] Starting >>> sensor_msgs [ make
]
[rosmake-3] Finished <<< sensor_msgs ROS_NOBUILD in package
sensor_msgs
[rosmake-3] Starting >>> rxbag_plugins [ make
]
[rosmake-1] Starting >>> nav_msgs [ make
]
[rosmake-1] Finished <<< nav_msgs ROS_NOBUILD in package
nav_msgs
[rosmake-1] Starting >>> tf [ make
]
[rosmake-1] Finished <<< tf ROS_NOBUILD in package
tf
[rosmake-1] Starting >>> laser_geometry [ make
]
[rosmake-1] Finished <<< laser_geometry ROS_NOBUILD in package
laser_geometry
[rosmake-1] Starting >>> visualization_msgs [ make
]
[rosmake-1] Finished <<< visualization_msgs ROS_NOBUILD in package
visualization_msgs
[rosmake-1] Starting >>> image_transport [ make
]
[rosmake-1] Finished <<< image_transport ROS_NOBUILD in package
image_transport
[rosmake-3] Finished <<< rxbag_plugins [PASS] [ 3.61 seconds
]
[rosmake-2] Finished <<< wxpropgrid [PASS] [ 76.24 seconds
]
[rosmake-2] Starting >>> rviz [ make
]
[ rosmake ] Last 40 linesiz: 187.4 sec
]
[ 1 Active 48/49 Complete ]
{-------------------------------------------------------------------------------
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:10024:
error: expected primary-expression before ‘)’ token
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:
In function ‘void* _p_wxPyScrolledWindowTo_p_wxPanel(void*)’:
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:10027:
error: ‘wxPyScrolledWindow’ was not declared in this scope
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:10027:
error: expected primary-expression before ‘)’ token
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:10027:
error: expected ‘)’ before ‘x’
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:10027:
error: expected ‘)’ before ‘;’ token
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:
In function ‘void* _p_wxPyVScrolledWindowTo_p_wxPanel(void*)’:
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:10030:
error: ‘wxPyVScrolledWindow’ was not declared in this scope
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:10030:
error: expected primary-expression before ‘)’ token
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:10030:
error: expected ‘)’ before ‘x’
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:10030:
error: expected ‘)’ before ‘;’ token
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:
In function ‘void* _p_wxPyPreviewControlBarTo_p_wxPanel(void*)’:
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:10045:
error: ‘wxPreviewControlBar’ was not declared in this scope
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:10045:
error: expected primary-expression before ‘)’ token
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:10045:
error: ‘wxPyPreviewControlBar’ was not declared in this scope
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:10045:
error: expected primary-expression before ‘)’ token
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:
In function ‘void* _p_wxPreviewControlBarTo_p_wxPanel(void*)’:
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:10048:
error: ‘wxPreviewControlBar’ was not declared in this scope
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:10048:
error: expected primary-expression before ‘)’ token
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:10048:
error: expected ‘)’ before ‘x’
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:10048:
error: expected ‘)’ before ‘;’ token
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:
In function ‘void* _p_wxPyPanelTo_p_wxPanel(void*)’:
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:10054:
error: ‘wxPyPanel’ was not declared in this scope
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:10054:
error: expected primary-expression before ‘)’ token
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:10054:
error: expected ‘)’ before ‘x’
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:10054:
error: expected ‘)’ before ‘;’ token
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:
In function ‘void* _p_wxPreviewCanvasTo_p_wxPanel(void*)’:
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:10057:
error: ‘wxPreviewCanvas’ was not declared in this scope
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:10057:
error: expected primary-expression before ‘)’ token
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:10057:
error: expected ‘)’ before ‘x’
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:10057:
error: expected ‘)’ before ‘;’ token
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:
In function ‘PyTypeObject* swig_varlink_type()’:
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:11344:
warning: missing initializer for member ‘_typeobject::tp_version_tag’
make[3]: *** [src/rviz/CMakeFiles/python_rviz.dir/rviz_swig_generated.o] Error
1
make[3]: Leaving directory `/opt/ros/cturtle/stacks/visualization/rviz/build'
make[2]: *** [src/rviz/CMakeFiles/python_rviz.dir/all] Error 2
make[2]: Leaving directory `/opt/ros/cturtle/stacks/visualization/rviz/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/ros/cturtle/stacks/visualization/rviz/build'
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package rviz written to:
[ rosmake ]
/home/robot/.ros/rosmake/rosmake_output-20100708-093621/rviz/build_output.log
[rosmake-2] Finished <<< rviz [FAIL] [ 187.40 seconds
]
[ rosmake ] Halting due to failure in package rviz.
[ rosmake ] Waiting for other threads to
complete.
[ rosmake ]
Results:
[ rosmake ] Built 49 packages with 1
failures.
[ rosmake ] Summary output to
directory
[ rosmake ] /home/robot/.ros/rosmake/rosmake_output-20100708-093621
On July 7, 2010 at 8:08 PM Josh Faust <jfaust at willowgarage.com> wrote:
> What exactly are you trying to do? It looks like you've copied rviz to a
> new folder, which likely won't work (since the package name is now "rviz
> (cturtle alpha 3)", which is an invalid package name).
>
> If you're trying to check out a different version of the visualization
> stack, you need to get the whole stack, and overlay it on top of the binary
> install (put it first in your ROS_PACKAGE_PATH), rather than modifying
> things inside the binary install.
>
> Josh
>
> On Wed, Jul 7, 2010 at 4:19 AM, Benoit Larochelle <benoit.larochelle at dfki.de
> > wrote:
>
> > Hi,
> >
> >
> >
> > I recently upgraded my system to cturle and the binaries work perfectly but
> > I cannot re-compile RVIZ. I tried with Alpha 3 and latest, and they both
> > give me the same problem. It seems to be a linking error with wxWidgets, but
> > I don't think that this error message makes sense.
> >
> >
> >
> > [rosmake-1] Starting >>> rviz [ make
> > ]
> >
> > [ rosmake ] Last 40 linesiz: 187.0 sec
> > ]
> > [ 1 Active 46/47 Complete ]
> >
> > {-------------------------------------------------------------------------------
> > [ 29%] Building CXX object src/rviz/CMakeFiles/rviz.dir/wx_log_rosout.o
> > [ 31%] Building CXX object src/rviz/CMakeFiles/rviz.dir/frame_manager.o
> > [ 32%] Building CXX object
> > src/rviz/CMakeFiles/rviz.dir/visualization_manager.o
> > [ 33%] Building CXX object
> > src/rviz/CMakeFiles/rviz.dir/visualization_frame.o
> > [ 35%] Building CXX object
> > src/rviz/CMakeFiles/rviz.dir/visualization_panel.o
> > [ 36%] Building CXX object
> > src/rviz/CMakeFiles/rviz.dir/plugin_manager_dialog.o
> > [ 37%] Building CXX object src/rviz/CMakeFiles/rviz.dir/display.o
> > [ 38%] Building CXX object src/rviz/CMakeFiles/rviz.dir/display_wrapper.o
> > [ 40%] Building CXX object src/rviz/CMakeFiles/rviz.dir/view_controller.o
> > [ 41%] Building CXX object
> > src/rviz/CMakeFiles/rviz.dir/view_controllers/orbit_view_controller.o
> > [ 42%] Building CXX object
> > src/rviz/CMakeFiles/rviz.dir/view_controllers/fps_view_controller.o
> > [ 44%] Building CXX object
> > src/rviz/CMakeFiles/rviz.dir/view_controllers/fixed_orientation_ortho_view_controller.o
> > [ 45%] Building CXX object src/rviz/CMakeFiles/rviz.dir/common.o
> > [ 46%] Building CXX object
> > src/rviz/CMakeFiles/rviz.dir/ros_topic_property.o
> > [ 48%] Building CXX object
> > src/rviz/CMakeFiles/rviz.dir/tf_frame_property.o
> > [ 49%] Building CXX object
> > src/rviz/CMakeFiles/rviz.dir/new_display_dialog.o
> > [ 50%] Building CXX object
> > src/rviz/CMakeFiles/rviz.dir/robot/tf_link_updater.o
> > [ 51%] Building CXX object
> > src/rviz/CMakeFiles/rviz.dir/robot/robot_link.o
> > [ 53%] Building CXX object src/rviz/CMakeFiles/rviz.dir/robot/robot.o
> > [ 54%] Building CXX object
> > src/rviz/CMakeFiles/rviz.dir/selection/selection_manager.o
> > [ 55%] Building CXX object
> > src/rviz/CMakeFiles/rviz.dir/generated/rviz_generated.o
> > Linking CXX shared library ../../../lib/librviz.so
> > make[3]: Leaving directory `/opt/ros/cturtle/stacks/visualization/rviz
> > (cturtle alpha 3)/build'
> > [ 55%] Built target rviz
> > make[3]: Entering directory `/opt/ros/cturtle/stacks/visualization/rviz
> > (cturtle alpha 3)/build'
> > Scanning dependencies of target executable
> > make[3]: Leaving directory `/opt/ros/cturtle/stacks/visualization/rviz
> > (cturtle alpha 3)/build'
> > make[3]: Entering directory `/opt/ros/cturtle/stacks/visualization/rviz
> > (cturtle alpha 3)/build'
> > [ 57%] Building CXX object
> > src/rviz/CMakeFiles/executable.dir/visualizer_app.o
> > Linking CXX executable ../../../bin/rviz
> > ../../../lib/librviz.so: undefined reference to
> > `wxPropertyGrid::wxPropertyGrid(wxWindow*, int, wxPoint const&, wxSize
> > const&, long, char const*)'
> > ../../../lib/librviz.so: undefined reference to
> > `wxEnumProperty::wxEnumProperty(wxString const&, wxString const&, char
> > const**, long const*, int)'
> > collect2: ld returned 1 exit status
> > make[3]: *** [../bin/rviz] Error 1
> > make[3]: Leaving directory `/opt/ros/cturtle/stacks/visualization/rviz
> > (cturtle alpha 3)/build'
> > make[2]: *** [src/rviz/CMakeFiles/executable.dir/all] Error 2
> > make[2]: Leaving directory `/opt/ros/cturtle/stacks/visualization/rviz
> > (cturtle alpha 3)/build'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory `/opt/ros/cturtle/stacks/visualization/rviz
> > (cturtle alpha 3)/build'
> >
> > -------------------------------------------------------------------------------}
> > [ rosmake ] Output from build of package rviz written to:
> > [ rosmake ]
> > /home/robot/.ros/rosmake/rosmake_output-20100707-120551/rviz/build_output.log
> >
> > [rosmake-1] Finished <<< rviz [FAIL] [ 187.07 seconds
> > ]
> >
> > [ rosmake ] Halting due to failure in package rviz.
> > [ rosmake ] Waiting for other threads to
> > complete.
> >
> > [ rosmake ]
> > Results:
> >
> > [ rosmake ] Built 47 packages with 1
> > failures.
> >
> > [ rosmake ] Summary output to
> > directory
> >
> > [ rosmake ] /home/robot/.ros/rosmake/rosmake_output-20100707-120551
> >
> >
> >
> >
> >
> > Benoit Larochelle, B.Eng., M.Sc.
> > Software Engineer
> >
> > DFKI GmbH
> > Language Technology Lab
> > Campus D3 1, Room +1.12
> > Stuhlsatzenhausweg 3
> > 66123 Saarbrücken, Germany
> >
> > Phone: +49-(0)681-857-75-5287
> > Email: Benoit.Larochelle at dfki.de
> > Web: http://www.dfki.de/~blaroche
> > http://nifti.eu/
> >
> > _______________________________________________
> > ros-users mailing list
> > ros-users at code.ros.org
> > https://code.ros.org/mailman/listinfo/ros-users
> >
> >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100708/2cad2a52/attachment-0003.html>
More information about the ros-users
mailing list