<commit_before>Symptogen
=========

Symptogen Game by <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME> and <NAME>

Installation Guide
------------------
This installation procedure assume that the IndieLib library is already installed and built on your computer, and that you have cloned this repository.
**Caution : NEVER EVER change the CMakeLists.txt file**

### For Linux 
1. Go to the Symptogene folder and start the gui interface of Cmake. **Don't edit directly the CMakeLists.txt on you own, it could break down portability of the project**.

    <pre><code>cd Symptogen/
    cmake-gui
    </code></pre>
    
2. Select the source code folder, it is the Symptogen folder itself, and the build folder. Example for me : 
    <pre><code>/home/cecilia/Documents/Symptogen
    /home/cecilia/Documents/Symptogen/build
    </code></pre>

3. Then click on the add entry button and fill in the dialog like this :
   + name : INDIELIB_INCLUDE_DIR
   + type : PATH
   + value : the directory where the include files of the IndieLib library are located. Example for me : 
  
    <pre><code>/home/cecilia/Documents/indielib-crossplatform/IndieLib/common/include
    </code></pre>

4. Click on the add entry button and fill in the dialog like this :
   + name : INDIELIB_DEPENDENCIES_DIR
   + type : PATH
   + value : the directory where the dependencies of the IndieLib library are located. Example for me : 
  
    <pre><code>/home/cecilia/Documents/indielib-crossplatform/IndieLib/common/dependencies
    </code></pre>

5. Click on the add entry button and fill in the dialog like this :
   + name : INDIELIB_LIBRARY
   + type : FILEPATH
   + value : the static library created when you build the IndieLib package. 
  
  > The file name is libIndieLib.a and its located in a libs/ folder that can be in two places following your installation : at the root of IndieLib package or in the linux/ folder. If the libs/ folder is an hidden one, modify it's name by removing the point to make it normal folder.

  Example for me : 
  
    <pre><code>/home/cecilia/Documents/indielib-crossplatform/IndieLib/linux/libs/libIndieLib.a
    </code></pre>

6. Now you are okay to configure ! So click the Configure button. In the dialog let the default options : Unix Makefile and Native compilers. If there are no errors you can click Generate and close the cmake-gui when it's done.

7. Now you can compile and run the executable : 
    <pre><code>cd build/
    make
    ./Symptogen
    </code></pre>

### For Windows
*This installation guide is made to use the Visual Studio Express 2012 edition with the last version of IndieLib SDK*

1. Run the Cmake-gui. Select the source code folder, it is the Symptogen folder itself, and the build folder.

2. Then click on the add entry button and fill in the dialog like this :
   + name : INDIELIB_INCLUDE_DIR
   + type : PATH
   + value : the directory where the include files of the IndieLib library are located, **in the precompiled package you received by mail**. Example for me : 
  
    <pre><code>C:/Users/Cecilia/Indielib/common/include
    </code></pre>

3. Click on the add entry button and fill in the dialog like this :
   + name : INDIELIB_BINARIES_DIR
   + type : PATH
   + value : the directory where the binaries for windows are located, **in the precompiled package you received by mail**. Example for me : 
  
    <pre><code>C:/Users/Cecilia/Indielib/bin/win
    </code></pre>

4. Now you are okay to configure ! So click the Configure button. In the dialog select Visual Studio 11 as generator and the default native compiler. If there are no errors you can click Generate and close the cmake-gui when it's done.

5. Open Visual Studio 2012, and go in File>Open Project... Open the visual solution that is in the build folder of Symptogen.

6. Select the Symptogene submodule and go in Project > Set at Startup Project. Now you can build the whole solution, in debug mode or in release mode.

- > If you get the following error : 
<pre><code>Error	604	error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup	
</code></pre>
then right click on the Symptogen submodule > Properties > Configuration Properties > Linker > System  and change the **SubSytem** value to **Windows**. Clean the whole solution and build it again.

7. Try to run the project.

- > If you get a popup, with the following error in the output : 
<pre><code>The program '[5100] Symptogen.exe' has exited with code -1073741515 (0xc0000135) 'A dependent dll was not found'.
</code></pre>
then right click on the Symptogen submodule > Properties > Configuration Properties > Debugging and put in the **Environement** value the path to your build folder. For example :
<pre><code> PATH=%PATH%;C:\Users\Cecilia\Documents\GitHub\Symptogen\build
</pre></code> Then clean the whole solution and build it again. If the error persists, then you must copy the three dll and two libs that are located in build folder to your Debug or Release folder, following your build configuration. We are currently working on finding a generic solution to spare you these manipulations each times.

- > If you get the following error in a popup window: 
<pre><code>L'application n'a pas réussi à démarrer correctement (0xc0150002)
</code></pre>
then you're fucked. It means the precompiled .dll are not compatible with your compilator or your architecture and you must build the whole IndieLib yourself. Good luck :p 

