<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}
-->
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;">I was finally able to get this to build, but I had to run configure of gdal with the --without-libtool option.<br>
<br>
What kind of affect does this have on the software (other than having a successful, shorter build)?<br>
<br>
I still dont quite understand what the cause was. This has enabled me to read JPEG2000 compressed nitf's, but I am having a problem that it seems to be taking forever for the files to load (10+minutes!!)<br>
<br>
What is an alternate solution? This seems to be a ridiculous amount of read time, considering the uncompressed image of approximate the same size (pixels wise) loads very fast<br>
<div style="font-family: Times New Roman; color: rgb(0, 0, 0); font-size: 16px;">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF278065"><font color="#000000" face="Tahoma" size="2"><b>From:</b> gdal-dev-bounces@lists.osgeo.org [gdal-dev-bounces@lists.osgeo.org] on behalf of Cole, Derek [dcole@integrity-apps.com]<br>
<b>Sent:</b> Wednesday, June 08, 2011 3:51 PM<br>
<b>To:</b> gdal-dev@lists.osgeo.org<br>
<b>Subject:</b> [gdal-dev] Adding jasper support to gdal build<br>
</font><br>
</div>
<div></div>
<div>
<div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 10pt;">
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++ gdalinfo.lo /home/dcole/dump/gdal-1.8.0/libgdal.la -o gdalinfo<br>
libtool: link: g++ .libs/gdalinfo.o -o .libs/gdalinfo /home/dcole/dump/gdal-1.8.0/.libs/libgdal.so -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>
</div>
</div>
</div>
</body>
</html>