|
|
@ -12,8 +12,6 @@ engine. For more information, see README.txt or
|
|
|
|
Installation from source
|
|
|
|
Installation from source
|
|
|
|
========================
|
|
|
|
========================
|
|
|
|
|
|
|
|
|
|
|
|
(this file is NOT complete!)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Supported Unix platforms:
|
|
|
|
Supported Unix platforms:
|
|
|
|
-------------------------
|
|
|
|
-------------------------
|
|
|
@ -22,8 +20,8 @@ The only Unix operating system that has been tested and is known to
|
|
|
|
work is 32bit Ubuntu Linux 8.04.
|
|
|
|
work is 32bit Ubuntu Linux 8.04.
|
|
|
|
|
|
|
|
|
|
|
|
FreeBSD works partially, but you have to recompile most of the
|
|
|
|
FreeBSD works partially, but you have to recompile most of the
|
|
|
|
dependencies as well. There is a bug in the compiler can breaks
|
|
|
|
dependencies as well. There is a bug in the compiler however, that
|
|
|
|
exceptions though, so if anything goes wrong you probably will not get
|
|
|
|
breaks exceptions. So if anything goes wrong you probably will not get
|
|
|
|
any sensible error message.
|
|
|
|
any sensible error message.
|
|
|
|
|
|
|
|
|
|
|
|
Linux 64 bit is known NOT to work at the moment.
|
|
|
|
Linux 64 bit is known NOT to work at the moment.
|
|
|
@ -32,6 +30,7 @@ If you manage to build OpenMW on a platform not listed here, or want
|
|
|
|
to try, please let me know!
|
|
|
|
to try, please let me know!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Dependencies:
|
|
|
|
Dependencies:
|
|
|
|
-------------
|
|
|
|
-------------
|
|
|
|
|
|
|
|
|
|
|
@ -44,44 +43,38 @@ gcc and g++ (C++ compiler)
|
|
|
|
GNU make (build tool for C++ files)
|
|
|
|
GNU make (build tool for C++ files)
|
|
|
|
DMD 1.031 (D compiler)
|
|
|
|
DMD 1.031 (D compiler)
|
|
|
|
or GDC 4.1.3 (alternative D compiler)
|
|
|
|
or GDC 4.1.3 (alternative D compiler)
|
|
|
|
Monster 0.8 (scripting language and tools)
|
|
|
|
|
|
|
|
DSSS 0.75 (D build tool)
|
|
|
|
|
|
|
|
curl (for DSSS)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The above versions are the ones I have tested recently, but other
|
|
|
|
The above versions are the ones I have tested recently, but other
|
|
|
|
versions might work. OGRE, Audiere and OIS will require their own set
|
|
|
|
versions might work. OGRE, Audiere and OIS will require their own set
|
|
|
|
of dependencies. I recommend using an automated package tool to
|
|
|
|
of dependencies. I recommend using an automated package tool to
|
|
|
|
install as many of these as possible. On ubuntu, try typing:
|
|
|
|
install as many of these as possible. On ubuntu, try typing:
|
|
|
|
|
|
|
|
|
|
|
|
sudo apt-get install libogre-dev libaudiere-dev libois-dev build-essential g++ curl gdc
|
|
|
|
sudo apt-get install libogre-dev libaudiere-dev libois-dev build-essential g++ gdc
|
|
|
|
|
|
|
|
If you want to install Ogre, Audiere or OIS manually, try:
|
|
|
|
|
|
|
|
|
|
|
|
This takes care of OGRE, Audiere, OIS, the C and D compilers, make and
|
|
|
|
OGRE: http://ogre3d.org
|
|
|
|
curl. The rest have to be installed manually. This will give you the
|
|
|
|
Audiere: http://audiere.sourceforge.net/
|
|
|
|
GDC (frontend for GCC) compiler.
|
|
|
|
OIS: http://sourceforge.net/projects/wgois/
|
|
|
|
|
|
|
|
|
|
|
|
The "official" compiler, DMD, is updated more often, but both should
|
|
|
|
|
|
|
|
work. Note however that DMD is only available on 32 bit Linux - other
|
|
|
|
|
|
|
|
operating systems or architectures will have to use GDC. (However GDC
|
|
|
|
|
|
|
|
might also be unstable on these platforms.)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If you want to use DMD instead, go to
|
|
|
|
|
|
|
|
http://digitalmars.com/d/1.0/dmd-linux.html
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
You can find the two remaining dependencies here:
|
|
|
|
Choosing a D compiler
|
|
|
|
|
|
|
|
---------------------
|
|
|
|
|
|
|
|
|
|
|
|
DSSS: http://svn.dsource.org/projects/dsss/downloads/
|
|
|
|
The above apt-get command installs the GDC compiler. There are
|
|
|
|
Monster: http://monster.snaptoad.com/download.html
|
|
|
|
currently two choices for the D compiler, DMD and GDC. DMD is the
|
|
|
|
|
|
|
|
"official" compiler and is updated more often, while GDC is a
|
|
|
|
|
|
|
|
completely open source frontend to GCC (The GNU compiler.) Both should
|
|
|
|
|
|
|
|
work equally well with OpenMW.
|
|
|
|
|
|
|
|
|
|
|
|
If you are using a DSSS binary and not compiling from source (I
|
|
|
|
If you want to use DMD instead, it can be found at:
|
|
|
|
recommend the binary), make sure to get one that matches your D
|
|
|
|
http://digitalmars.com/d/1.0/dmd-linux.html
|
|
|
|
compiler. Ie. get the GDC version if you installed GDC, and the DMD
|
|
|
|
|
|
|
|
version for DMD.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If you want to install Ogre, Audiere or OIS manually as well, try:
|
|
|
|
Note that DMD is only available on 32 bit Linux - other operating
|
|
|
|
|
|
|
|
systems or architectures will have to use GDC. However GDC might be
|
|
|
|
|
|
|
|
unstable on these platforms as well, even if it runs.
|
|
|
|
|
|
|
|
|
|
|
|
OGRE: http://ogre3d.org
|
|
|
|
|
|
|
|
Audiere: http://audiere.sourceforge.net/
|
|
|
|
|
|
|
|
OIS: http://sourceforge.net/projects/wgois/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Building:
|
|
|
|
Building:
|
|
|
@ -89,22 +82,16 @@ Building:
|
|
|
|
|
|
|
|
|
|
|
|
After installing all the dependencies, you can try running make first
|
|
|
|
After installing all the dependencies, you can try running make first
|
|
|
|
to see if the C++ parts compile. You may need to alter the Makefile if
|
|
|
|
to see if the C++ parts compile. You may need to alter the Makefile if
|
|
|
|
you are using non-standard include paths, etc. When you are ready to
|
|
|
|
you are using non-standard include paths, etc. If you have DSSS
|
|
|
|
compile the D parts and link it all together, type:
|
|
|
|
installed (a D build tool), type:
|
|
|
|
|
|
|
|
|
|
|
|
dsss build
|
|
|
|
dsss build
|
|
|
|
|
|
|
|
|
|
|
|
If something goes terribly wrong during the build (which isn't
|
|
|
|
If you do NOT have DSSS, you can compile using the script
|
|
|
|
unlikely), and you figure out how to solve it, I would appreciate if
|
|
|
|
|
|
|
|
you told me about it so I could update these instructions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
./build_openmw.sh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(Currently only works with the GDC compiler)
|
|
|
|
Installation from binary
|
|
|
|
|
|
|
|
========================
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(not written yet - we might as well create a .deb file)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|