in reply to Re: installing pgplot on cygwin
in thread installing pgplot on cygwin

Sure thing... It is rather complicated..

I downloaded the PGPLOT module from CPAN
In the readme file it says you must download the
graphics libaries first

So I go to http://spdg1.sci.shizuoka.ac.jp/grwinlib/english/contrib/pgplot/
and down loaded GRWin driver for PGPLOT for Cygwin which also includes the libaries files

After installing the file I then ran the make file for the PGPLOT perl module
and got the following error message

libpgplot.a(gwdriv.c): undefined reference to "GWgetrgb"

("GWgetrgb" is a subroutine in GRWin)

Penny

Replies are listed 'Best First'.
Re^3: installing pgplot on cygwin
by ysth (Canon) on Jun 20, 2005 at 08:49 UTC
      Thanks ysth for having a look.. It is really nice to know that I am not doing something
      silly ( though if I was it would be much easy to fix ;-) ).

      It seems to me that be the libpgplot.a libary file may be calling GrWin routines (GWgetrgb
      and varrious others) and are looking for them in the gwdriv.o or gwdriv.c files.
      When I search for these files they have not been down loaded as part of the GrWin driver.

        Did you put the pggw stuff in /usr/local/pgplot? The libpgplot.a in that references GWgetrgb, which is actually provided in libGrWin.a and libGrWin0.a. I don't remember the latter two libraries being linked; you might try adding a -lGrWin switch.