Difference between revisions of "OldOgreInstallNotes"
Ghoulsblade (Talk | contribs) |
Ghoulsblade (Talk | contribs) m (Installation moved to OldOgreInstallNotes) |
||
(21 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | 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 == | == Linux == | ||
− | * you need ogre3d (see below) | + | * 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. | ||
+ | |||
+ | [[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" | ||
+ | |||
− | |||
<pre> | <pre> | ||
− | + | 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/ | + | |
+ | # 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. | + | tar xfj zziplib-0.13.47.tar.bz2 |
− | cd zziplib-0. | + | cd zziplib-0.13.47 |
./configure | ./configure | ||
− | make && make check | + | 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. | + | tar xfz DevIL-1.6.8-rc2.tar.gz |
− | cd DevIL-1.6. | + | cd DevIL-1.6.8-rc2 |
./configure | ./configure | ||
− | make | + | make |
+ | sudo make install | ||
− | |||
− | |||
# 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
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");
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