Me again,
I have installed the PNG and ZLIB libraries, however both r.in.png and r.out.png modules still fail to compile. The report that the "header file 'pnm.h' not found".
Here are the errors:
#################################################################
/usr/src/grass/src/raster/r.in.png
make -f OBJ.powerpc-apple-darwin1.2/make.rules
cc -g -O2 -I/usr/X11R6/include/ -I/usr/include/gr -I/usr/local/include -I/usr/include -I/usr/src/grass/src/include -c r.in.png.c -o OBJ.powerpc-apple-darwin1.2/r.in.png.o
pngfunc.h:12: header file 'pnm.h' not found
pngfunc.h:29: undefined type, found `xel'
r.in.png.c:197: undefined type, found `pixel'
r.in.png.c:200: undefined type, found `pixel'
r.in.png.c:207: undefined type, found `pixel'
make: *** [OBJ.powerpc-apple-darwin1.2/r.in.png.o] Error 1
#################################################################
/usr/src/grass/src/raster/r.out.png
pngfunc.h:1: header file 'pnm.h' not found
Thanks for any help,
Jeshua Lacock
Cartographer/Owner
http://SierraMaps.com
http://3dTopoMaps.com
Telephone: (760) 935-4481
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'
On Tue, Dec 05, 2000 at 06:02:22PM -0800, Jeshua Lacock wrote:
Me again,
I have installed the PNG and ZLIB libraries, however both r.in.png and
r.out.png modules still fail to compile. The report that the "header
file 'pnm.h' not found".
Find an install the netpbm library (and possibly utilities). You may
find some of the utilities useful anyway for various pbm/ppm/pgm image
maninpulations. This is also a problem under cygwin.
--
Eric G. Miller <egm2@jps.net>
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'
Hi Eric, Hi Jeshua,
please note that some binary distributions of the netpbm tools (e. g.
for cygwin) do _not_ contain the header files and the library. And i was
not able to compile the latest source from sourceforge on cygwin.
The r.in.png and r.out.png now do not rely on the library, only on the
header files. I send a tarball of the header files to Markus to place it
on the hannover server for user convinience.
Markus, could you upload this?
It would be also possible to include the headers in the src/include dir,
but this could break other things depending on the version installed
there.
I agree that the netpbm tools are very useful.
HTH,
Andreas
Eric G . Miller wrote:
On Tue, Dec 05, 2000 at 06:02:22PM -0800, Jeshua Lacock wrote:
> Me again,
>
> I have installed the PNG and ZLIB libraries, however both r.in.png and
> r.out.png modules still fail to compile. The report that the "header
> file 'pnm.h' not found".
Find an install the netpbm library (and possibly utilities). You may
find some of the utilities useful anyway for various pbm/ppm/pgm image
maninpulations. This is also a problem under cygwin.
--
Eric G. Miller <egm2@jps.net>
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'
--
Andreas Lange, 65187 Wiesbaden, Germany, Tel. +49 611 807850
Andreas.Lange@Rhein-Main.de - A.C.Lange@GMX.net
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'