[FGS] MrSID Support

Wendell Dingus wendell at bisonline.com
Thu Jun 11 08:10:09 EST 2009


OK, so I've searched the internet, this mailing list, etc... I understand the licensing issues and why you've not bundled it in by default. We have some aerials in that format and want to take advantage of them on a website that we have served by FGS though. 

This appears to be precisely what we need: 
http://dev1.lan.mapgears.com/vm-fgsdev1.0/HOWTO-BUILD-RELEASE-COMPATIBLE-PACKAGE.txt 

We downloaded the vmware image, fired it up, got our bearings.. Then went to LizardTech's site, downloaded the _latest_ SDK, uncommented the line to include it, tried to build the package. 

What's available on their site now is newer than what is referenced in the config file and this documentation. It bombs out in the compile. It was looking for a file in a subdirectory that existed a level down so I made a symlink to try and work around that and the second attempt made it much further before bombing out. 

fgs at debian:~/fgs-dev/src/Geo_DSDK-7.0.0.2167$ ls -l include/support
lrwxrwxrwx 1 fgs fgs    10 2009-06-07 17:52 support -> ../include

Here's the build error: 

..snip.. 
mrsiddataset.cpp:1275: error: invalid use of undefined type ‘struct LizardTech::LTIImageReader’ 
/home/fgs/fgs-dev/src/Geo_DSDK-7.0.0.2167/include/support/lti_types.h:204: error: forward declaration of ‘struct LizardTech::LTIImageReader’ 
mrsiddataset.cpp: In constructor ‘LTIDLLReader<T>::LTIDLLReader(const LizardTech::LTFileSpec&, bool) [with T = LizardTech::MrSIDImageReader]’: 
mrsiddataset.cpp:1260: instantiated from here 
mrsiddataset.cpp:123: error: no matching function for call to ‘LizardTech::MrSIDImageReader::MrSIDImageReader(const LizardTech::LTFileSpec&, bool&)’ 
/home/fgs/fgs-dev/src/Geo_DSDK-7.0.0.2167/include/support/MrSIDImageReader.h:37: note: candidates are: LizardTech::MrSIDImageReader::MrSIDImageReader() 
/home/fgs/fgs-dev/src/Geo_DSDK-7.0.0.2167/include/support/MrSIDImageReader.h:37: note: LizardTech::MrSIDImageReader::MrSIDImageReader(const LizardTech::MrSIDImageReader&) 
make[2]: *** [../o/mrsiddataset.o] Error 1 
make[2]: Leaving directory `/home/fgs/fgs-dev/src/gdal-1.5.0/frmts/mrsid' 
make[1]: *** [mrsid-install-obj] Error 2 
make[1]: Leaving directory `/home/fgs/fgs-dev/src/gdal-1.5.0/frmts' 
make: *** [frmts-target] Error 2 
! ./fgs_build: Fatal error returned, exiting... 
! /home/fgs/fgs-dev/bin/fgs_build_pkg.sh: Fatal error returned, exiting... 


So, suggestions? I can't find the referenced version of their SDK anywhere including their site. 

Next question, which might have a simple answer, but it sure looks confusing to me. Version 0.x, 1.0, 9.5 The jump seemed odd. Is "1.0" really (sort of, kind of) "9.1" actually? Based on the version numbering convention you've switched to that would seem to be the case. Anyway, is there a copy of the development environment for 9.5 available somewhere? We're only able to find it for 1.0/9.1 currently. Will that newer version be successful in linking MrSID support with the version of the SDK now available? 

Thanks.


More information about the Foss-gis-suite mailing list