<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div id="yiv9008083341"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"><div id="yiv9008083341"><div id="yiv9008083341yui_3_16_0_1_1401656298864_7686"><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;" class="yiv9008083341yui_3_16_0_1_1401656298864_7554" id="yiv9008083341yui_3_16_0_1_1401656298864_7685"><pre class="yiv9008083341" id="yiv9008083341yui_3_16_0_1_1401656298864_3094" style="">Hi, all
<i class="yiv9008083341" style="">
</i><i class="yiv9008083341" id="yiv9008083341yui_3_16_0_1_1401656298864_3098" 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="yiv9008083341" style="">
</i>><i class="yiv9008083341" id="yiv9008083341yui_3_16_0_1_1401656298864_3099" style="">INC=-I/root/supplibs/src/zlib/include -I/root/supplibs/src/libpng/include/libpng16 -I/root/supplibs/src/jasper/include
</i><i class="yiv9008083341" style="">
</i><i class="yiv9008083341" id="yiv9008083341yui_3_16_0_1_1401656298864_3109" style="">But when i run "make" in the shell i have the following error:
</i><i class="yiv9008083341" style="">
</i><i class="yiv9008083341" id="yiv9008083341yui_3_16_0_1_1401656298864_3125" 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="yiv9008083341" id="yiv9008083341yui_3_16_0_1_1401656298864_3124" style="">dec_jpeg2000.c:8:27: error: jasper/jasper.h: No such file or directory
</i><i class="yiv9008083341" id="yiv9008083341yui_3_16_0_1_1401656298864_3123" 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="yiv9008083341" style="">
</i><i class="yiv9008083341" id="yiv9008083341yui_3_16_0_1_1401656298864_3135" 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="yiv9008083341" style="">
</i><i class="yiv9008083341" style="">Thanks</i></pre><div class="yiv9008083341" id="yiv9008083341yui_3_16_0_1_1401656298864_3133" style="">sew</div><div id="yiv9008083341yui_3_16_0_1_1401656298864_4272" class="yiv9008083341" style=""><br style=""></div></div></div></div></div></div></div></div></body></html>