did you try manually deleting python-wxgtk2.8 as well?<br>John<br><br><div class="gmail_quote">On Wed, Jul 14, 2010 at 7:48 AM, Benoit Larochelle <span dir="ltr"><<a href="mailto:Benoit.Larochelle@dfki.de">Benoit.Larochelle@dfki.de</a>></span> wrote:<br>

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