<commit_before>This documentation relates to the currently up-to-date version of SVN trunk. For more information on how to build the latest release,
see http://wiki.realxtend.org/index.php/Building_Naali_in_Windows.

The Naali viewer codebase uses CMake as its build system, so to generate the project solution files for Microsoft Visual Studio 2008 to use, you need to install CMake from http://www.cmake.org/.
To be able to build the source repository, the first thing you need to do is to obtain (and possibly compile) the dependencies that are required by Naali. The second step is to configure 
the CMake build script to locate those dependencies, and finally you can compile the viewer solution itself.

Microsoft Visual C++ 2005 or earlier versions are not officially supported (but might work).

Obtaining the dependencies
--------------------------
For getting the dependencies, you have two choices, depending on how much code you want to compile yourself. In the following, it is assumed that the viewer SVN trunk has been checked out to \viewerTrunk\.

Preparing the precompiled dependency package
-------------------------------------------------
Use this option when you just need to get Naali compiled, and to focus on developing Naali itself.

1. Download the precompiled dependency package from http://dev.realxtend.org/gf/project/viewerdeps/frs/.
2. Extract it to a folder, say, \viewerDeps\.
3. From the folder \viewerDeps\bin\, copy all the DLLs to \viewerTrunk\viewer\bin\.
4. Continue from Building the Viewer below.

Preparing the dependency repository
----------------------------------------
Use this option when you need to be able to generate custom builds of the dependency packages or if you want to have better debugging capabilities in VS (breakpoints, step through, trace, edit-and-continue inside dependency libraries).
This process is much more involved, but allows you to have a lot less boundaries when developing. Note that not all of the external dependencies are included in this repository, since the large size of the 
resulting codebase forbids that.

To build Naali using the dependency repository, perform the following:
<commit_msg>Fixed build-windows.txt to reflect binary deps repository.<commit_after>This documentation relates to the currently up-to-date version of SVN trunk. For more information on how to build the latest release,
see http://wiki.realxtend.org/index.php/Building_Naali_in_Windows.

The Naali viewer codebase uses CMake as its build system, so to generate the project solution files for Microsoft Visual Studio 2008 to use, you need to install CMake from http://www.cmake.org/.
To be able to build the source repository, the first thing you need to do is to obtain (and possibly compile) the dependencies that are required by Naali. The second step is to configure 
the CMake build script to locate those dependencies, and finally you can compile the viewer solution itself.

Microsoft Visual C++ 2005 or earlier versions are not officially supported (but might work).

Obtaining the dependencies
--------------------------
For getting the dependencies, you have two choices, depending on how much code you want to compile yourself. In the following, it is assumed that the viewer SVN trunk has been checked out to \viewerTrunk\.

Preparing the dependency binary repository
-------------------------------------------------
Use this option when you just need to get Naali compiled, and to focus on developing Naali itself.

1. Get the viewer binary dependency repository by doing a SVN checkout of http://dev.realxtend.org/svn/viewerdeps/bin/windows. The following assumes that you checked out the binary dependencies into the folder \viewerDeps\.
2. After checkout, SVN export the \viewerDeps\bin folder (right-click on it and select Export) to \viewerTrunk\
3. Windows will probably prompt that you are copying to a "bin" folder that already exists. Just allow windows to continue the operation.
4. Qt is not included in the svn due to its size. See the file build_qt_windows.txt for options.
5. After getting Qt, continue from Building the Viewer below.

Preparing the dependency repository
----------------------------------------
Use this option when you need to be able to generate custom builds of the dependency packages or if you want to have better debugging capabilities in VS (breakpoints, step through, trace, edit-and-continue inside dependency libraries).
This process is much more involved, but allows you to have a lot less boundaries when developing. Note that not all of the external dependencies are included in this repository, since the large size of the 
resulting codebase forbids that.

To build Naali using the dependency repository, perform the following:

{'fraction_non_alphanumeric': 0.08756051357608924, 'fraction_numerical': 0.005262050094716902, 'mean_word_length': 3.5386819484240686, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5591585', 'n_tokens_mistral': 1119, 'n_tokens_neox': 1066, 'n_words': 675}