<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Building</title><link>https://sourceforge.net/p/opengate/wiki/Building/</link><description>Recent changes to Building</description><atom:link href="https://sourceforge.net/p/opengate/wiki/Building/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 08 Aug 2013 23:40:07 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/opengate/wiki/Building/feed" rel="self" type="application/rss+xml"/><item><title>Building modified by spom_spom</title><link>https://sourceforge.net/p/opengate/wiki/Building/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v9
+++ v10
@@ -4,87 +4,153 @@

 You will also need the following libraries and SDKs:

++ &gt;=cmake  2.8.10
 + &gt;=OGRE 1.8; &lt; OGRE-1.9
 + &gt;=CEGUI 0.8.2
 + &gt;=OIS 1.3.0
 + &gt;=vorbis 1.1.2
 + &gt;=boost 1.48
-+ ogreopcode
-+ &gt;=cmake  2.8.10

-Build for win with cmake and msvc-10 successfull made with nmake Makefiles. 
-cmakefile.txt for ogreopcode available, but I don't have a place for yet. Pls. ask Spom.
+**For MSVC10**

-## ogreopcode
+    + openal

-Obtaining opcode is a bit tricky. The library never saw any release and we are using an SVN-snapshot. Right now there are two distributions were we provide installation through the package manager:
+**Building on Linux** 

-*Gentoo*
-You can grab the ebuild from the overlay:
-http://cgit.freedesktop.org/~cbrill/egore911-overlay/tree/dev-games/ogreopcode/ogreopcode-417.ebuild
-http://cgit.freedesktop.org/~cbrill/egore911-overlay/tree/dev-games/ogreopcode/files/ogreopcode-417-autotools.patch
-http://cgit.freedesktop.org/~cbrill/egore911-overlay/tree/dev-games/ogreopcode/files/ogreopcode-417-ogre-1.8.0.patch
+First create working path

-*Archlinux*
-We provide a PGKBUILD available here:
-https://aur.archlinux.org/packages/ogreopcode-svn/
+    mkdir -p opengate
+    cd opengate

-Other distribtions are currently not supported, but you can always install the library by hand. Grab the code from SVN:
+Checkout sources:

-https://ogreconglo.svn.sourceforge.net/svnroot/ogreconglo/ogreopcode/trunk
+    git clone --depth=1 git://git.code.sf.net/p/opengate/code opengate
+    cd opengate

-apply the two patches, build using "autoreconf &amp;&amp; ./configure --prefix=/usr &amp;&amp; make" and perform a "sudo make install" afterwards. Now you should be able to build opengate.
-
-# Downloading the Code from git
-
-First of all you need to download the current opengate sources:
-
-    git clone --depth 1 ssh://YOURUSERNAME@git.code.sourceforge.net/p/opengate/code opengate
-
-This will create a folder named opengate containing the sources, data, data templates and docs. So this should give you the complete setup.
-
-# Building
-    
-We now only support cmake build system. So first create 'build' directory
+Create build directory

     mkdir -p build
     cd build

-and run cmake 
+Start build

     cmake ../
-
-Fulfill all the needs that cmake complain, either with command line or with cmake ui and 
-Finally run:
-
     make

-To start the client run
+**Building on Windows (MSVC)** 

