|
From: Paris M. <par...@ya...> - 2005-06-09 18:37:02
|
I've download gnuplot development version via Sourceforge CVS and GD library (gd-2.0.33.zip) from http://www.boutell.com/gd. I am using cygwin 2.125.2.10 (I tried on other version too) on Windows XP pro, sp2. 1. extract GD library, "./configure", than "make -f makefile" which creates "libgd.a" 2. copy "libgd.a" to /cygwin/lib/ copy "gd.h" to /gnuplot/term/ copy "gd_io.h" and "gdfx.h" to /gnuplot/src/ 3. from /gnuplot/config/ to /gnuplot/src/ : copy "makefile.cyg" as "makefile" copy "config.cyg" as "config.h" 4. in /gnuplot/src/ type "make -f makefile" Everything goes well until: ... gcc -s -mwindows -mno-cygwin -o wgnuplot.exe \ alloc.o axis.o binary.o bitmap.o breaders.o color.o command.o contour.o datafile.o dynarray.o eval.o fit.o gadgets.o getcolor.o graph3d.o graphics.o hel p.o hidden3d.o history.o internal.o interpol.o matrix.o misc.o mouse.o parse.o p lot.o plot2d.o plot3d.o pm3d.o readline.o save.o scanner.o set.o show.o specfun. o standard.o stdfn.o tables.o term.o time.o unset.o util.o util3d.o variable.o v ersion.o gpexecute.o winmain.o wgnuplib.o wgraph.o wprinter.o wtext.o wpause.o w menu.o \ wgplt_res.o -L/usr/local/lib -lkernel32 -lgdi32 -lgd term.o(.text+0x1eeea):term.c: undefined reference to `_imp__gdImageColorExact@16 ' term.o(.text+0x1eefe):term.c: undefined reference to `_imp__gdImageColorAllocate @16' term.o(.text+0x1ef12):term.c: undefined reference to `_imp__gdImageColorClosest@ 16' ... ... term.o(.text+0x218ab):term.c: undefined reference to `_imp__gdImageDestroy@4' term.o(.text+0x218d2):term.c: undefined reference to `_imp__gdImageGif@8' term.o(.text+0x218e2):term.c: undefined reference to `_imp__gdImageDestroy@4' collect2: ld returned 1 exit status make: *** [wgnuplot.exe] Error 1 Please help!! |