Difference between revisions of "OldOgreInstallNotes"

From SfzWiki
Jump to: navigation, search
(OGRE)
m (Installation moved to OldOgreInstallNotes)
 
(12 intermediate revisions by one user 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) (Version 1.2.0 (Dagon) or later)
+
* on linux you have to compile sfz yourself until we find a maintainer, see [[Building_from_source]]
* so far only svn access to the source, no direct download
+
* you need ogre3d (see below) (Version 1.4.0 (Eihort) or later)
* SVN path: svn://zwischenwelt.org/sfz
+
  
=== OGRE ===
+
== 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)
 
[[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)
Line 28: Line 14:
 
maybe try rtt hack ?
 
maybe try rtt hack ?
 
currently i am trying that "./configure --with-platform=SDL"  
 
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"
 +
 +
  
 
<pre>
 
<pre>
apt-get install libpng12-0 libpng12-dev libjpeg62 libjpeg62-dev
 
apt-get install freetype2 libzzip-0-12 libzzip-dev zziplib-bin
 
 
apt-get install  build-essential
 
apt-get install  build-essential
 
apt-get install libssl-dev libtool
 
apt-get install libssl-dev libtool
Line 39: Line 28:
 
apt-get install libmng-dev
 
apt-get install libmng-dev
 
feta install libxrandr-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
  
# this one is tricky : libtiff4-dev
 
apt-get install libtiff4-dev  # will fail, but do it
 
#no idea so far...
 
  
apt-get install libfreetype6-dev   # see "ubuntu dependency problem" below
+
# 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  
# ubuntu dependency problem :
+
apt-get install libdevil1 libdevil-dev
# PROBLEM : apt-get install something  fails :
+
apt-get install libsdl1.2-dev
# ERRORMSG :                Depends: libglib2.0-0 (=2.10.2-1ubuntu3) but 2.10.3-0ubuntu1 is to be installed
+
# SOLUTION:  dpkg --force-depends -r libglib2.0-0
+
# download libglib2.0-dev
+
# from http://packages.ubuntu.com/dapper/libdevel/libglib2.0-dev  or so
+
# rightclick downloaded file, choose install
+
# apt-get -f install
+
# apt-get install something    # should work now
+
# solution based on http://ubuntuforums.org/showthread.php?t=199228
+
# idea : maybe activate security / update source in sources.list
+
  
  
#apt-get install libdevil1 libdevil-dev ?? might help fix dependencies for devil ?
 
  
 
# get Cg from http://developer.nvidia.com/object/cg_toolkit.html , unpack to root "/" to install
 
# get Cg from http://developer.nvidia.com/object/cg_toolkit.html , unpack to root "/" to install
Line 89: Line 67:
 
sudo make install
 
sudo make install
  
# install sdl with apt-get
 
apt-get install libsdl1.2-dev
 
# got some trouble with that on ubuntu, here is help : http://ubuntuforums.org/showthread.php?t=199228 (the post with #a 4 step solution)
 
#hello all, I had the same problem in dapper 6.06 and fixed it by
 
#(please perform all the steps you may think some are not neccessary but they will configure apt-get -f install in step #4)
 
#1)sudo apt-get install libsdl1.2-dev (but it fails)
 
#2)sudo dpkg --force-depends -r libglib2.0-0(this will remove libglib)
 
#3)downloaded libglib2.0-dev(http://packages.ubuntu.com/dapper/libdevel/libglib2.0-dev) and tried to install it(but it #failed)
 
#4)apt-get -f install(it will do everything and remove the package which was causing the problem which is #libglib2.0-data or something like that and install the downloaded libglib and download libartsc0-dev from the net and #at last download libsdl1.2-dev and install it)
 
#Hope it helps and plz do all the steps for it to work.
 
  
 
# get ogre source from http://ogre3d.org
 
# get ogre source from http://ogre3d.org
Line 114: Line 82:
 
</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
 
[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

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