I'm pasting below a message from Jeongbin Park with a patch for compiling GDL on Windows.
Big thanks Jeongbin!!
I have no experience at all with developing on windows, though.
Help welcome with handling this contribution!
I'm Jeongbin Park, a graduate student studying bio-physics.
Today I just successfully ported GDL on windows (based on SVN version). It looks working well, at least some of the online tutorials work.
But, the plotting functionality is not fully implemented yet. For now, it only can print the plot as a file format (e.g. Postscript), but Plplot is not working. I could find that current driver setting of Plplot is 'win3', but this driver looks not working well. I think the wxWidgets can be a good replacement of the current driver?
Anyway, I tried to post this on the GDL sourceforge forum, but it rejects uploading and only keep saying that my topic is caught in spam net. So I tried the Tracker, but the patch file is too big to be uploaded.
So I uploaded the file in my personal blog.
I also attached the file in this mail too.
You may need following libraries to compile:
fftw - http://www.fftw.org/install/windows.html
gsl - http://gnuwin32.sourceforge.net/packages/gsl.htm
pcre - http://gnuwin32.sourceforge.net/packages/pcre.htm
pdcurses - http://gnuwin32.sourceforge.net/packages/pdcurses.htm
readline - http://gnuwin32.sourceforge.net/packages/readline.htm
zlib - http://gnuwin32.sourceforge.net/packages/zlib.htm
xdr - http://code.google.com/p/bsd-xdr/
and plplot, wxWidgets, etc.
I tested Visual Studio 2010, with following build options :
cmake.exe ..\gdl -G "Visual Studio 10" -DCURSES_LIBRARY=..\pdcurses\lib\curses.lib -DCURSES_INCLUDE_PATH=..\pdcurses\include -DREADLINEDIR=..\readline -DZLIBDIR=..\zlib -DGSLDIR=..\gsl -DPCRE_LIBRARY=..\pcre\lib\pcre.lib -DPCRE_INCLUDE_DIR=..\pcre\include -DPLPLOTDIR="C:\Program Files (x86)\plplot" -DWXWIDGETSDIR=C:\wxWidgets-2.8.12 -DWXWIDGETSDIR="C:\wxWidgets-2.8.12" -DXDR_LIBRARY=..\xdr\lib\xdr.lib -DXDR_INCLUDE_DIR=..\xdr\include -DMAGICK=OFF -DNETCDF=OFF -DHDF=OFF -DHDF5=OFF -DFFTW=OFF -DPYTHON=OFF -DPSLIB=OFF -DX11=OFF -DOPENMP=OFF
If you have questions about the patch, please don't hesitate contact me.
Single Molecule Biophysics Lab.
Dept. of Physics and Astronomy
Seoul National University
Log in to post a comment.