I was finally able to get this to build, but I had to run configure of gdal 
with the --without-libtool option.

What kind of affect does this have on the software (other than having a 
successful, shorter build)?

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!!)

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
________________________________
From: [email protected] [[email protected]] on 
behalf of Cole, Derek [[email protected]]
Sent: Wednesday, June 08, 2011 3:51 PM
To: [email protected]
Subject: [gdal-dev] Adding jasper support to gdal build

    Hello all,

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:

./configure --enable-shared --prefix=/home/dcole/dump/jasper-1.900.1.uuid
make
make install

which created bin and lib folders in that directory(as well as already having 
the include folder there).

Then I tried to add it to gdal like so

./configure --with-jasper=/home/dcole/dump/jasper-1.900.1.uuid 
--prefix=/home/dcole/dump/gdal-1.8.0

However, when I run make, I am getting the following error:

/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
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
/home/dcole/dump/gdal-1.8.0/.libs/libgdal.so: undefined reference to 
`jp2_encode_uuid'
collect2: ld returned 1 exit status
make[1]: *** [gdalinfo] Error 1
make[1]: Leaving directory `/home/dcole/dump/gdal-1.8.0/apps'
make: *** [apps-target] Error 2


Any ideas why this is still missing from the linkers path? Thanks

Derek
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to