[gradsusr] Error with g2clib installation

Jennifer Adams jma at cola.iges.org
Mon Jun 2 09:57:25 EDT 2014


What is the directory underneath /root/supplibs/src/jasper/include ? It should be another subdir named jasper, and then in that subdir is where the jas*.h files belong. 
--Jennifer

On Jun 1, 2014, at 7:21 PM, Sewasew Betru wrote:

> 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
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

--
Jennifer M. Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
111 Research Hall, Mail Stop 2B3
George Mason University
4400 University Drive
Fairfax, VA 22030 





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20140602/7098d998/attachment.html 


More information about the gradsusr mailing list