Re: [ros-users] Cannot compile RVIZ since cturtle

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Benoit Larochelle
Date:  
To: ros-users
Subject: Re: [ros-users] Cannot compile RVIZ since cturtle
Hi Brian,

I just tried that but unfortunately I get exactly the same result. :-(

Benoit

--------------------------------------------------
From: "Brian Gerkey" <>
Sent: Wednesday, July 14, 2010 4:38 PM
To: <>
Subject: Re: [ros-users] Cannot compile RVIZ since cturtle

> hi Benoit,
>
> You might try 'rosmake --pre-clean rviz', which will clean and rebuild
> all the underlying packages, to ensure that you don't have any
> leftover linkage against the wrong libraries.
>
> brian.
>
> On Wed, Jul 14, 2010 at 1:37 AM, Benoit Larochelle
> <> wrote:
>> Hi Josh,
>>
>>
>>
>> I actually deleted both versions of wx manually (technically I moved them
>> to
>> a temp folder so that the system would not find them).
>>
>>
>>
>> Now, I just tried "sudo apt-get install --reinstall libwxgtk2.8-dev", and
>> it
>> worked fine, but it still seems like RVIZ does not see it. I can no
>> longer
>> run or compile RVIZ. Here's the log output of "rosmake rviz":
>>
>>
>>
>>
>>
>> [ 0%] Built target rospack_genmsg_libexe
>> [ 0%] Built target rosbuild_precompile
>> Scanning dependencies of target rviz
>> [ 1%] Building CXX object src/rviz/CMakeFiles/rviz.dir/plugin/plugin.o
>> [ 2%] Building CXX object
>> src/rviz/CMakeFiles/rviz.dir/plugin/plugin_manager.o
>> [ 3%] Building CXX object
>> src/rviz/CMakeFiles/rviz.dir/plugin/type_registry.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
>> [ 55%] Built target rviz
>> Scanning dependencies of target executable
>> [ 57%] Building CXX object
>> src/rviz/CMakeFiles/executable.dir/visualizer_app.o
>> Linking CXX executable ../../bin/rviz
>> /usr/bin/ld: warning: libwx_gtk2u_richtext-2.8.so.0, needed by
>> /opt/ros/cturtle/stacks/visualization_common/ogre_tools/lib/libogre_tools.so,
>> not found (try using -rpath or -rpath-link)
>> /usr/bin/ld: warning: libwx_gtk2u_aui-2.8.so.0, needed by
>> /opt/ros/cturtle/stacks/visualization_common/ogre_tools/lib/libogre_tools.so,
>> not found (try using -rpath or -rpath-link)
>> /usr/bin/ld: warning: libwx_gtk2u_xrc-2.8.so.0, needed by
>> /opt/ros/cturtle/stacks/visualization_common/ogre_tools/lib/libogre_tools.so,
>> not found (try using -rpath or -rpath-link)
>> /usr/bin/ld: warning: libwx_gtk2u_qa-2.8.so.0, needed by
>> /opt/ros/cturtle/stacks/visualization_common/ogre_tools/lib/libogre_tools.so,
>> not found (try using -rpath or -rpath-link)
>> /usr/bin/ld: warning: libwx_gtk2u_html-2.8.so.0, needed by
>> /opt/ros/cturtle/stacks/visualization_common/ogre_tools/lib/libogre_tools.so,
>> not found (try using -rpath or -rpath-link)
>> /usr/bin/ld: warning: libwx_gtk2u_adv-2.8.so.0, needed by
>> /opt/ros/cturtle/stacks/visualization_common/ogre_tools/lib/libogre_tools.so,
>> not found (try using -rpath or -rpath-link)
>> /usr/bin/ld: warning: libwx_gtk2u_core-2.8.so.0, needed by
>> /opt/ros/cturtle/stacks/visualization_common/ogre_tools/lib/libogre_tools.so,
>> not found (try using -rpath or -rpath-link)
>> /usr/bin/ld: warning: libwx_baseu_xml-2.8.so.0, needed by
>> /opt/ros/cturtle/stacks/visualization_common/ogre_tools/lib/libogre_tools.so,
>> not found (try using -rpath or -rpath-link)
>> /usr/bin/ld: warning: libwx_baseu_net-2.8.so.0, needed by
>> /opt/ros/cturtle/stacks/visualization_common/ogre_tools/lib/libogre_tools.so,
>> not found (try using -rpath or -rpath-link)
>> /usr/bin/ld: warning: libwx_baseu-2.8.so.0, needed by
>> /opt/ros/cturtle/stacks/visualization_common/ogre_tools/lib/libogre_tools.so,
>> not found (try using -rpath or -rpath-link)
>> /opt/ros/cturtle/stacks/visualization/wxpropgrid/propgrid_install/lib/libwxcode_gtk2u_propgrid-2.8.so:
>> undefined reference to `wxListBase::Find(wxListKey const&) const@WXU_2.8'
>> /opt/ros/cturtle/stacks/visualization/wxpropgrid/propgrid_install/lib/libwxcode_gtk2u_propgrid-2.8.so:
>> undefined reference to `wxBaseArrayInt::Index(int, bool) const@WXU_2.8'
>> /opt/ros/cturtle/stacks/visualization/wxpropgrid/propgrid_install/lib/libwxcode_gtk2u_propgrid-2.8.so:
>> undefined reference to `wxScrollHelper::DoPrepareDC(wxDC&)@WXU_2.8'
>>
>> ... [hundreds of lines here]
>>
>> /opt/ros/cturtle/stacks/visualization/wxpropgrid/propgrid_install/lib/libwxcode_gtk2u_propgrid-2.8.so:
>> undefined reference to `wxOwnerDrawnComboBox::GetEventHashTable()
>> const@WXU_2.8'
>> /opt/ros/cturtle/stacks/visualization/wxpropgrid/propgrid_install/lib/libwxcode_gtk2u_propgrid-2.8.so:
>> undefined reference to `wxButton::SetDefault()@WXU_2.8'
>> /opt/ros/cturtle/stacks/visualization/wxpropgrid/propgrid_install/lib/libwxcode_gtk2u_propgrid-2.8.so:
>> undefined reference to `wxScrollHelper::GetViewStart(int*, int*)
>> const@WXU_2.8'
>> collect2: ld returned 1 exit status
>> make[2]: *** [bin/rviz] Error 1
>> make[1]: *** [src/rviz/CMakeFiles/executable.dir/all] Error 2
>> make: *** [all] Error 2
>>
>>
>>
>> Any idea why this keeps happening? Is there a way to remove all of these
>> libraries and let ROS re-install only what it requires? Is there a better
>> solution?
>>
>>
>>
>> Benoit
>>
>>
>>
>> On July 13, 2010 at 8:39 PM Josh Faust <> wrote:
>>
>>> Did you delete the one in /usr, or use apt to uninstall it? If you
>>> manually
>>> deleted it, you'll have to force a reinstallation (sudo apt-get install
>>> --reinstall libwxgtk2.8-dev)
>>>
>>> Josh
>>>
>>> On Tue, Jul 13, 2010 at 5:50 AM, Benoit Larochelle <
>>> > wrote:
>>>
>>> > I think that one of the problems is that I seem to have two versions
>>> > of
>>> > wx, one in /usr and one in /usr/local, like Josh suggested.
>>> >
>>> > I manually deleted both versions of wx and I tried to reinstall it
>>> > with
>>> > rosdep, but it found nothing. It just told me that there were no
>>> > missing
>>> > components, but yet when I try to compile RVIZ, it complains because
>>> > it
>>> > can't find the wx libraries. I tried re-installing wx from scratch,
>>> > but
>>> > the compiler still cannot find the libraries.
>>> >
>>> > By the way, I'm running Ubuntu 9.10.
>>> >
>>> > Benoit
>>> >
>> _______________________________________________
>> ros-users mailing list
>>
>> https://code.ros.org/mailman/listinfo/ros-users
>>
>>
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>