[ros-users] Cannot compile RVIZ since cturtle
Benoit Larochelle
Benoit.Larochelle at dfki.de
Fri Jul 9 14:46:37 UTC 2010
My colleague Ming remotely connected to my machine through ssh and did something to make it compile. I'm not sure exactly what he did, but here what he told me:
1. compile wxpropgrid in visualization, and make it system-wise visible.
2. add wxpropgrid libraries to CMakelists.txt in rviz/src/rviz, linking to the librviz.so
3. make;
Hopefully, this will be helpful to others who are using cturtle alpha 3.
Benoit
From: Benoit Larochelle
Sent: Friday, July 09, 2010 8:44 AM
To: ros-users at code.ros.org
Subject: Re: [ros-users] Cannot compile RVIZ since cturtle
Here's what I get from a verbose make command (I shortened it, because the full output has 1367 lines).
Note that it can't find wx/wxPython/wxPython.h and wx/wxPython/pyclasses.h, even though I have "-isystem /usr/local/include/wx-2.8" and the files are actually there. Also, the file rviz_swig_generated.cpp gives hundreds of errors, but it seems perfectly fine.
/usr/bin/cmake -H/opt/ros/cturtle/stacks/visualization/rviz -B/opt/ros/cturtle/stacks/visualization/rviz --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /opt/ros/cturtle/stacks/visualization/rviz/CMakeFiles /opt/ros/cturtle/stacks/visualization/rviz/CMakeFiles/progress.make
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory `/opt/ros/cturtle/stacks/visualization/rviz'
make -f CMakeFiles/rospack_genmsg_libexe.dir/build.make CMakeFiles/rospack_genmsg_libexe.dir/depend
make[2]: Entering directory `/opt/ros/cturtle/stacks/visualization/rviz'
cd /opt/ros/cturtle/stacks/visualization/rviz && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /opt/ros/cturtle/stacks/visualization/rviz /opt/ros/cturtle/stacks/visualization/rviz /opt/ros/cturtle/stacks/visualization/rviz /opt/ros/cturtle/stacks/visualization/rviz /opt/ros/cturtle/stacks/visualization/rviz/CMakeFiles/rospack_genmsg_libexe.dir/DependInfo.cmake --color=
make[2]: Leaving directory `/opt/ros/cturtle/stacks/visualization/rviz'
make -f CMakeFiles/rospack_genmsg_libexe.dir/build.make CMakeFiles/rospack_genmsg_libexe.dir/build
make[2]: Entering directory `/opt/ros/cturtle/stacks/visualization/rviz'
make[2]: Nothing to be done for `CMakeFiles/rospack_genmsg_libexe.dir/build'.
make[2]: Leaving directory `/opt/ros/cturtle/stacks/visualization/rviz'
/usr/bin/cmake -E cmake_progress_report /opt/ros/cturtle/stacks/visualization/rviz/CMakeFiles
[ 0%] Built target rospack_genmsg_libexe
make -f CMakeFiles/rosbuild_precompile.dir/build.make CMakeFiles/rosbuild_precompile.dir/depend
make[2]: Entering directory `/opt/ros/cturtle/stacks/visualization/rviz'
cd /opt/ros/cturtle/stacks/visualization/rviz && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /opt/ros/cturtle/stacks/visualization/rviz /opt/ros/cturtle/stacks/visualization/rviz /opt/ros/cturtle/stacks/visualization/rviz /opt/ros/cturtle/stacks/visualization/rviz /opt/ros/cturtle/stacks/visualization/rviz/CMakeFiles/rosbuild_precompile.dir/DependInfo.cmake --color=
make[2]: Leaving directory `/opt/ros/cturtle/stacks/visualization/rviz'
make -f CMakeFiles/rosbuild_precompile.dir/build.make CMakeFiles/rosbuild_precompile.dir/build
make[2]: Entering directory `/opt/ros/cturtle/stacks/visualization/rviz'
make[2]: Nothing to be done for `CMakeFiles/rosbuild_precompile.dir/build'.
make[2]: Leaving directory `/opt/ros/cturtle/stacks/visualization/rviz'
/usr/bin/cmake -E cmake_progress_report /opt/ros/cturtle/stacks/visualization/rviz/CMakeFiles
[ 0%] Built target rosbuild_precompile
make -f src/rviz/CMakeFiles/rviz.dir/build.make src/rviz/CMakeFiles/rviz.dir/depend
make[2]: Entering directory `/opt/ros/cturtle/stacks/visualization/rviz'
cd /opt/ros/cturtle/stacks/visualization/rviz && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /opt/ros/cturtle/stacks/visualization/rviz /opt/ros/cturtle/stacks/visualization/rviz/src/rviz /opt/ros/cturtle/stacks/visualization/rviz /opt/ros/cturtle/stacks/visualization/rviz/src/rviz /opt/ros/cturtle/stacks/visualization/rviz/src/rviz/CMakeFiles/rviz.dir/DependInfo.cmake --color=
make[2]: Leaving directory `/opt/ros/cturtle/stacks/visualization/rviz'
make -f src/rviz/CMakeFiles/rviz.dir/build.make src/rviz/CMakeFiles/rviz.dir/build
make[2]: Entering directory `/opt/ros/cturtle/stacks/visualization/rviz'
make[2]: Nothing to be done for `src/rviz/CMakeFiles/rviz.dir/build'.
make[2]: Leaving directory `/opt/ros/cturtle/stacks/visualization/rviz'
/usr/bin/cmake -E cmake_progress_report /opt/ros/cturtle/stacks/visualization/rviz/CMakeFiles 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
[ 55%] Built target rviz
make -f src/rviz/CMakeFiles/executable.dir/build.make src/rviz/CMakeFiles/executable.dir/depend
make[2]: Entering directory `/opt/ros/cturtle/stacks/visualization/rviz'
cd /opt/ros/cturtle/stacks/visualization/rviz && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /opt/ros/cturtle/stacks/visualization/rviz /opt/ros/cturtle/stacks/visualization/rviz/src/rviz /opt/ros/cturtle/stacks/visualization/rviz /opt/ros/cturtle/stacks/visualization/rviz/src/rviz /opt/ros/cturtle/stacks/visualization/rviz/src/rviz/CMakeFiles/executable.dir/DependInfo.cmake --color=
make[2]: Leaving directory `/opt/ros/cturtle/stacks/visualization/rviz'
make -f src/rviz/CMakeFiles/executable.dir/build.make src/rviz/CMakeFiles/executable.dir/build
make[2]: Entering directory `/opt/ros/cturtle/stacks/visualization/rviz'
make[2]: Nothing to be done for `src/rviz/CMakeFiles/executable.dir/build'.
make[2]: Leaving directory `/opt/ros/cturtle/stacks/visualization/rviz'
/usr/bin/cmake -E cmake_progress_report /opt/ros/cturtle/stacks/visualization/rviz/CMakeFiles 1
[ 57%] Built target executable
make -f src/rviz/CMakeFiles/python_rviz.dir/build.make src/rviz/CMakeFiles/python_rviz.dir/depend
make[2]: Entering directory `/opt/ros/cturtle/stacks/visualization/rviz'
cd /opt/ros/cturtle/stacks/visualization/rviz && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /opt/ros/cturtle/stacks/visualization/rviz /opt/ros/cturtle/stacks/visualization/rviz/src/rviz /opt/ros/cturtle/stacks/visualization/rviz /opt/ros/cturtle/stacks/visualization/rviz/src/rviz /opt/ros/cturtle/stacks/visualization/rviz/src/rviz/CMakeFiles/python_rviz.dir/DependInfo.cmake --color=
make[2]: Leaving directory `/opt/ros/cturtle/stacks/visualization/rviz'
make -f src/rviz/CMakeFiles/python_rviz.dir/build.make src/rviz/CMakeFiles/python_rviz.dir/build
make[2]: Entering directory `/opt/ros/cturtle/stacks/visualization/rviz'
/usr/bin/cmake -E cmake_progress_report /opt/ros/cturtle/stacks/visualization/rviz/CMakeFiles 2
[ 58%] Building CXX object src/rviz/CMakeFiles/python_rviz.dir/rviz_swig_generated.o
cd /opt/ros/cturtle/stacks/visualization/rviz/src/rviz && /usr/bin/c++ -Dpython_rviz_EXPORTS -DBOOST_CB_DISABLE_DEBUG -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -O2 -g -fPIC -I/opt/ros/cturtle/stacks/visualization/rviz/include -I/opt/ros/cturtle/stacks/visualization_common/ogre_tools/src -I/opt/ros/cturtle/stacks/visualization_common/ogre/ogre/include -I/opt/ros/cturtle/stacks/visualization_common/ogre/ogre/include/OGRE -I/opt/ros/cturtle/stacks/visualization_common/ogre/ogre/include/OGRE/RTShaderSystem -I/opt/ros/cturtle/ros/std_srvs/srv_gen/cpp/include -I/opt/ros/cturtle/stacks/common_msgs/nav_msgs/msg/cpp -I/opt/ros/cturtle/stacks/common_msgs/nav_msgs/srv/cpp -I/opt/ros/cturtle/stacks/common_msgs/nav_msgs/msg_gen/cpp/include -I/opt/ros/cturtle/stacks/common_msgs/nav_msgs/srv_gen/cpp/include -I/opt/ros/cturtle/stacks/laser_pipeline/laser_geometry/include -I/opt/ros/cturtle/stacks/laser_pipeline/laser_geometry/msg/cpp -I/opt/ros/cturtle/stacks/geometry/tf/include -I/opt/ros/cturtle/stacks/geometry/tf/msg/cpp -I/opt/ros/cturtle/stacks/geometry/tf/srv/cpp -I/opt/ros/cturtle/stacks/geometry/tf/msg_gen/cpp/include -I/opt/ros/cturtle/stacks/geometry/tf/srv_gen/cpp/include -I/opt/ros/cturtle/stacks/geometry/bullet/include -I/opt/ros/cturtle/stacks/geometry/angles/include -I/opt/ros/cturtle/stacks/visualization/wxpropgrid/propgrid_install/include -I/opt/ros/cturtle/ros/tools/rxtools/src -I/opt/ros/cturtle/stacks/visualization_common/visualization_msgs/msg/cpp -I/opt/ros/cturtle/stacks/visualization_common/visualization_msgs/msg_gen/cpp/include -I/opt/ros/cturtle/stacks/common_msgs/geometry_msgs/msg/cpp -I/opt/ros/cturtle/stacks/common_msgs/geometry_msgs/msg_gen/cpp/include -I/opt/ros/cturtle/stacks/common/yaml_cpp/yaml-cpp/include -I/opt/ros/cturtle/stacks/robot_model/urdf/include -I/opt/ros/cturtle/stacks/robot_model/urdf/msg/cpp -I/opt/ros/cturtle/stacks/robot_model/urdf/srv/cpp -I/opt/ros/cturtle/stacks/robot_model/resource_retriever/include -I/opt/ros/cturtle/ros/core/rosconsole/include -I/opt/ros/cturtle/stacks/image_common/image_transport/include -I/opt/ros/cturtle/stacks/common_msgs/sensor_msgs/include -I/opt/ros/cturtle/stacks/common_msgs/sensor_msgs/msg/cpp -I/opt/ros/cturtle/stacks/common_msgs/sensor_msgs/srv/cpp -I/opt/ros/cturtle/stacks/common_msgs/sensor_msgs/msg_gen/cpp/include -I/opt/ros/cturtle/stacks/common_msgs/sensor_msgs/srv_gen/cpp/include -I/opt/ros/cturtle/ros/tools/rosrecord/include -I/opt/ros/cturtle/ros/tools/rosbag/include -I/opt/ros/cturtle/ros/tools/topic_tools/include -I/opt/ros/cturtle/ros/tools/topic_tools/srv_gen/cpp/include -I/opt/ros/cturtle/ros/std_msgs/include -I/opt/ros/cturtle/ros/std_msgs/msg_gen/cpp/include -I/opt/ros/cturtle/stacks/common/pluginlib/include -I/opt/ros/cturtle/stacks/common/pluginlib -I/opt/ros/cturtle/stacks/common/tinyxml/include -I/opt/ros/cturtle/ros/core/message_filters/include -I/opt/ros/cturtle/ros/test/rostest/include -I/opt/ros/cturtle/ros/core/roscpp/include -I/opt/ros/cturtle/ros/core/roscpp/msg_gen/cpp/include -I/opt/ros/cturtle/ros/core/roscpp/srv_gen/cpp/include -I/opt/ros/cturtle/ros/3rdparty/xmlrpcpp/src -I/opt/ros/cturtle/ros/core/roslib/include -I/opt/ros/cturtle/ros/core/roslib/msg_gen/cpp/include -I/opt/ros/cturtle/ros/tools/rospack -I/opt/ros/cturtle/ros/tools/rospack/include -I/opt/ros/cturtle/stacks/robot_model/assimp/include -I/opt/ros/cturtle/ros/3rdparty/gtest/gtest/include -isystem /usr/local/lib/wx/include/gtk2-ansi-release-2.8 -isystem /usr/local/include/wx-2.8 -I/usr/include/python2.6 -I/opt/ros/cturtle/stacks/visualization/rviz/src -I/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/. -DROS_PACKAGE_NAME='"rviz"' -pthread -DBT_USE_DOUBLE_PRECISION -DBT_EULER_DEFAULT_ZYX -D__NOTWXPYTHON__ -DSWIG_TYPE_TABLE=_wxPython_table -DWXP_USE_THREAD=1 -DSWIG_TYPE_TABLE=_wxPython_table -DWXP_USE_THREAD=1 -DTIXML_USE_STL -W -Wall -Wno-unused-parameter -fno-strict-aliasing -pthread -o CMakeFiles/python_rviz.dir/rviz_swig_generated.o -c /opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:3004:34: error: wx/wxPython/wxPython.h: No such file or directory
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:3005:35: error: wx/wxPython/pyclasses.h: No such file or directory
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp: In function ‘void SWIG_Python_AddErrorMsg(const char*)’:
/opt/ros/cturtle/stacks/visualization/rviz/src/rviz/rviz_swig_generated.cpp:864: warning: format not a string literal and no format arguments
[...]
/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[2]: *** [src/rviz/CMakeFiles/python_rviz.dir/rviz_swig_generated.o] Error 1
make[2]: Leaving directory `/opt/ros/cturtle/stacks/visualization/rviz'
make[1]: *** [src/rviz/CMakeFiles/python_rviz.dir/all] Error 2
make[1]: Leaving directory `/opt/ros/cturtle/stacks/visualization/rviz'
make: *** [all] Error 2
On July 8, 2010 at 7:32 PM Josh Faust <jfaust at willowgarage.com> wrote:
> What does:
>
> roscd rviz
> VERBOSE=1 make
>
> output?
>
> Josh
>
--------------------------------------------------------------------------------
_______________________________________________
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/20100709/52cfaba4/attachment-0003.html>
More information about the ros-users
mailing list