-    ./bin/opengateclient
+Currently cegui seems to be broken with mingw so we build opengate with msvc-10.
+
+Probably you need to build cegui and their dependencies. 
+
+I successfull compiled cegui and opengate using msvc10 with the following steps.. pls correct me if I'm wrong or there are better ways.
+First, assuming all your work is done in one path called the source path $(SRC). 
+
+Get cegui-0.8.2 sources and dependencies and copy them in
+
+    $(SRC)/cegui/cegui-0.8.2
+    $(SRC)/cegui/cegui-deps-0.8.x-src
+    
+We using Ogre3D we need an OgreSDK, fortunatly there is a prebuild. Copy them to:
+
+    $(SRC)/OgreSDK_vc10_v1-8-1
+
+Now we can build first cegui-deps. Go into the path and create a build directory. 
+I'm running msys, so I have a bash like shell. I guess the Windows cmd shell will do the job simlilar.
+
+    cd $(SRC)/cegui/cegui-deps-0.8.x-src
+    mkdir build
+    cd build
+    cmake .. -G "Visual Studio 10"
+    cmake --build . --config release
+    cmake --build . --config debug
+    
+copy the result into the cegui sources
+    
+    cp -r dependencies/ ../../cegui-0.8.2/
+    
+build cegui with ogrerenderer:
+
+    cd $(SRC)/cegui/cegui-0.8.2
+    make build
+    cd build
+    cmake .. -G "Visual Studio 10"  \
+   -DCEGUI_OPTION_DEFAULT_XMLPARSER=EXPAT \
+   -DOGRE_H_PATH=$(SRC)/OgreSDK_vc10_v1-8-1/include/OGRE/ \
+   -DOGRE_LIB=$(SRC)/OgreSDK_vc10_v1-8-1/lib/release/OgreMain.lib \
+   -DOIS_H_PATH=$(SRC)/OgreSDK_vc10_v1-8-1/include/OIS/ \
+   -DOIS_LIB=$(SRC)/OgreSDK_vc10_v1-8-1/lib/release/OIS.lib \
+   -DCEGUI_BUILD_RENDERER_OGRE=True \
+   -DCMAKE_CXX_FLAGS="-I\"$(SRC)/OgreSDK_vc10_v1-8-1/boost\" -DBOOST_EXCEPTION_DISABLE -EHsc" \
+    -DCMAKE_SHARED_LINKER_FLAGS="-LIBPATH:\"$(SRC)/OgreSDK_vc10_v1-8-1/boost/lib\"" \
+   -DCMAKE_INSTALL_PREFIX=$(SRC)/cegui/cegui
+
+    cmake --build . --config release --target install
+    
+Note: if something goes wrong you can try to finetune your cmake configuration by using cmake-gui
+
+Building opengate:
+
+    cd $(SRC)
+    mkdir opengate
+    
+copy opengate dependencies (in devAdds/opengatedeps.zip)
+    
+    $(SRC)/opengate/deps
+    cd opengate
+    git clone --depth=1 git://git.code.sf.net/p/opengate/code opengate
+    cd opengate
+    mkdir build
+    cd build
+       
+    cmake .. -G "Visual Studio 10"  \
+        -DOGRE_HOME=$(SRC)/OgreSDK_vc10_v1-8-1/ \
+        -DCEGUIDIR=$(SRC)/cegui/cegui \
+        -DBOOST_ROOT=$(SRC)/boost_1_53_0 \
+        -DBOOST_LIBRARYDIR=$(SRC)/opengate/deps/lib/
+ 
+    cmake --build . --config release
+    
+If you have the date repository installed in 
+
+    $(SRC)/opengate/opengate/data 
+
+you can start the to start the client:
+
+    bin/opengateclient
+  
+Check commandline arguments to connect with a server
+  
+    bin/opengateclient -h

 **This will be obsolete in the not so far future.**

 The client knows some *command line options*, please take a look at the help page by using the -h option. 

-If something is strange please first check the configuration by using the -c option.
+If something is strange, please first check the configuration by using the -c option.

 If you know a running server you can add the server ip with -s ip. You need a username to identify yourself to the server with -u username. Please note, if you don't choose a username you will no be connected to the server

-Note, if the metaserver is up and running these options will be obsolete.
+Note, if the metaserver is up and running *these options will be obsolete.*

 Everybody likes examples:

     ./bin/opengateclient -s localhost -u uniqe_pilot_name

-The windows client is named ogsectorclient.exe, however the options are the same.
+This connect to server on localhost and use username uniqe_pilot_name
+
+    ./bin/opengateclient -O 
+
+This connect to the default gameserver(if running), The username can be choosen ingame.
+

 If something goes wrong (probably it will) there are some log files with more or less usefull informations.

 + ogre.log -- graphic engine related
 + cegui.log -- gui related
 + OpenGate.log -- client related
+

 Enjoy this first technical proof of concept.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">spom_spom</dc:creator><pubDate>Thu, 08 Aug 2013 23:40:07 -0000</pubDate><guid>https://sourceforge.netf07eefa036f96212f5516d3ad301979962cb052b</guid></item><item><title>Building modified by spom_spom</title><link>https://sourceforge.net/p/opengate/wiki/Building/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v8
