Hi folks,
I did succeed in compiling gnuplot for windows including libgd. I simply
commented out the setmode() line in the io.h include file of windows,
and the compiler did not complain any more.
BUT as I said the application crashes ... . EVEN with the /MD switch.
Now I have done a little bit of debugging, and I have some steps in
reproducing the error:
1. start wgnuplot
2. enter the sequence:
set output "test.jpg"
set term jpeg
plot sin(x)
3. it will crash then in gd.trm, line 1755, calling gdImageJpg.
according to ms visual studio the 2nd parameter (gpoutfile) is faulty -
it's always the value 0x000010, one time it was 0x000005.
ookay so far. If I could get this sorted out ... well, let's just say
I'd be happy ;-)
so if ANYONE out there has any idea of what's going wrong, where
gpoutfile is set, and how I could solve this (I did link against /MD
just as suggested from the programmers), I would be really happy.
thanks, greetings and ciao,
axel.
|