<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><pre class="" style="">Hi, all
<i class="" style="">
</i><i class="" style="">I' ve followed all the steps to install "g2clib" from the "Supplemental Libraries for GrADS" i' ve changed de directories in the INC.
</i><i class="" style="">
</i>><i class="" style="">INC=-I/root/supplibs/src/zlib/include -I/root/supplibs/src/libpng/include/libpng16 -I/root/supplibs/src/jasper/include
</i><i class="" style="">
</i><i class="" style="">But when i run "make" in the shell i have the following error:
</i><i class="" style="">
</i><i class="" style="">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
</i><i class="" style="">dec_jpeg2000.c:8:27: error: jasper/jasper.h: No such file or directory
</i><i class="" style="">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><i class="" style="">
</i><i class="" style="">i don't know why this happens i put all the directories where " *.h " files are found , anyone can help me,
</i><i class="" style="">
</i><i class="" style="">Thanks </i></pre><div class="" style="">sew</div></div></body></html>