[GRASS5] GRASS compilation on cygwin and IRIX
Andreas Lange
Andreas.Lange at Rhein-Main.de
Tue Sep 4 17:45:48 EDT 2001
Hi,
i recompiled the latest CVS code on IRIX 6.5 with gcc 3.0 and on cygwin
(latest setup on W2K).
On IRIX i have to manually set all include/library dirs or the libraries
are not found. libpng and libgd are not found, although specified with
--with-png-libs=/usr/freeware/lib32 \
--with-png-includes=/usr/freeware/include \
--with-gd-libs=/usr/freeware/lib32 \
--with-gd-includes=/usr/freeware/include \
libs are there (double checked that).
If i put -lpng -lm to the header file, r.in.png and r.out.png compile.
But the PNGdriver does not compile at all:
SRC = /disk2/opt/grass/grass/src
CMD = /disk2/opt/grass/grass/src/CMD
UNUSED = /disk2/opt/grass/grass/unused
HEADER = head.mips-sgi-irix6.5
ARCH = mips-sgi-irix6.5
GISBASE = /disk2/opt/grass/grass/dist.mips-sgi-irix6.5
VERSION = 5.0.0pre2 August 2001
#################################################################
/disk2/opt/grass/grass/src/display/devices/PNGdriver
make -f OBJ.mips-sgi-irix6.5/make.rules
gcc -g -O2 -I/disk2/opt/grass/grass/src/include -I../lib -c Color.c -o
OBJ.mips-sgi-irix6.5/Color.o
In file included from Color.c:9:
png.h:23:3: #error Neither PNG nor GIF supported
make: *** [OBJ.mips-sgi-irix6.5/Color.o] Error 1
Please see at:
http://members.tripod.de/AndreasLange/igrass/index.html
More information about the grass-dev
mailing list