<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>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.&nbsp;</div><div>--Jennifer</div><br><div><div>On Jun 1, 2014, at 7:21 PM, Sewasew Betru wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><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; position: static; z-index: auto; " 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>&gt;<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 &nbsp;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 &nbsp;" *.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></div>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>http://gradsusr.org/mailman/listinfo/gradsusr<br></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams<br>Center for Ocean-Land-Atmosphere Studies (COLA)<br>111 Research Hall, Mail Stop 2B3<br>George Mason University<br>4400 University Drive<br>Fairfax, VA 22030&nbsp;<br><br></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></div></span></span><br class="Apple-interchange-newline">
</div>
<br></body></html>