OldOgreInstallNotes

From SfzWiki
Revision as of 20:20, 12 August 2007 by Ghoulsblade (Talk | contribs)

Jump to: navigation, search

see also User_Manual

Linux

  • you need ogre3d (see below) (Version 1.4.0 (Eihort) or later)

OGRE

Ghoulsblade 23:23, 21 October 2006 (CEST) : here is what i am currently trying, (fresh kubuntu 6.06.1 kernel 2.6.15-26-386) it compiles, links, installs and runs, but i only get a black screen after some graphical chooser.. maybe try rtt hack ? currently i am trying that "./configure --with-platform=SDL" Ghoulsblade 00:48, 22 October 2006 (CEST): update : it worked fine with "./configure --with-platform=SDL"


apt-get install  build-essential
apt-get install libssl-dev libtool
apt-get install libcppunit-dev
apt-get install libxaw7-dev
apt-get install libxxf86vm-dev
apt-get install libmng-dev
feta install libxrandr-dev
apt-get install libpng12-0 libpng12-dev libjpeg62 libjpeg62-dev
apt-get install freetype2 libzzip-0-12 libzzip-dev zziplib-bin


# you might run into problems with the following packets on ubuntu, please try to fix those problems on your own
apt-get install libfreetype6-dev
apt-get install libtiff4-dev 
apt-get install libdevil1 libdevil-dev
apt-get install libsdl1.2-dev



# get Cg from http://developer.nvidia.com/object/cg_toolkit.html , unpack to root "/" to install
# old url was : http://developer.nvidia.com/cg
# direkt link i used : http://developer.download.nvidia.com/cg/Cg_1.5/1.5.0/Cg-1.5_x86.tar.gz
cd /
tar xfz Cg-1.5_x86.tar.gz
# old file was Cg-1.4.0-3_x86.tar.gz

# get zziplib source from http://zziplib.sourceforge.net
# mirrorlist i used : http://prdownloads.sourceforge.net/zziplib/zziplib-0.13.47.tar.bz2?download
# old version zziplib-0.12.83.tar.bz2
cd /usr/src
tar xfj zziplib-0.13.47.tar.bz2
cd zziplib-0.13.47
./configure
make  && make check 
sudo make install


# get DevIL source from http://openil.sourceforge.net/
# mirrorlist i used : http://prdownloads.sourceforge.net/openil/DevIL-1.6.8-rc2.tar.gz
cd /usr/src
tar xfz DevIL-1.6.8-rc2.tar.gz
cd DevIL-1.6.8-rc2
./configure
make
sudo make install


# get ogre source from http://ogre3d.org
cd ogrenew
aclocal
./bootstrap
./configure --with-platform=SDL
# i first tried without sdl, but only got a blank screen after the graphical resolution chooser
make
make install
# add a line "/usr/local/lib" to /etc/ld.so.conf
/sbin/ldconfig
cd Samples/Common/bin/
./SkyBox



Notes for Ubuntu

Ogre 1.2 Source also works good with platform SDL, but you need to make sh bootstrap first and then ./configure --with-platform=SDL && make && make install. Without bootstrap make install caused errors. The OgreApi changed a bit, so you also need to replace the line with getSceneManager in client.cpp with the following

mSceneMgr = mRoot->createSceneManager(ST_GENERIC,"main");


more notes

http://www.ogre3d.org/wiki/index.php/Kubuntu_Install http://www.ogre3d.org/wiki/index.php/FromSourceUbuntu http://www.ogre3d.org/wiki/index.php/Installing_An_SDK#Ubuntu http://www.ogre3d.org/wiki/index.php/Building_From_Source#Ubuntu_.2F_Kubuntu

http://web.media.mit.edu/~phaeton/ogre/OgreUbuntuInstallNotes.html