Other documents to compile GDL: in OSX (OSX 10.5.6 and OSX 10.6.3), on CentOS 5.4/5.5, on Ubuntu 12.04.
Levan LORIA (With help from Jeongbin Park)The goal of this document is to show how to compile and run GDL in windows 32 bits with MinGW. Another document will adress soon the compilation with MS Visual C++.
To compile GDL on MSwin we will need four mandatory parts:
Click to the "Start Menu Button" and type "cmd" in the textfield. (push [Windows Key] + [R] and type "cmd").
Open the new Windows Command Line Prompt and type "gcc --version". I have gcc version 4.8.1.
Open the new Windows Command Line Prompt and type "cmake --version". I have CMake version 3.0.0.
We are ready to start installation of GDL
1. Open the Windows Command Line Prompt and type "cd C:\GDL\gnudatalanguage\gdl\"
2. Type the command "cmake -G "MinGW Makefiles" -DCMAKE_LIBRARY_PATH=win32libs\lib -DCMAKE_INCLUDE_PATH=win32libs\include -DCURSES_LIBRARY=win32libs\lib\pdcurses.a -DCURSES_INCLUDE_PATH=win32libs\include -DWXWIDGETS=OFF -DMAGICK=OFF -DNETCDF=OFF -DHDF=OFF -DHDF5=OFF -DPYTHON=OFF -DEIGEN3=OFF -DPSLIB=OFF -DX11=OFF -DGRAPHICSMAGICK=OFF"
3. Type the command "mingw32-make -j N" (N = number of cores, e.g. "mingw32-make -j 4" , if your computer has 4 cores )
4. After installation, it will generate "gdl.exe" executable file in "C:\GDL\gnudatalanguage\gdl\src\" folder.
5. To run this file (gdl.exe), you need to copy it to "C:\GDL\gnudatalanguage\gdl\win32libs\bin" folder and run from there (you can make a shortcut ...).
1. Download the latest version of Eigen www.eigen.tuxfamily.org (eigen-eigen-6b38706d90a9.tar.bz2 md5 key = ece1dbf64a49753218ce951624f4c487)
2. Unzip downloaded file and rename to eigen;
3. Now copy eigen folder to "C:\GDL\gnudatalanguage\gdl\" folder
4. We are ready to install!
5. In Windows Command Line Prompt type the command - "cd C:\GDL\gnudatalanguage\gdl\"
6. Type the command - "cmake -G "MinGW Makefiles" -DCMAKE_LIBRARY_PATH=win32libs\lib -DCMAKE_INCLUDE_PATH=win32libs\include -DCURSES_LIBRARY=win32libs\lib\pdcurses.a -DCURSES_INCLUDE_PATH=win32libs\include -DWXWIDGETS=OFF -DMAGICK=OFF -DNETCDF=OFF -DHDF=OFF -DHDF5=OFF -DPYTHON=OFF -DEIGEN3DIR=eigen -DPSLIB=OFF -DX11=OFF -DGRAPHICSMAGICK=OFF"
7. Type the command - "mingw32-make -j N" (N = number of cores, e.g. "mingw32-make -j 4" , if your computer has 4 cores )
8. After installation, it will generate "gdl.exe" executable file in "C:\GDL\gnudatalanguage\gdl\src\" folder.
9. To run this file (gdl.exe), you need to copy it to "C:\GDL\gnudatalanguage\gdl\win32libs\bin" folder and run from there (you can make a shortcut ...).