Difference between revisions of "OldOgreInstallNotes"

From SfzWiki
Jump to: navigation, search
(Controlls)
m (Installation moved to OldOgreInstallNotes)
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=== Commandline Parameters ===
+
see also [[User_Manual]]
* -n : disable sound (sound engine currently crashes on exit)
+
* -h 7777 : host (and participate) a game on port 7777
+
* -d 7777 : start a dedicated server
+
* -j localhost:7777  : connect to a game running on "localhost" on port 7777
+
  
when using none of the -h,-d and -j switches, a local game is started.
+
OBSOLETE ! this page only contains old notes for building ogre, but you might be better off following the readme that comes with ogre.
 
+
=== Controls ===
+
* w : accelerate forward (main thrust)
+
* s : accelerate backwards (reverse thrust)
+
* a : accelerate left (strafe)
+
* d : accelerate right (strafe)
+
* mouseclick : fire instant-kill weapon (no graphic feedback yet, target simply disappears on hit)
+
* mouseclick : respawn
+
* q : debug : reset ship position and rotation to start
+
* e : debug : set speed to zero
+
  
 
== Linux ==
 
== Linux ==
* you need ogre3d (see below)
+
* on linux you have to compile sfz yourself until we find a maintainer, see [[Building_from_source]]
* nothing to install yet (TODO : svn path for anonymous access ??)
+
* you need ogre3d (see below) (Version 1.4.0 (Eihort) or later)
 +
 
 +
== OGRE ==
 +
this guide is quite old, we suggest following the build instructions that come with ogre, and only read this here if you have problems.
 +
 
 +
[[User:Ghoulsblade|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"
 +
 
 +
 
 +
[[User:Ghoulsblade|Ghoulsblade]] 00:48, 22 October 2006 (CEST): update : it worked fine with "./configure --with-platform=SDL"
 +
 
  
=== OGRE ===
 
  
 
<pre>
 
<pre>
here is what worked for me, (knoppix 4.0.2 debian installation, with 2.6.13 kernel)
+
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
  
# get Cg from http://developer.nvidia.com/cg, unpack to root "/" to install
+
 
 +
# 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 /
 
cd /
tar xfz Cg-1.4.0-3_x86.tar.gz
+
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
 
# 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
 
cd /usr/src
tar xfj zziplib-0.12.83.tar.bz2
+
tar xfj zziplib-0.13.47.tar.bz2
cd zziplib-0.12.83
+
cd zziplib-0.13.47
 
./configure
 
./configure
make && make check && make install
+
make && make check  
 +
sudo make install
 +
 
  
 
# get DevIL source from http://openil.sourceforge.net/
 
# 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
 
cd /usr/src
tar xfz DevIL-1.6.7.tar.gz
+
tar xfz DevIL-1.6.8-rc2.tar.gz
cd DevIL-1.6.7
+
cd DevIL-1.6.8-rc2
 
./configure
 
./configure
make && make install
+
make
 +
sudo make install
  
# install sdl with apt-get
 
apt-get install libsdl1.2-dev
 
  
 
# get ogre source from http://ogre3d.org
 
# get ogre source from http://ogre3d.org
Line 51: Line 72:
 
aclocal
 
aclocal
 
./bootstrap
 
./bootstrap
./configure
+
./configure --with-platform=SDL
 +
# i first tried without sdl, but only got a blank screen after the graphical resolution chooser
 
make
 
make
 
make install
 
make install
Line 59: Line 81:
 
./SkyBox
 
./SkyBox
 
</pre>
 
</pre>
 +
 +
 +
 +
 +
 +
[[Notes for Ubuntu]]
 +
 +
[http://www.ogre3d.org/index.php?option=com_remository&Itemid=74&func=fileinfo&filecatid=44&parent=category 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]]
 
[[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

Latest revision as of 20:43, 12 August 2007

see also User_Manual

OBSOLETE ! this page only contains old notes for building ogre, but you might be better off following the readme that comes with ogre.

Linux

  • on linux you have to compile sfz yourself until we find a maintainer, see Building_from_source
  • you need ogre3d (see below) (Version 1.4.0 (Eihort) or later)

OGRE

this guide is quite old, we suggest following the build instructions that come with ogre, and only read this here if you have problems.

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