My progress on building gretl on windows so far:
After downloading and installing MinGW and MSYS I downloaded and installed
the all-in-on bundle of GTK+ for win32 on
http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.14/gtk+-bundle_2.14....
I then installed all files from
http://ricardo.ecn.wfu.edu/pub/gretl/winbuild/ following the instructions
there.
When typing "make" in c:\gretl\win32 all goes well until I get the
following error message:
../plugin/audio.c:44:19: sapi.h No such file or directory
I cannot find sapi.h in c:\ming\include and it was not included in the
mingw-extra.zip file on
http://ricardo.ecn.wfu.edu/pub/gretl/winbuild/, but
I found that it was included in an older file mingw_lib_inc.zip that
previously was available on that site.
I copied the sapi.h file and added it to c:\ming\include. Typing "make"
started the process again, until I get the error message below. How do I
solve this?
Andreas
gcc -Wall -O2 -mms-bitfields -DWIN32 -mwindows -o gretlw32.exe about.o
calculator.o callbacks.o cmdstack.o console.o database.o datafiles.o
datawiz.o dialogs.o dlgutils.o filelists.o fileselect.o filters.o fncall.o
fnsave.o gpt_control.o gpt_dialog.o graph_page.o gretl.o gretlwin32.o
guiprint.o gui_recode.o gui_utils.o helpfiles.o lagpref.o library.o
menustate.o model_table.o objectsave.o obsbutton.o selector.o series_view.o
session.o settings.o ssheet.o textbuf.o textutil.o toolbar.o treeutils.o
update.o winstack.o gretlres.coff -lm -L./import-libs -lgretl -lintl
-ladvapi32 -lwsock32 -lole32 -Lc:/mingw/lib -lgtk-win32-2.0 -lgdk-win32-2.0
-latk-1.0 -lgio-2.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32
-lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
-lintl -lgtksourceview -lxml2 -L./import-libs -lzlib1 -lmingwex -s
c:\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe:
gretlres.coff: illegal symbol index 8224 in relocs
collect2: ld returned 1 exit status
make: *** [gretlw32.exe] Error 1