Hello
Sorry for my delaying to write the tutorial because I'm busy in my university work now.
> Notably, "make install" fails:
> $ make install
> ./doc2rtf ../docs/gnuplot.doc win/gnuplot.rtf
> # hcw -c -e win/wgnuplot.hpj
> mkdir -p /home/xxxxxxxx/install
> cp gnuplot.exe /home/xxxxxxxx/install/gnuplot.exe
> cp: cannot stat `gnuplot.exe': No such file or directory
> make: *** [install] Error 1
>
> This appears to be a minor issue, as pgnuplot.exe and wgnuplot.exe both
> exist.
If you would like to make gnuplot.exe, 'TARGET' in the makefile.mgw should be set as gnuplot.exe. If
you would like to build all binaries; wgnuplot.exe, gnuplot.exe and wguplot_pipes.exe, you should
execute 'make' three times by changing the TARGET.
In my case, all TARGET is commented out in the makefile.mgw and set TARGET variable and make three
binaries as
****************************
# make gnuplot.exe
cd /home/gnuplotcvs/gnuplot
echo TARGET=gnuplot.exe > target.txt
cat target.txt config/makefile.mgw > config/makefile.mgw.t
make clean -C src -f ../config/makefile.mgw.t; make -C src -f ../config/makefile.mgw.t
# make wgnuplot_pipes.exe
cd /home/gnuplotcvs/gnuplot
echo TARGET=wgnuplot_pipes.exe > target.txt
cat target.txt config/makefile.mgw > config/makefile.mgw.t
make clean -C src -f ../config/makefile.mgw.t; make -C src -f ../config/makefile.mgw.t
# make wgnuplot.exe
cd /home/gnuplotcvs/gnuplot
echo TARGET=wgnuplot.exe > target.txt
cat target.txt config/makefile.mgw> config/makefile.mgw.t
make clean -C src -f ../config/makefile.mgw.t; make -C src -f ../config/makefile.mgw.t
**************************
However, a quick attempt at a png
> plot led to an application crash at offset 0x000a01ee. The exception
> was 0xc0000005. (SVG and PNG are probably the two most common formats I
> use.) I'm not sure if this is a libgd issue, or what.
>
> Debugging (outside of MS tools) is sorta new to me, so guidance and
> suggestions are welcome. This was the latest CVS that I checked out as
> of about 10 minutes before writing this email.
Building the gd library requires grate care.
Do you build your gd libraries dynamically ?
I am now using dynamic libgd (2.0.36RC1) constructed with very trick hucks.
Basically it is safe to use statically build libgd libraries.
At the statically building, you should add
#define NONDLL 1
at the very top of gd.h.
BTW, how did get libpng, libjpeg, freetype and zlib libraries?
>From GNUWIN32, GTK+ download for windows or build by yourself.
I am using the gd and cario related libraries downloaded from the GTK+ download for windows.
http://www.gtk.org/download-windows.html
These libraries enable us to make pngcairo and pdfcairo terminals.
However, the modification of a header file of jpeg7 was required to build gd library.
I hope the above is useful for you.
Regards
Tatsuro
--- Tait wrote:
> > > > I'd love to help out with this, since I use gnuplot on Windows a lot, but
> > > > I still haven't been able to get the sources to build (using mingw). If
> > > > someone has tips/tricks on getting gnuplot to build under mingw, please
> > > > share them. If not, I'll clean up, start over, and try to post a log
> > > > where I'm getting errors.
> > > >
> > > OK
> > > Please give me some time to write tips and to upload the gd and wxWidget libraries built by
> myself.
> > > (Other dependency libraries are able to downloaded from the web site of GTK for windows.)
> >
> > Did you manage to get mingw under control?
> > Are you still planning to have a look at the listed bug reports?
>
> A little prod can do wonders for one's motivation sometimes... thanks
> Ethan!
>
> I had sort of let this linger a bit long, so I finally got off my duff
> and had another go. After a lengthy process of beating libgd (2.0.35)
> into submission, I think I have managed to successfully compile gnuplot.
> I don't have HCW, so I just commented that command out of the makefile
> for the time being.
>
> Notably, "make install" fails:
> $ make install
> ./doc2rtf ../docs/gnuplot.doc win/gnuplot.rtf
> # hcw -c -e win/wgnuplot.hpj
> mkdir -p /home/xxxxxxxx/install
> cp gnuplot.exe /home/xxxxxxxx/install/gnuplot.exe
> cp: cannot stat `gnuplot.exe': No such file or directory
> make: *** [install] Error 1
>
> This appears to be a minor issue, as pgnuplot.exe and wgnuplot.exe both
> exist. I ran wgnuplot.exe and was able to do a quick plot and splot. A
> quick svg plot seems to have worked. However, a quick attempt at a png
> plot led to an application crash at offset 0x000a01ee. The exception
> was 0xc0000005. (SVG and PNG are probably the two most common formats I
> use.) I'm not sure if this is a libgd issue, or what.
>
> Debugging (outside of MS tools) is sorta new to me, so guidance and
> suggestions are welcome. This was the latest CVS that I checked out as
> of about 10 minutes before writing this email.
>
> Tait
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> gnuplot-beta mailing list
> gnuplot-beta@...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
>
--------------------------------------
GyaO! - Anime, Dramas, Movies, and Music videos [FREE]
http://pr.mail.yahoo.co.jp/gyao/
|