Install

From The Player Project

(Difference between revisions)
Jump to: navigation, search
(Undo revision 4132 by Ybysavozy (Talk))
 
Line 1: Line 1:
-
----
+
 
-
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
+
-
----
+
-
=[http://ynejynezex.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=
+
-
----
+
-
=[http://ynejynezex.co.cc CLICK HERE]=
+
-
----
+
-
</div>
+
-
----
+
-
&lt;div style=&quot;background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;&quot;&gt;
+
-
----
+
-
=[http://ynejynezex.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=
+
-
----
+
-
=[http://ynejynezex.co.cc CLICK HERE]=
+
-
----
+
-
&lt;/div&gt;
+
= Installation Instructions for Gazebo =
= Installation Instructions for Gazebo =
Line 24: Line 9:
#The first step is to install packages that Gazebo requires. Each of the following packages may require other libraries. Follow the install directions for each package, or use your systems package management system (assuming it provides the proper versions).
#The first step is to install packages that Gazebo requires. Each of the following packages may require other libraries. Follow the install directions for each package, or use your systems package management system (assuming it provides the proper versions).
-
#* freeimage &amp;gt;=3.10: http://freeimage.sourceforge.net/
+
#* freeimage &gt;=3.10: http://freeimage.sourceforge.net/
#* ogre 1.70: http://www.ogre3d.org/
#* ogre 1.70: http://www.ogre3d.org/
#* ode 0.11.1: http://ode.org/
#* ode 0.11.1: http://ode.org/
#** Preferred configuration: $ ./configure --with-trimesh=opcode --enable-new-trimesh --disable-demos --enable-shared --with-arch=nocona --enable-release --enable-malloc --enable-ou --disable-asserts --with-pic
#** Preferred configuration: $ ./configure --with-trimesh=opcode --enable-new-trimesh --disable-demos --enable-shared --with-arch=nocona --enable-release --enable-malloc --enable-ou --disable-asserts --with-pic
-
#* boost &amp;gt;=1.35: http://boost.org
+
#* boost &gt;=1.35: http://boost.org
#* fltk 1.1: http://fltk.org
#* fltk 1.1: http://fltk.org
#Download gazebo:
#Download gazebo:
Line 35: Line 20:
#:$ svn co https://playerstage.svn.sourceforge.net/svnroot/playerstage/code/gazebo/trunk gazebo
#:$ svn co https://playerstage.svn.sourceforge.net/svnroot/playerstage/code/gazebo/trunk gazebo
#Configure gazebo:  
#Configure gazebo:  
-
#:$ cd gazebo-&amp;lt;version&amp;gt;  
+
#:$ cd gazebo-&lt;version&gt;  
#:$ mkdir build  
#:$ mkdir build  
#:$ cd build  
#:$ cd build  
Line 58: Line 43:
# 3rd Party Prerequisites
# 3rd Party Prerequisites
#* pkg-config: http://pkg-config.freedesktop.org/wiki/
#* pkg-config: http://pkg-config.freedesktop.org/wiki/
-
:::$ tar zxvf pkg-config-&amp;lt;version&amp;gt;.tar.gz&amp;lt;br&amp;gt;
+
:::$ tar zxvf pkg-config-&lt;version&gt;.tar.gz&lt;br&gt;
-
:::$ cd pkg-config-&amp;lt;version&amp;gt;&amp;lt;br&amp;gt;
+
:::$ cd pkg-config-&lt;version&gt;&lt;br&gt;
-
:::$ ./configure&amp;lt;br&amp;gt;
+
:::$ ./configure&lt;br&gt;
-
:::$ sudo make install&amp;lt;br&amp;gt;
+
:::$ sudo make install&lt;br&gt;
#* zziplib: http://zziplib.sourceforge.ne
#* zziplib: http://zziplib.sourceforge.ne
-
:::$ tar jxvf zziplib-&amp;lt;version&amp;gt;.tar.bz2
+
:::$ tar jxvf zziplib-&lt;version&gt;.tar.bz2
-
:::$ cd zziplib-&amp;lt;version&amp;gt;
+
:::$ cd zziplib-&lt;version&gt;
:::$ ./configure
:::$ ./configure
:::$ sudo make install
:::$ sudo make install
:::$ sudo sed -i -e 's/${datarootdir}/\/usr\/local\/share' /usr/local/lib/pkgconfig/zziplib.pc
:::$ sudo sed -i -e 's/${datarootdir}/\/usr\/local\/share' /usr/local/lib/pkgconfig/zziplib.pc
#* freeimage: http://freeimage.sourceforge.net/
#* freeimage: http://freeimage.sourceforge.net/
-
:::$ unzip FreeImage&amp;lt;version&amp;gt;.zip
+
:::$ unzip FreeImage&lt;version&gt;.zip
:::$ cd FreeImage
:::$ cd FreeImage
:::$ cp Makefile.gnu Makefile.osx
:::$ cp Makefile.gnu Makefile.osx
-
:::$ sed -e 's/$(CC) -s -shared -Wl,-soname,$(VERLIBNAME) -o $@ $(MODULES) $(LIBRARIES)/$(CC) -s -dynamiclib -o $@ $(MODULES) $(LIBRARIES)/' -e 's/-g root/-g wheel/g' Makefile.gnu &amp;gt; Makefile.osx
+
:::$ sed -e 's/$(CC) -s -shared -Wl,-soname,$(VERLIBNAME) -o $@ $(MODULES) $(LIBRARIES)/$(CC) -s -dynamiclib -o $@ $(MODULES) $(LIBRARIES)/' -e 's/-g root/-g wheel/g' Makefile.gnu &gt; Makefile.osx
:::$ make
:::$ make
:::$ sudo make install
:::$ sudo make install
Line 82: Line 67:
:::$ sudo make install
:::$ sudo make install
#* ogre: http://www.ogre3d.org/
#* ogre: http://www.ogre3d.org/
-
:::$ tar jxvf ogre-&amp;lt;version.tar.bz2
+
:::$ tar jxvf ogre-&lt;version.tar.bz2
:::$ cd ogre
:::$ cd ogre
:::$ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
:::$ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
-
:::$ sed -i -e 's/&amp;lt;Ogre\/OgrePrerequisites.h&amp;gt;/\&amp;quot;OgrePrerequisites.h\&amp;quot;/' OgreMain/include/OSX/OgreTimerImp.h
+
:::$ sed -i -e 's/&lt;Ogre\/OgrePrerequisites.h&gt;/\&quot;OgrePrerequisites.h\&quot;/' OgreMain/include/OSX/OgreTimerImp.h
-
:::$ sed -i -e &amp;quot;s/macPlugins.h/..\/..\/Mac\/Ogre\/include\/macPlugins.h/&amp;quot; OgreMain/src/OgreDynLib.cpp
+
:::$ sed -i -e &quot;s/macPlugins.h/..\/..\/Mac\/Ogre\/include\/macPlugins.h/&quot; OgreMain/src/OgreDynLib.cpp
-
:::$ sed -i -e &amp;quot;s/static OSStatus/\/\/static OSStatus/&amp;quot; OgreMain/include/OgreWindowEventUtilities.h
+
:::$ sed -i -e &quot;s/static OSStatus/\/\/static OSStatus/&quot; OgreMain/include/OgreWindowEventUtilities.h
:::$ sed -i -e 's/Plugin_BSPSceneManager_la_LDFLAGS = -module $(PLUGIN_FLAGS) -L$(top_builddir)\/OgreMain\/src -Wl,-z,defs/Plugin_BSPSceneManager_la_LDFLAGS = -module $(PLUGIN_FLAGS) -L$(top_builddir)\/OgreMain\/src/' PlugIns/BSPSceneManager/src/Makefile.in
:::$ sed -i -e 's/Plugin_BSPSceneManager_la_LDFLAGS = -module $(PLUGIN_FLAGS) -L$(top_builddir)\/OgreMain\/src -Wl,-z,defs/Plugin_BSPSceneManager_la_LDFLAGS = -module $(PLUGIN_FLAGS) -L$(top_builddir)\/OgreMain\/src/' PlugIns/BSPSceneManager/src/Makefile.in
:::$ sed -i -e 's/Plugin_ParticleFX_la_LDFLAGS = -module $(PLUGIN_FLAGS) -L$(top_builddir)\/OgreMain\/src -Wl,-z,defs/Plugin_ParticleFX_la_LDFLAGS = -module $(PLUGIN_FLAGS) -L$(top_builddir)\/OgreMain\/src/' PlugIns/ParticleFX/src/Makefile.in
:::$ sed -i -e 's/Plugin_ParticleFX_la_LDFLAGS = -module $(PLUGIN_FLAGS) -L$(top_builddir)\/OgreMain\/src -Wl,-z,defs/Plugin_ParticleFX_la_LDFLAGS = -module $(PLUGIN_FLAGS) -L$(top_builddir)\/OgreMain\/src/' PlugIns/ParticleFX/src/Makefile.in

Latest revision as of 03:10, 27 November 2010

Contents

Installation Instructions for Gazebo

Below are instructions for both Linux and Max OSX. These instructions build everything from source. If your linux distribution has a package management system (such as apt or emerge), then you should try using that method to install the 3rd party libraries.

Linux

Note: For Ubuntu 10.04, step by step installation instructions can be found here.

  1. The first step is to install packages that Gazebo requires. Each of the following packages may require other libraries. Follow the install directions for each package, or use your systems package management system (assuming it provides the proper versions).
  2. Download gazebo:
    • Get a versioned release, and unpack the distribution.
    • Or get the SVN version of gazebo:
    $ svn co https://playerstage.svn.sourceforge.net/svnroot/playerstage/code/gazebo/trunk gazebo
  3. Configure gazebo:
    $ cd gazebo-<version>
    $ mkdir build
    $ cd build
    $ cmake ../
  4. Make gazebo:
    $ make
  5. Install gazebo:
    $ sudo make install

Troubleshooting the Install

It is assumed that you have been able to install all the 3rd party packages. If you experience problems with this step, contact the maintainers of the associated package(s).

  1. If gazebo doesn't compile:
    1. Check the output of the configure step. Resolve all errors by installing the necessary 3rd party packages.
    2. Make sure that the 3rd party packages are the correct versions.
    3. Remove old versions of gazebo.
    4. Search the mailing list for your problem.
    5. If all else fails, post a message to the mailing list

Mac OSX

  1. 3rd Party Prerequisites
$ tar zxvf pkg-config-<version>.tar.gz<br>
$ cd pkg-config-<version><br>
$ ./configure<br>
$ sudo make install<br>
$ tar jxvf zziplib-<version>.tar.bz2
$ cd zziplib-<version>
$ ./configure
$ sudo make install
$ sudo sed -i -e 's/${datarootdir}/\/usr\/local\/share' /usr/local/lib/pkgconfig/zziplib.pc
$ unzip FreeImage<version>.zip
$ cd FreeImage
$ cp Makefile.gnu Makefile.osx
$ sed -e 's/$(CC) -s -shared -Wl,-soname,$(VERLIBNAME) -o $@ $(MODULES) $(LIBRARIES)/$(CC) -s -dynamiclib -o $@ $(MODULES) $(LIBRARIES)/' -e 's/-g root/-g wheel/g' Makefile.gnu > Makefile.osx
$ make
$ sudo make install
$ svn co https://opende.svn.sourceforge.net/svnroot/opende/trunk opende
$ cd opende
$ sh autogen.sh
$ ./configure; make
$ sudo make install
$ tar jxvf ogre-<version.tar.bz2
$ cd ogre
$ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
$ sed -i -e 's/<Ogre\/OgrePrerequisites.h>/\"OgrePrerequisites.h\"/' OgreMain/include/OSX/OgreTimerImp.h
$ sed -i -e "s/macPlugins.h/..\/..\/Mac\/Ogre\/include\/macPlugins.h/" OgreMain/src/OgreDynLib.cpp
$ sed -i -e "s/static OSStatus/\/\/static OSStatus/" OgreMain/include/OgreWindowEventUtilities.h
$ sed -i -e 's/Plugin_BSPSceneManager_la_LDFLAGS = -module $(PLUGIN_FLAGS) -L$(top_builddir)\/OgreMain\/src -Wl,-z,defs/Plugin_BSPSceneManager_la_LDFLAGS = -module $(PLUGIN_FLAGS) -L$(top_builddir)\/OgreMain\/src/' PlugIns/BSPSceneManager/src/Makefile.in
$ sed -i -e 's/Plugin_ParticleFX_la_LDFLAGS = -module $(PLUGIN_FLAGS) -L$(top_builddir)\/OgreMain\/src -Wl,-z,defs/Plugin_ParticleFX_la_LDFLAGS = -module $(PLUGIN_FLAGS) -L$(top_builddir)\/OgreMain\/src/' PlugIns/ParticleFX/src/Makefile.in
$ sed -i -e 's/Plugin_OctreeSceneManager_la_LDFLAGS = -module $(PLUGIN_FLAGS) -L$(top_builddir)\/OgreMain\/src -Wl,-z,defs/Plugin_OctreeSceneManager_la_LDFLAGS = -module $(PLUGIN_FLAGS) -L$(top_builddir)\/OgreMain\/src/' PlugIns/OctreeSceneManager/src/Makefile.in
$ sed -i -e 's/Plugin_PCZSceneManager_la_LDFLAGS = -module $(PLUGIN_FLAGS) -L$(top_builddir)\/OgreMain\/src -Wl,-z,defs/Plugin_PCZSceneManager_la_LDFLAGS = -module $(PLUGIN_FLAGS) -L$(top_builddir)\/OgreMain\/src/' PlugIns/PCZSceneManager/src/Makefile.in
$ sed -i -e 's/Plugin_OctreeZone_la_LDFLAGS = -module $(PLUGIN_FLAGS) -L$(top_builddir)\/OgreMain\/src -Wl,-z,defs/Plugin_OctreeZone_la_LDFLAGS = -module $(PLUGIN_FLAGS) -L$(top_builddir)\/OgreMain\/src/' PlugIns/OctreeZone/src/Makefile.in
$ ./configure --disable-cg
$ make
$ make install
Personal tools