+++ v9
@@ -4,12 +4,16 @@

 You will also need the following libraries and SDKs:

-+ OGRE 1.8
-+ CEGUI 0.7.6
-+ OIS 1.3.0
-+ vorbis 1.1.2
-+ boost
++ &gt;=OGRE 1.8; &lt; OGRE-1.9
++ &gt;=CEGUI 0.8.2
++ &gt;=OIS 1.3.0
++ &gt;=vorbis 1.1.2
++ &gt;=boost 1.48
 + ogreopcode
++ &gt;=cmake  2.8.10
+
+Build for win with cmake and msvc-10 successfull made with nmake Makefiles. 
+cmakefile.txt for ogreopcode available, but I don't have a place for yet. Pls. ask Spom.

 ## ogreopcode

@@ -41,15 +45,25 @@

 # Building

-After you installed the libraries you should be able to compile opengate using:
+We now only support cmake build system. So first create 'build' directory

-    ./autogen.sh 
+    mkdir -p build
+    cd build
+
+and run cmake 
+
+    cmake ../
+
+Fulfill all the needs that cmake complain, either with command line or with cmake ui and 
+Finally run:
+
     make

-# Running under linux
+To start the client run

-    ./src/opengateclient
-
+    ./bin/opengateclient
+  
+ 
 **This will be obsolete in the not so far future.**

 The client knows some *command line options*, please take a look at the help page by using the -h option. 
@@ -62,7 +76,7 @@

 Everybody likes examples:

-    ./src/opengateclient -s localhost -u uniqe_pilot_name
+    ./bin/opengateclient -s localhost -u uniqe_pilot_name

 The windows client is named ogsectorclient.exe, however the options are the same.

@@ -72,8 +86,10 @@
 + cegui.log -- gui related
 + OpenGate.log -- client related

+Enjoy this first technical proof of concept.

 Good Luck Pilot
+Spom

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">spom_spom</dc:creator><pubDate>Fri, 26 Jul 2013 16:20:12 -0000</pubDate><guid>https://sourceforge.net15a571277851a4424223572f6ca8484dfee10f2c</guid></item><item><title>Building modified by spom_spom</title><link>https://sourceforge.net/p/opengate/wiki/Building/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v7
+++ v8
@@ -25,7 +25,11 @@
 We provide a PGKBUILD available here:
 https://aur.archlinux.org/packages/ogreopcode-svn/

-Other distribtions are currently not supported, but you can always install the library by hand. Grab the code from SVN, apply the two patches, build using "autoreconf &amp;&amp; ./configure --prefix=/usr &amp;&amp; make" and perform a "sudo make install" afterwards. Now you should be able to build opengate.
+Other distribtions are currently not supported, but you can always install the library by hand. Grab the code from SVN:
+
+https://ogreconglo.svn.sourceforge.net/svnroot/ogreconglo/ogreopcode/trunk
+
+apply the two patches, build using "autoreconf &amp;&amp; ./configure --prefix=/usr &amp;&amp; make" and perform a "sudo make install" afterwards. Now you should be able to build opengate.

 # Downloading the Code from git

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">spom_spom</dc:creator><pubDate>Fri, 14 Jun 2013 22:31:30 -0000</pubDate><guid>https://sourceforge.net256dee1e713df2d1e8bdfbd9b8ceeabc203d856e</guid></item><item><title>WikiPage Building modified by spom_spom</title><link>https://sourceforge.net/p/opengate/wiki/Building/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -42,6 +42,36 @@
     ./autogen.sh 
     make

-# Running
+# Running under linux

