[Gdal-dev] GDAL on Cygwin

Matt Hanson mhanson at photon.com
Tue Apr 18 20:02:14 EDT 2006


Hi,
 
I'm having a bear of a time trying to get GDAL compiled on Cygwin.   There was a problem with JPEG2000 at first so after realizing I needed the (modified) Jasper library I tried to install that.   That didn't work because it was having problems locating glut, despite my attempts to tell it where it was located and reinstalling it (glut).
 
So forget all that, I figured I would just remove JPEG2000 support...I used:
./configure --with-png=internal --with-jpeg=internal --with-geotiff=internal --with-libtiff=internal --with-jasper=no

and confirmed in GDALmake.opt that jpeg2000 support was removed from the list of formats.
 
 
But then at the end of make:
 
Creating library file: .libs/libgdal.dll.a
.libs/libgdal.la-3.o(.text+0x167fa2): In function `GDALRegister_JPEG2000':
/cygdrive/c/GeoServer/gdal-1.3.1/frmts/jpeg2000/jpeg2000dataset.cpp:1188: undefined reference to `_gtCPLStrdup'

 
 
I'm confused....why is it trying to call GDALRegister_JPEG2000   ?
 
I even tried to remove the jpeg2000 DIRECTORY and it still gave me the error
/cygdrive/c/GeoServer/gdal-1.3.1/frmts/jpeg2000/jpeg2000dataset.cpp:1188: undefined reference 
Now how does it even access a file that is no longer there?
 
- Boggled
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20060418/e9343fba/attachment.html


More information about the Gdal-dev mailing list