Difference between revisions of "Ubuntu-Linux Users"

From SpaceElevatorWiki.com
(Ogre)
Line 3: Line 3:
 
== Ogre ==
 
== Ogre ==
  
Get Ogre source >= 1.4.9 and install to your system.
+
Ubuntu ships a version of Ogre compiled without Cg support. Thus requiring manual installation.
  
(the following doesn't seems to work)
+
There are two options:
 +
* from Ubuntu's source package if Ogre version there is >= 1.4.9 (cleaner since you'll have a deb file installed, which will be easier to uninstall).
 +
* from Ogre3D source package.
 +
 
 +
=== From Ogre3D source package ===
 +
 
 +
[[Install Ogre and OgreDotNet|Instructions here]]
 +
 
 +
=== From Ubuntu's source package ===
  
 
As usual, you must install dependencies:
 
As usual, you must install dependencies:
Line 17: Line 25:
  
 
  apt-get source libogre14
 
  apt-get source libogre14
  cd ogre-1.4.5
+
  cd ogre-1.4.9
  
 
Edit debian/rules, replace --disable-cg by --enable-cg (line 39). Then:
 
Edit debian/rules, replace --disable-cg by --enable-cg (line 39). Then:

Revision as of 07:36, 27 February 2009

Page in progress

Ogre

Ubuntu ships a version of Ogre compiled without Cg support. Thus requiring manual installation.

There are two options:

  • from Ubuntu's source package if Ogre version there is >= 1.4.9 (cleaner since you'll have a deb file installed, which will be easier to uninstall).
  • from Ogre3D source package.

From Ogre3D source package

Instructions here

From Ubuntu's source package

As usual, you must install dependencies:

sudo aptitude install libzzip-dev libzzip-0-13 libxaw-headers libxmu-dev \
      libxmu-headers libxpm-dev libfreeimage-dev libfreeimage3 libxrandr \
      nvidia-cg-toolkit libfreetype6-dev libxaw7-dev quilt libopenexr-dev \
      libcegui-mk2-dev

Then get source package (note, it download and extract into current directory so take care to create a folder on work from it for the created "mess").

apt-get source libogre14
cd ogre-1.4.9

Edit debian/rules, replace --disable-cg by --enable-cg (line 39). Then:

dpkg-buildpackage -rfakeroot -uc -b

Then install generated packages:

cd ..
sudo dpkg -i *.deb

OgreDotNet

sudo aptitude install swig cmake nant libmono-winforms2.0-cil
svn checkout http://ogredotnet.googlecode.com/svn/trunk/ ogredotnet-read-only 
cd ogredotnet-read-only
bash ./build.sh

OIS

sudo aptitude install libois1 libois-dev 

MyGUI

sudo aptitude install uuid-dev uuid libfreetype6-dev libfreetype6
svn co https://my-gui.svn.sourceforge.net/svnroot/my-gui/trunk my-gui  
cd my-gui
sh bootstrap
./configure --prefix=/usr
make
sudo make install