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

building visualization_common (ogre) on archlinux

asked 2012-10-26 18:54:29 -0500

ryan0270 gravatar image

updated 2014-01-28 17:14:05 -0500

ngrennan gravatar image

Following this guide I'm trying to get ROS installed on arch linux. I've worked my way to the very last step which frequently gives linker errors related to boost (i.e. my boost libs are 1.5 but I believe ROS is currently expecting 1.4x). For the most part I've been able to get past these by adding rosbuild_link_boost(package system) to all the affect CMakeLists.txt files, but while building ogre in visualization_common this doesn't seem to be the right solution since everything in there is build outside of the ROS environment.

So my question is this:

1) Is it possible to have ROS use the default arch linux ogre install? This would be the easiest solution since it just works.

2) Barring that, what is the proper way to go about linking in the boost system library for ogre?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2012-12-03 04:58:37 -0500

pallegro gravatar image

updated 2012-12-03 05:00:49 -0500

Well, this probably isn't useful any more, and Groovy is a much better target for Arch. But I got visualization common building with boost 1.5x with a patch to CMake/Dependencies.cmake :
-set(OGRE_BOOST_COMPONENTS thread date_time)
+set(OGRE_BOOST_COMPONENTS thread system date_time)

Then adding the patch filename to the visualization_common/ogre/Makefile:
-TARBALL_PATCH = hidden_window.patch hidden_window_glx_fix.patch multi_scene_manager.patch
+TARBALL_PATCH = hidden_window.patch hidden_window_glx_fix.patch multi_scene_manager.patch ogre_boost150_system.patch

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-10-26 18:54:29 -0500

Seen: 333 times

Last updated: Dec 03 '12