[gradsusr] Error with g2clib installation

Sewasew Betru sewasewbetru at yahoo.com
Sat May 31 17:27:47 EDT 2014


Hi, all I' ve followed all the steps to install "g2clib" from the "Supplemental Libraries for GrADS" i' ve changed de directories in the INC. >INC=-I/root/supplibs/src/zlib/include -I/root/supplibs/src/libpng/include/libpng16 -I/root/supplibs/src/jasper/include But when i run "make" in the shell i have the following error: gcc -c -I/root/supplibs/src/zlib/include -I/root/supplibs/src/libpng/include/libpng16 -I/root/supplibs/src/jasper/include/jasper -DUSE_JPEG2000 -DUSE_PNG  dec_jpeg2000.c dec_jpeg2000.c:8:27: error: jasper/jasper.h: No such file or directory dec_jpeg2000.c: In function ‘dec_jpeg2000’:
dec_jpeg2000.c:55: error: ‘jas_image_t’ undeclared (first use in this function)
dec_jpeg2000.c:55: error: (Each undeclared identifier is reported only once
dec_jpeg2000.c:55: error: for each function it appears in.)
dec_jpeg2000.c:55: error: ‘image’ undeclared (first use in this function)
dec_jpeg2000.c:56: error: ‘jas_stream_t’ undeclared (first use in this function)
dec_jpeg2000.c:56: error: ‘jpcstream’ undeclared (first use in this function)
dec_jpeg2000.c:57: error: ‘jas_image_cmpt_t’ undeclared (first use in this function)
dec_jpeg2000.c:57: error: ‘pcmpt’ undeclared (first use in this function)
dec_jpeg2000.c:59: error: ‘jas_matrix_t’ undeclared (first use in this function)
dec_jpeg2000.c:59: error: ‘data’ undeclared (first use in this function)
make: *** [libgrib2c.a(dec_jpeg2000.o)] Error 1 i don't know why this happens i put all the directories where  " *.h " files are found , anyone can help me, Thanks 
sew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140531/dd183712/attachment.html 


More information about the gradsusr mailing list