' I do use Ogre 1.7.4 , didn't tried Ogre1.8.1, because it's says clear it won't work '
Danimal {l Wrote}:if you can, push the programing stuff down, and make what we have done more visible.
==Disclaimer==
The game is still in early alpha state and the functionality is still quite basic.
If you find any errors in this guide, or otherwise have problems compiling, please contact us on the forums or on IRC for help.
<span style="background:#FF0000"> '''NOTE: The folder structure of the game media was just changed, and the instructions are not proof-tested after this change. Please contact if there are any problems.'''</span>
==Prebuilt packages==
OpenDungeons currently has binary builds for Windows (msi-package) and Linux. These and older packages are available [http://sourceforge.net/projects/opendungeons/files here]. The 'Current Release' directory has the most recent stable versions of OpenDungeons.
On Windows you may need to install several other programs: [https://www.microsoft.com/downloads/en/details.aspx?FamilyID=3b170b25-abab-4bc3-ae91-50ceb6d8fa8d DirectX], [http://connect.creativelabs.com/openal/Downloads/ OpenAL], and [https://www.microsoft.com/downloads/en/details.aspx?familyid=A5C84275-3B97-4AB7-A40D-3802B2AF5FC2&displaylang=en Microsoft C/C++] runtime libraries.
===Ubuntu PPA (If running pre-oneiric Ubuntu)===
<span style="background:#FF0000"> '''Warning: These are not being maintained at this time and are therefore old releases.'''</span>
On Ubuntu the easiest way to install OpenDungeons is using [https://launchpad.net/~svenskmand/+archive/opendungeons our PPA], which depends on [https://launchpad.net/~andrewfenn/+archive/ogredev Andrew Fenns PPA], do the following in a terminal (you get to a terminal by hitting ALT+F2 and then type "gnome-terminal" without the quotes):
:: '''<code>sudo add-apt-repository ppa:andrewfenn/ogredev</code>'''
:: '''<code>sudo add-apt-repository ppa:svenskmand/opendungeons</code>'''
:: '''<code>sudo apt-get update</code>'''
:: '''<code>sudo apt-get install opendungeons</code>'''
===Gentoo ebuilds===
See [http://forum.freegamedev.net/viewtopic.php?f=41&t=1580 this] post.
==Building from Source==
OpenDungeons is Open Source project meaning the Source Code is freely available and can be compiled by anyone. Our Source Code is available via [https://sourceforge.net/scm/?type=git&group_id=233155 GIT and hosted by SourceForge]. There are two 'branches' of code available: The Master and Development branches.
===Master Branch===
The Master branch is the same version as what is in the current stable files mentioned in the 'Prebuilt packages' section above.
You can download a zip or tar ball via the [https://sourceforge.net/scm/?type=git&group_id=233155 SourceForge source code browser]. However, it is easier to stay upto date by installing and using Git, our Version Control System, to grab the source. The following command will create a copy of our repository:
:: '''<code>git clone git://opendungeons.git.sourceforge.net/gitroot/opendungeons/opendungeons</code>'''
The master branch is currently at the last commit before sound was added.
If you find any bugs in either the prebuilt binaries or in the git version you build yourself, please post them to the [https://sourceforge.net/tracker/?group_id=233155 bugtracker] on our sourceforge page.
===Development Branch===
The Development branch is code recently created by OpenDungeons programmers and is unstable and not fully tested. Developers and bug testers should grab this branch.
<span style="background:#FF0000"> '''NOTE to developers: To obtain write access leave a message here on the wiki, or in the [http://forum.freegamedev.net/viewforum.php?f=15 project forum] you will then need to clone the writable repository that will become available to you.'''</span>
After following the instructions for the master branch, you will then switch to the development branch using the following command:
:: '''<code>git checkout -b development remotes/origin/development</code>'''
===Build prerequisites===
OpenDungeons has a number of third party libraries. While some of the smaller libraries are included with the source code others will need to be installed/compiled separately. Note that second level items are dependencies of the first level items and are usually bundled or pulled in by the package manager automatically.
====Master Branch Prerequisites====
* G++ 4.6 or later
* SFML 1.5 or 1.6
** libsndfile
** openal
* Ogre 1.7 branch
** OIS
** freeimage required by ogre
* CEGUI 0.7 branch
* pthreads (included on windows, system on linux)
====Development Branch Prerequisites====
* G++ 4.7 or later
* Boost 1.49 or later
=== Detailed Build Instructions===
====Linux====
=====Compiling=====
CMake build type is not set, defaulting to 'Release'
The C compiler identification is GNU
The CXX compiler identification is GNU
Check for working C compiler: /usr/bin/gcc
Check for working C compiler: /usr/bin/gcc -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler: /usr/bin/c++
Check for working CXX compiler: /usr/bin/c++ -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Looking for OIS...
OIS_PREFIX_PATH changed.
checking for module 'OIS'
found OIS, version 1.3.0
Found OIS: optimized;/usr/lib/libOIS.so;debug;/usr/lib/libOIS.so
Looking for OGRE...
OGRE_PREFIX_WATCH changed.
checking for module 'OGRE'
package 'OGRE' not found
Could not locate OGRE
CMake Error at cmake/modules/FindPkgMacros.cmake:117 (message):
Required library OGRE not found! Install the library (including dev
packages) and try again. If the library is already installed, set the
missing variables manually in cmake.
Call Stack (most recent call first):
cmake/modules/FindOGRE.cmake:219 (findpkg_finish)
CMakeLists.txt:219 (find_package)
Configuring incomplete, errors occurred!
ii libogre1.8-dev 1.8.1-1~getdeb2 Object-oriented Graphics Rendering Engine (development files)
Can you tell what Ogre related paths cmake-gui is asking for ? ( I do not mean advanced ones ... ) .
domtron {l Wrote}:According to dpkg -l my ogre version is 1.8.1 and that it is from getdeb (I think that's non-standard)
[code]
Related to the wiki: I asked my brother, he is a web programmer/designer, what he thought of the page, I actually meant content but he gave me aesthetics, and the first thing he said was "there wasn't enough contrast between the background and the text." Maybe one of our artists could come up with a better color for the text so that it would fit the background better? just something I forgot to mention in my previous post.
I also remember having the problem that the CEGUI package was still build against Ogre 1.7 last time I tried to build, so I had to build CEGUI from source.
What distro version are you running?
Users browsing this forum: No registered users and 1 guest