Ubuntu-Linux Users: Difference between revisions
From SpaceElevatorWiki.com
Jump to navigationJump to search
No edit summary |
|||
Line 11: | Line 11: | ||
=== From Ogre3D source package === | === From Ogre3D source package === | ||
[[ | [[Install_Ogre_From_Source|Instructions here]] | ||
=== From Ubuntu's source package === | === From Ubuntu's source package === |
Revision as of 08:41, 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
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