<commit_msg>Update readme, less instructions for windows<commit_after>Symptogen
=========

Symptogen Game by <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME> and <NAME>

Installation Guide
------------------
This installation procedure assume that the IndieLib library is already installed and built on your computer, and that you have cloned this repository.
**Caution : NEVER EVER change the CMakeLists.txt file**

### For Linux 
1. Go to the Symptogene folder and start the gui interface of Cmake. **Don't edit directly the CMakeLists.txt on you own, it could break down portability of the project**.

    <pre><code>cd Symptogen/
    cmake-gui
    </code></pre>
    
2. Select the source code folder, it is the Symptogen folder itself, and the build folder. Example for me : 
    <pre><code>/home/cecilia/Documents/Symptogen
    /home/cecilia/Documents/Symptogen/build
    </code></pre>

3. Then click on the add entry button and fill in the dialog like this :
   + name : INDIELIB_INCLUDE_DIR
   + type : PATH
   + value : the directory where the include files of the IndieLib library are located. Example for me : 
  
    <pre><code>/home/cecilia/Documents/indielib-crossplatform/IndieLib/common/include
    </code></pre>

4. Click on the add entry button and fill in the dialog like this :
   + name : INDIELIB_DEPENDENCIES_DIR
   + type : PATH
   + value : the directory where the dependencies of the IndieLib library are located. Example for me : 
  
    <pre><code>/home/cecilia/Documents/indielib-crossplatform/IndieLib/common/dependencies
    </code></pre>

5. Click on the add entry button and fill in the dialog like this :
   + name : INDIELIB_LIBRARY
   + type : FILEPATH
   + value : the static library created when you build the IndieLib package. 
  
  > The file name is libIndieLib.a and its located in a libs/ folder that can be in two places following your installation : at the root of IndieLib package or in the linux/ folder. If the libs/ folder is an hidden one, modify it's name by removing the point to make it normal folder.

  Example for me : 
  
    <pre><code>/home/cecilia/Documents/indielib-crossplatform/IndieLib/linux/libs/libIndieLib.a
    </code></pre>

6. Now you are okay to configure ! So click the Configure button. In the dialog let the default options : Unix Makefile and Native compilers. If there are no errors you can click Generate and close the cmake-gui when it's done.

7. Now you can compile and run the executable : 
    <pre><code>cd build/
    make
    ./Symptogen
    </code></pre>

### For Windows
*This installation guide is made to use the Visual Studio Express 2012 edition with the last version of IndieLib SDK*

1. Run the Cmake-gui. Select the source code folder, it is the Symptogen folder itself, and the build folder.

2. Then click on the add entry button and fill in the dialog like this :
   + name : INDIELIB_INCLUDE_DIR
   + type : PATH
   + value : the directory where the include files of the IndieLib library are located, **in the precompiled package you received by mail**. Example for me : 
  
    <pre><code>C:/Users/Cecilia/Indielib/common/include
    </code></pre>

3. Click on the add entry button and fill in the dialog like this :
   + name : INDIELIB_BINARIES_DIR
   + type : PATH
   + value : the directory where the binaries for windows are located, **in the precompiled package you received by mail**. Example for me : 
  
    <pre><code>C:/Users/Cecilia/Indielib/bin/win
    </code></pre>

4. Now you are okay to configure ! So click the Configure button. In the dialog select Visual Studio 11 as generator and the default native compiler. If there are no errors you can click Generate and close the cmake-gui when it's done.

5. Open Visual Studio 2012, and go in File>Open Project... Open the visual solution that is in the build folder of Symptogen.

6. Select the Symptogene submodule and go in Project > Set at Startup Project. Now you can build the whole solution, in debug mode or in release mode.

- > If you get the following error : 
<pre><code>Error	604	error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup	
</code></pre>
then right click on the Symptogen submodule > Properties > Configuration Properties > Linker > System  and change the **SubSytem** value to **Windows**. Clean the whole solution and build it again.

7. Try to run the project.

- > If you get the following error in a popup window: 
<pre><code>L'application n'a pas réussi à démarrer correctement (0xc0150002)
</code></pre>
then you're fucked. It means the precompiled .dll are not compatible with your compilator or your architecture and you must build the whole IndieLib yourself. Good luck :p 


{'fraction_non_alphanumeric': 0.0787580088713652, 'fraction_numerical': 0.009857072449482503, 'mean_word_length': 3.6307622090369693, 'pattern_counts': {'":': 0, '<': 105, '<?xml version=': 0, '>': 127, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7091116', 'n_tokens_mistral': 2977, 'n_tokens_neox': 2788, 'n_words': 1377}