= How to compile TOL on Windows with gcc-mingw32 = In this page we describe how to compile TOL for Windows with the compiler gcc-mingw32. We recommend to use the compiler provided in [http://cran.r-project.org/bin/windows/Rtools/ Rtools] because we want to ensure a smooth integration with R. All the external code used in TOL has being also compiled with that compiler. Below we provide information about all the tools and libraries used and the full development environment. == Prerequisites == Prepare a root directory, for instance {{{ mkdir c:\users\toldevel }}} Next install the required pakages and tools as describe below. === Subversion === In order to download the source code we need [http://subversion.apache.org/ subversion]. You can download a good subversion client for windows from [http://tortoisesvn.net/downloads.html TortoiseSVN] === CMake === [http://www.cmake.org/ CMake] is a family of tools designed to build, test and package software. CMake is able to generate from a set of configuration files either the Makefile for Unix or a workspace for Visual Studio o CodeLite for Windows. We can download it from [http://www.cmake.org/files/v3.1/cmake-3.1.1-win32-x86.exe CMake download]. === TOL external libraries === TOL depends on a set of external libraries provided by the open source community. All this libraries has been compiled with Rtool and packaged in a bundle. This package can be downloaded from [http://packages.tol-project.org/win32/development/TOL_DEVEL_MINGW32.rar TOL_DEVEL_MINGW32]. This package must be unpacked, for instance under {{{c:\users\toldevel}}} === Rtools === === CodeLite === We recommend [http://codelite.org/ CodeLite] as a good IDE to develop TOL in windows because CMake is able to generate native workspace from the CMake configuration files. The configuration described next requires the instalation of this IDE which can be downloaded from [http://downloads.codelite.org/downloads.php?windows CodeLite download]. While installing it is not required to install the mingw32 compiler as we are going to use the compiler from Rtools.