[gradsusr] Error reported in the g2clib library installation

王佳钰 wjy_jenifer at mail.dlut.edu.cn
Sun Sep 22 07:31:43 EDT 2019


Dear sir or madam,

I am very interested in GrADS and want to learn it. But I ran into a problem with the installation. The error always occured when I installed the g2clib library in the GrADS 2.2.1:




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: *** [libg2c_v1.6.0.a(dec_jpeg2000.o)] Error 1




The jasper library has been installed successfully. Under the path" /public/home/user/anzi/Build_WRF/grads/supplibs/include", I can also find the jasper folder, which includes "jasper.h" file and its dependent .h file.

This is my environment variable: SUPPLIBS=/public/home/user/anzi/Build_WRF/grads/supplibs

Do you know what the problem is?

Thank you so much for your attention.

Jiayu


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20190922/37823a90/attachment-0001.html>


More information about the gradsusr mailing list