Difference between revisions of "Ubuntu-Linux Users"

From SpaceElevatorWiki.com
(From Ubuntu's source package)
Line 12: Line 12:
  
 
[[Install_Ogre_From_Source|Instructions here]]
 
[[Install_Ogre_From_Source|Instructions here]]
 
=== From Ubuntu's source package (if running Ubuntu 9.04) ===
 
 
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 ==
 
== OgreDotNet ==

Revision as of 11:26, 19 March 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

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