close
Warning:
Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Jan 29, 2015, 11:39:31 AM (10 years ago)
- Author:
-
Jorge
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v6
|
v7
|
|
12 | 12 | }}} |
13 | 13 | |
14 | | Next install the required pakages and tools as describe below. |
| 14 | Next install the required packages and tools as described below. |
15 | 15 | |
16 | 16 | === Subversion === |
… |
… |
|
25 | 25 | |
26 | 26 | 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}}} |
| 27 | |
27 | 28 | === Rtools === |
| 29 | |
| 30 | [http://cran.r-project.org/bin/windows/Rtools/ Rtools] is a set of tools to compile R packages and R itself. We have chosen this tools to compile also TOL in order to make smoother the integration between TOL and R. You can download it from [http://cran.r-project.org/bin/windows/Rtools/Rtools31.exe Rtools download]. When installing accept all the suggested path and installation options. |
| 31 | |
| 32 | One more step is required, we need to download [http://packages.tol-project.org/win32/development/mingw32-make.exe mingw32-make.exe] and install it to {{{C:\Rtools\gcc-4.6.3\bin\}}}. |
28 | 33 | |
29 | 34 | === CodeLite === |
30 | 35 | |
31 | 36 | 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. |
| 37 | |
| 38 | === Download source code of TOL === |
| 39 | |
| 40 | The source code of TOL can be downloaded with svn. For instance the main development branch (trunk) can be downloaded like: |
| 41 | |
| 42 | {{{ |
| 43 | cd c:\users\toldevel |
| 44 | svn co https://www.tol-project.org/svn/tolp/trunk |
| 45 | }}} |
| 46 | |
| 47 | |
| 48 | === Configuration of build process === |
| 49 | |
| 50 | The build process is configured with CMake. The first step is to create the build directory where the CodeLite workspace and Makefile will be generated: |
| 51 | |
| 52 | {{{ |
| 53 | mkdir c:\users\toldevel\trunk\Build\CodeLite\Debug |
| 54 | mkdir c:\users\toldevel\trunk\Build\CodeLite\Release |
| 55 | }}} |
| 56 | |
| 57 | Next move into the Debug directory and configure to build the debug flavor of TOL |
| 58 | |
| 59 | {{{ |
| 60 | cd c:\users\toldevel\trunk\Build\CodeLite\Debug |
| 61 | cmake -DTOL_EXTERNAL_DEVEL_DIR=C:/users/toldevel/TOL_DEVEL_MINGW32 -DCMAKE_BUILD_TYPE=Debug -G"CodeLite - MinGW Makefiles" c:/users/toldevel/trunk/tol |
| 62 | }}} |
| 63 | |
| 64 | The release flavor is configured like: |
| 65 | |
| 66 | {{{ |
| 67 | cd c:\users\toldevel\trunk\Build\CodeLite\Debug |
| 68 | cmake -DTOL_EXTERNAL_DEVEL_DIR=C:/users/toldevel/TOL_DEVEL_MINGW32 -DCMAKE_BUILD_TYPE=Release -G"CodeLite - MinGW Makefiles" c:/users/toldevel/trunk/tol |
| 69 | }}} |
| 70 | |
| 71 | At dis point we can run CodeLite IDE and open any of the workspaces generated at {{{Build\CodeLite\Debug}}} or {{{Build\CodeLite\Release}}} |