-    ./src/opengate_client
+    ./src/opengateclient
+
+**This will be obsolete in the not so far future.**
+
+The client knows some *command line options*, please take a look at the help page by using the -h option. 
+
+If something is strange please first check the configuration by using the -c option.
+
+If you know a running server you can add the server ip with -s ip. You need a username to identify yourself to the server with -u username. Please note, if you don't choose a username you will no be connected to the server
+
+Note, if the metaserver is up and running these options will be obsolete.
+
+Everybody likes examples:
+
+    ./src/opengateclient -s localhost -u uniqe_pilot_name
+
+The windows client is named ogsectorclient.exe, however the options are the same.
+
+If something goes wrong (probably it will) there are some log files with more or less usefull informations.
+
++ ogre.log -- graphic engine related
++ cegui.log -- gui related
++ OpenGate.log -- client related
+
+
+Good Luck Pilot
+
+
+
+
+
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">spom_spom</dc:creator><pubDate>Mon, 25 Mar 2013 01:46:36 -0000</pubDate><guid>https://sourceforge.net1810f87730948f2d9b020b25e29ba8bd65510aeb</guid></item><item><title>WikiPage Building modified by spom_spom</title><link>https://sourceforge.net/p/opengate/wiki/Building/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -29,9 +29,9 @@

 # Downloading the Code from git

-First of all you need to download the opengate sources:
+First of all you need to download the current opengate sources:

-    git clone ssh://YOURUSERNAME@git.code.sourceforge.net/p/opengate/code opengate
+    git clone --depth 1 ssh://YOURUSERNAME@git.code.sourceforge.net/p/opengate/code opengate

 This will create a folder named opengate containing the sources, data, data templates and docs. So this should give you the complete setup.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">spom_spom</dc:creator><pubDate>Mon, 11 Feb 2013 02:21:54 -0000</pubDate><guid>https://sourceforge.netfcc33622016bad2e4c062a8c68b705c6d5b5eeb4</guid></item><item><title>WikiPage Building modified by spom_spom</title><link>https://sourceforge.net/p/opengate/wiki/Building/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -36,10 +36,10 @@
 This will create a folder named opengate containing the sources, data, data templates and docs. So this should give you the complete setup.

 # Building
-
+    
 After you installed the libraries you should be able to compile opengate using:

-    ./configure
+    ./autogen.sh 
     make

 # Running
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">spom_spom</dc:creator><pubDate>Sun, 10 Feb 2013 22:24:11 -0000</pubDate><guid>https://sourceforge.net1ee831c9fe3e7440fb785bc0d3ac94c80847324a</guid></item><item><title>WikiPage Building modified by Christoph Brill</title><link>https://sourceforge.net/p/opengate/wiki/Building/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -33,12 +33,7 @@

     git clone ssh://YOURUSERNAME@git.code.sourceforge.net/p/opengate/code opengate

-This will create a folder named opengate containing the sources. Currently the data and data templates are available in separate respositories and configured as git submodules. To download the data simple execute:
-
-    git submodule init
-    git submodule update
-
-This should give you the complete setup.
+This will create a folder named opengate containing the sources, data, data templates and docs. So this should give you the complete setup.

 # Building

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christoph Brill</dc:creator><pubDate>Sun, 03 Feb 2013 13:34:04 -0000</pubDate><guid>https://sourceforge.net21f4c244e78ec202b098d7ae04fb3f555fa5e160</guid></item><item><title>WikiPage Building modified by Christoph Brill</title><link>https://sourceforge.net/p/opengate/wiki/Building/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -31,7 +31,7 @@

 First of all you need to download the opengate sources:

-    git clone ssh://YOURUSERNAME@git.code.sf.net/p/opengate/code opengate
+    git clone ssh://YOURUSERNAME@git.code.sourceforge.net/p/opengate/code opengate

 This will create a folder named opengate containing the sources. Currently the data and data templates are available in separate respositories and configured as git submodules. To download the data simple execute:

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christoph Brill</dc:creator><pubDate>Sun, 03 Feb 2013 10:11:19 -0000</pubDate><guid>https://sourceforge.net911e58a94d6195c0cf34cf51f2451f9106ee62c4</guid></item><item><title>WikiPage Building modified by Christoph Brill</title><link>https://sourceforge.net/p/opengate/wiki/Building/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -27,6 +27,19 @@

 Other distribtions are currently not supported, but you can always install the library by hand. Grab the code from SVN, apply the two patches, build using "autoreconf &amp;&amp; ./configure --prefix=/usr &amp;&amp; make" and perform a "sudo make install" afterwards. Now you should be able to build opengate.

