<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">&nbsp;&nbsp;&nbsp; Hello all,<br>
<br>
i am trying to add jasper support to gdal so I can read jpeg2000 in NITF files. I downloaded the version of jasper off the site, and configured it like so:<br>
<br>
./configure --enable-shared --prefix=/home/dcole/dump/jasper-1.900.1.uuid<br>
make<br>
make install<br>
<br>
which created bin and lib folders in that directory(as well as already having the include folder there).<br>
<br>
Then I tried to add it to gdal like so<br>
<br>
./configure --with-jasper=/home/dcole/dump/jasper-1.900.1.uuid --prefix=/home/dcole/dump/gdal-1.8.0<br>
<br>
However, when I run make, I am getting the following error:<br>
<br>
/bin/sh /home/dcole/dump/gdal-1.8.0/libtool --mode=link g&#43;&#43;&nbsp; gdalinfo.lo&nbsp; /home/dcole/dump/gdal-1.8.0/libgdal.la -o gdalinfo<br>
libtool: link: g&#43;&#43; .libs/gdalinfo.o -o .libs/gdalinfo&nbsp; /home/dcole/dump/gdal-1.8.0/.libs/libgdal.so&nbsp; -Wl,-rpath -Wl,/home/dcole/dump/gdal-1.8/lib<br>
/home/dcole/dump/gdal-1.8.0/.libs/libgdal.so: undefined reference to `jp2_encode_uuid'<br>
collect2: ld returned 1 exit status<br>
make[1]: *** [gdalinfo] Error 1<br>
make[1]: Leaving directory `/home/dcole/dump/gdal-1.8.0/apps'<br>
make: *** [apps-target] Error 2<br>
<br>
<br>
Any ideas why this is still missing from the linkers path? Thanks<br>
<br>
Derek<br>
</div>
</body>
</html>