 <?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://Robo.Fish/wiki/index.php?action=history&amp;feed=atom&amp;title=Rock</id>
	<title>Rock - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://Robo.Fish/wiki/index.php?action=history&amp;feed=atom&amp;title=Rock"/>
	<link rel="alternate" type="text/html" href="https://Robo.Fish/wiki/index.php?title=Rock&amp;action=history"/>
	<updated>2026-04-22T10:45:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://Robo.Fish/wiki/index.php?title=Rock&amp;diff=2308&amp;oldid=prev</id>
		<title>Kai at 2017-01-20T17:59:39</title>
		<link rel="alternate" type="text/html" href="https://Robo.Fish/wiki/index.php?title=Rock&amp;diff=2308&amp;oldid=prev"/>
		<updated>2017-01-20T17:59:39Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=== &amp;lt;br /&amp;gt;Introduction ===&lt;br /&gt;
Rock (http://rock-robotics.org) is based on the [[Orocos]] real-time communication framework and also adopts its toolchain and model for connectable components.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Installing on Ubuntu 16.04 ===&lt;br /&gt;
As of December 2016, there is no painless installation path for Ubuntu 16.04. Here is what I found out so far.&lt;br /&gt;
----&lt;br /&gt;
Create a folder in which the Rock source code is going to live. Then fetch the boostrap script and run it.&lt;br /&gt;
&amp;lt;pre class=&amp;quot;terminal&amp;quot;&amp;gt;&lt;br /&gt;
wget http://www.rock-robotics.org/master/bootstrap.sh&lt;br /&gt;
sh bootstrap.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
When asked which branch to use, choose the &amp;#039;&amp;#039;master&amp;#039;&amp;#039; branch. The current &amp;#039;&amp;#039;stable&amp;#039;&amp;#039; branch does not truly support Ubuntu 16.04, which uses the &amp;#039;&amp;#039;xenial&amp;#039;&amp;#039; repository, because the repository packages that the bootstrap script tries to install are obsolete.&lt;br /&gt;
----&lt;br /&gt;
When asked which prepackaged software autoproj should install automatically, I chose &amp;#039;&amp;#039;none&amp;#039;&amp;#039; and let the script run into dependency errors to find out what those are. Make sure the necessary environment variables are set before re-running the bootstrap script.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
===== Ruby gems =====&lt;br /&gt;
Make sure that the environment variable GEM_HOME points to the &amp;#039;&amp;#039;.gems&amp;#039;&amp;#039; subdirectory within the Rock root directory. Then install the gems &amp;#039;&amp;#039;autobuild&amp;#039;&amp;#039; and &amp;#039;&amp;#039;autoproj&amp;#039;&amp;#039;.&lt;br /&gt;
&amp;lt;pre class=&amp;quot;terminal&amp;quot;&amp;gt;&lt;br /&gt;
source env.sh&lt;br /&gt;
gem install --no-user-install --no-format-executable --no-rdoc --no-ri autobuild -v &amp;#039;~&amp;gt;1.9.0&amp;#039;&lt;br /&gt;
gem install --no-user-install --no-format-executable --no-rdoc --no-ri autoproj -v &amp;#039;~&amp;gt;1.13.0&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
There are newer versions of autoproj and autobuild but, as of this writing, they are not compatible with Rock master.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Python =====&lt;br /&gt;
The bootstrap script will create an entry in env.sh which sets &amp;#039;&amp;#039;PYTHONUSERBASE&amp;#039;&amp;#039; to the &amp;#039;&amp;#039;.pip&amp;#039;&amp;#039; subdirectory within the Rock root directory. This will cause all python modules installed by the bootstrap script to be installed under that subdirectory. &lt;br /&gt;
----&lt;br /&gt;
When asked which CORBA implementation RTT should use, choose the default, &amp;#039;&amp;#039;omniorb&amp;#039;&amp;#039;.&lt;br /&gt;
----&lt;br /&gt;
I had a problem getting the Ruby gem &amp;#039;&amp;#039;rice&amp;#039;&amp;#039; installed. Turns out you need to run the install command for &amp;#039;&amp;#039;rice&amp;#039;&amp;#039; as root and it will be installed in the central gems repository instead of the Rock gems repo.&lt;br /&gt;
&amp;lt;pre class=&amp;quot;terminal&amp;quot;&amp;gt;&lt;br /&gt;
sudo /usr/bin/ruby2.3 -S gem2.3 install --no-user-install --no-format-executable --no-rdoc --no-ri rice&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
After &amp;#039;&amp;#039;rice&amp;#039;&amp;#039; is installed continue building with&lt;br /&gt;
&amp;lt;pre class=&amp;quot;terminal&amp;quot;&amp;gt;&lt;br /&gt;
source env.sh; autoproj build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
The build of orogen fails if a version of GCC other than 4.9 is installed. This is due to the choice of GCCXML as xml loader. Edit autoproj/init.rb and append the line&lt;br /&gt;
&amp;lt;pre class=&amp;quot;code&amp;quot;&amp;gt;&lt;br /&gt;
Autoproj.env_set &amp;#039;TYPELIB_CXX_LOADER&amp;#039;, &amp;#039;castxml&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
in order to select &amp;#039;&amp;#039;castxml&amp;#039;&amp;#039; instead. Note that &amp;#039;&amp;#039;autoproj/init.rb&amp;#039;&amp;#039; is only created when &amp;#039;&amp;#039;sh bootstrap.sh&amp;#039;&amp;#039; has been called before.&lt;br /&gt;
----&lt;br /&gt;
If you encounter the linkage error &amp;quot;&amp;#039;&amp;#039;cannot find -lippicv&amp;#039;&amp;#039;&amp;quot; then make sure [[OpenCV]] has been built with the cmake option &amp;#039;&amp;#039;-DWITH_IPP=ON&amp;#039;&amp;#039; such that the third-party static library &amp;#039;&amp;#039;libippicv.a&amp;#039;&amp;#039; is installed and linked against. The default location is &amp;#039;&amp;#039;/usr/local/share/OpenCV/3rdparty/lib/&amp;#039;&amp;#039;.&lt;br /&gt;
&amp;lt;pre class=&amp;quot;code&amp;quot;&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/share/OpenCV/3rdparty/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Also edit &amp;#039;&amp;#039;perception/frame_helper/CMakeLists.txt&amp;#039;&amp;#039; to add the same library path&lt;br /&gt;
&amp;lt;pre class=&amp;quot;code&amp;quot;&amp;gt;&lt;br /&gt;
LINK_DIRECTORIES( ${LINK_DIRECTORIES} /usr/local/share/OpenCV/3rdparty/lib )&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
Start a clean build by removing the autoproj folder and running the boostrap script:&lt;br /&gt;
&amp;lt;pre class=&amp;quot;terminal&amp;quot;&amp;gt;&lt;br /&gt;
rm -rf autoproj&lt;br /&gt;
sh bootstrap.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
After bootstrapping new builds are started by&lt;br /&gt;
&amp;lt;pre class=&amp;quot;terminal&amp;quot;&amp;gt;&lt;br /&gt;
autoproj build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kai</name></author>
	</entry>
</feed>