<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to compile</title><link>https://sourceforge.net/p/colonizationmodcollection/wiki/compile/</link><description>Recent changes to compile</description><atom:link href="https://sourceforge.net/p/colonizationmodcollection/wiki/compile/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 18 Mar 2017 18:57:32 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/colonizationmodcollection/wiki/compile/feed" rel="self" type="application/rss+xml"/><item><title>compile modified by col2071</title><link>https://sourceforge.net/p/colonizationmodcollection/wiki/compile/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -4,7 +4,7 @@
 You have the source code ready [GIT switch branch]
 You have installed the compiler [compiler setup]

-First you open the file sourceDLL\DLL_Sources\Colonization Mod Collection.vcxproj
+First you open the file sourceDLL\Project Files\Colonization Mod Collection.vcxproj
 Tip: if you compile frequently (like using DLL develop branch), you may want to make an alias to this file and place it somewhere with easier access, like the desktop.

 Select the type of DLL file you want.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">col2071</dc:creator><pubDate>Sat, 18 Mar 2017 18:57:32 -0000</pubDate><guid>https://sourceforge.neta1f72d1353a2a6a9680bc3b9299b1e2464a596b0</guid></item><item><title>compile modified by Nightinggale</title><link>https://sourceforge.net/p/colonizationmodcollection/wiki/compile/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -2,7 +2,7 @@

 Prerequires:
 You have the source code ready [GIT switch branch]
-You have installed the compiler (TODO write page on compiler setup)
+You have installed the compiler [compiler setup]

 First you open the file sourceDLL\DLL_Sources\Colonization Mod Collection.vcxproj
 Tip: if you compile frequently (like using DLL develop branch), you may want to make an alias to this file and place it somewhere with easier access, like the desktop.
@@ -40,4 +40,4 @@

 Error due to a .tmp file: build again. This mysterious error shows up at random and second attempt works.

-Can't find nmake.exe: check last step in compiler setup (TODO write that page)
+Can't find nmake.exe: check last step in [compiler setup]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nightinggale</dc:creator><pubDate>Thu, 19 Jun 2014 19:44:37 -0000</pubDate><guid>https://sourceforge.netfbc12162f9a7d9da109ff0de41cc3116a2494851</guid></item><item><title>compile modified by Nightinggale</title><link>https://sourceforge.net/p/colonizationmodcollection/wiki/compile/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -9,7 +9,7 @@

 Select the type of DLL file you want.

-(screenshot)
+[[img src=target%20selection.jpg]]

 Types of DLL files:
 - Release: optimized to be as fast as possible. Used for stable releases.
@@ -23,7 +23,7 @@

 Once you have selected target, you build.

-(screenshot of build)
+[[img src=compile.jpg]]

 ... wait

@@ -31,7 +31,7 @@

 1-2 minutes later (on a modern computer) the screen should hopefully look like this.

-(screenshot of done)
+[[img src=compile_complete_small.jpg]]

 If you copied one file twice you managed to compile yourself and the game is ready to be started.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nightinggale</dc:creator><pubDate>Thu, 19 Jun 2014 19:16:19 -0000</pubDate><guid>https://sourceforge.net7e1f3e646161f3ae4b249f614dadae357dbcef31</guid></item><item><title>compile modified by Nightinggale</title><link>https://sourceforge.net/p/colonizationmodcollection/wiki/compile/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This page tells how to compile a DLL file. It is assumed that the reader has no prior knowledge and and will be a step by step telling what to click.&lt;/p&gt;
&lt;p&gt;Prerequires:&lt;br /&gt;
You have the source code ready &lt;a class="alink" href="/p/colonizationmodcollection/wiki/GIT%20switch%20branch/"&gt;[GIT switch branch]&lt;/a&gt;&lt;br /&gt;
You have installed the compiler (TODO write page on compiler setup)&lt;/p&gt;
&lt;p&gt;First you open the file sourceDLL\DLL_Sources\Colonization Mod Collection.vcxproj&lt;br /&gt;
Tip: if you compile frequently (like using DLL develop branch), you may want to make an alias to this file and place it somewhere with easier access, like the desktop.&lt;/p&gt;
&lt;p&gt;Select the type of DLL file you want.&lt;/p&gt;
&lt;p&gt;(screenshot)&lt;/p&gt;
&lt;p&gt;Types of DLL files:&lt;br /&gt;
- Release: optimized to be as fast as possible. Used for stable releases.&lt;br /&gt;
- Assert: Same as release, except it adds a whole lot of checks on data from DLL and XML files to find bugs.&lt;br /&gt;
- Debug: slow DLL only used by coders. Can examine code behavior while playing and is perfect for bug and crash examination.&lt;br /&gt;
- Profile: (rarely used) DLL used to monitor time spend in each line of code. Used to find places where performance can be improved.&lt;/p&gt;
&lt;p&gt;Some targets have -fast in their names. -fast mean the compiler will use all CPU cores when compiling instead of just one and hence compile faster. The result should be the same regardless of using -fast or not.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Assert-fast&lt;/strong&gt; should be the number one choice for anybody compiling code from git. Even if you don't change anything yourself, it may find bugs made by other people.&lt;/p&gt;
&lt;p&gt;Once you have selected target, you build.&lt;/p&gt;
&lt;p&gt;(screenshot of build)&lt;/p&gt;
&lt;p&gt;... wait&lt;/p&gt;
&lt;p&gt;......wait&lt;/p&gt;
&lt;p&gt;1-2 minutes later (on a modern computer) the screen should hopefully look like this.&lt;/p&gt;
&lt;p&gt;(screenshot of done)&lt;/p&gt;
&lt;p&gt;If you copied one file twice you managed to compile yourself and the game is ready to be started.&lt;/p&gt;
&lt;p&gt;Common errors:&lt;br /&gt;
File didn't copy: quit the game and build again.&lt;/p&gt;
&lt;p&gt;Error due to a .tmp file: build again. This mysterious error shows up at random and second attempt works.&lt;/p&gt;
&lt;p&gt;Can't find nmake.exe: check last step in compiler setup (TODO write that page)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nightinggale</dc:creator><pubDate>Thu, 19 Jun 2014 19:10:40 -0000</pubDate><guid>https://sourceforge.net4a89ce53a0c8c5dc564e597a691f49602162d586</guid></item></channel></rss>