+# Downloading the Code from git
+
+First of all you need to download the opengate sources:
+
+    git clone ssh://YOURUSERNAME@git.code.sf.net/p/opengate/code opengate
+
+This will create a folder named opengate containing the sources. Currently the data and data templates are available in separate respositories and configured as git submodules. To download the data simple execute:
+
+    git submodule init
+    git submodule update
+
+This should give you the complete setup.
+
 # Building

 After you installed the libraries you should be able to compile opengate using:
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christoph Brill</dc:creator><pubDate>Thu, 24 Jan 2013 17:01:36 -0000</pubDate><guid>https://sourceforge.net49d956332be1ac0ee89d36cd124127e59e01ef02</guid></item><item><title>WikiPage Building modified by Christoph Brill</title><link>https://sourceforge.net/p/opengate/wiki/Building/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="prerequisites"&gt;Prerequisites&lt;/h1&gt;
&lt;p&gt;Right now opengate does not provide binaries, but you can build opengate yourself. First of all you need to obtain the sources, install the necessary libraries and install a compiler or IDE on your system.&lt;/p&gt;
&lt;p&gt;You will also need the following libraries and SDKs:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;OGRE 1.8&lt;/li&gt;
&lt;li&gt;CEGUI 0.7.6&lt;/li&gt;
&lt;li&gt;OIS 1.3.0&lt;/li&gt;
&lt;li&gt;vorbis 1.1.2&lt;/li&gt;
&lt;li&gt;boost&lt;/li&gt;
&lt;li&gt;ogreopcode&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="ogreopcode"&gt;ogreopcode&lt;/h2&gt;
&lt;p&gt;Obtaining opcode is a bit tricky. The library never saw any release and we are using an SVN-snapshot. Right now there are two distributions were we provide installation through the package manager:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Gentoo&lt;/em&gt;&lt;br /&gt;
You can grab the ebuild from the overlay:&lt;br /&gt;
&lt;a href="http://cgit.freedesktop.org/~cbrill/egore911-overlay/tree/dev-games/ogreopcode/ogreopcode-417.ebuild"&gt;http://cgit.freedesktop.org/~cbrill/egore911-overlay/tree/dev-games/ogreopcode/ogreopcode-417.ebuild&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://cgit.freedesktop.org/~cbrill/egore911-overlay/tree/dev-games/ogreopcode/files/ogreopcode-417-autotools.patch"&gt;http://cgit.freedesktop.org/~cbrill/egore911-overlay/tree/dev-games/ogreopcode/files/ogreopcode-417-autotools.patch&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://cgit.freedesktop.org/~cbrill/egore911-overlay/tree/dev-games/ogreopcode/files/ogreopcode-417-ogre-1.8.0.patch"&gt;http://cgit.freedesktop.org/~cbrill/egore911-overlay/tree/dev-games/ogreopcode/files/ogreopcode-417-ogre-1.8.0.patch&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Archlinux&lt;/em&gt;&lt;br /&gt;
We provide a PGKBUILD available here:&lt;br /&gt;
&lt;a href="https://aur.archlinux.org/packages/ogreopcode-svn/"&gt;https://aur.archlinux.org/packages/ogreopcode-svn/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Other distribtions are currently not supported, but you can always install the library by hand. Grab the code from SVN, apply the two patches, build using "autoreconf &amp;amp;&amp;amp; ./configure --prefix=/usr &amp;amp;&amp;amp; make" and perform a "sudo make install" afterwards. Now you should be able to build opengate.&lt;/p&gt;
&lt;h1 id="building"&gt;Building&lt;/h1&gt;
&lt;p&gt;After you installed the libraries you should be able to compile opengate using:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="o"&gt;./&lt;/span&gt;&lt;span class="n"&gt;configure&lt;/span&gt;
&lt;span class="n"&gt;make&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;h1 id="running"&gt;Running&lt;/h1&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="o"&gt;./&lt;/span&gt;&lt;span class="n"&gt;src&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;opengate_client&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christoph Brill</dc:creator><pubDate>Tue, 22 Jan 2013 23:33:32 -0000</pubDate><guid>https://sourceforge.netfde7abc489ee293d8a09539701e471fa9fc38378</guid></item></channel></rss>