[FGS] MrSID Support
nsavard at mapgears.com
Thu Jun 11 10:22:08 EST 2009
Wendell Dingus wrote:
> 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:
> 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-184.108.40.2067$ ls -l include/support
> lrwxrwxrwx 1 fgs fgs 10 2009-06-07 17:52 support -> ../include
> Here's the build error:
> mrsiddataset.cpp:1275: error: invalid use of undefined type ‘struct LizardTech::LTIImageReader’
> /home/fgs/fgs-dev/src/Geo_DSDK-220.127.116.117/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-18.104.22.1687/include/support/MrSIDImageReader.h:37: note: candidates are: LizardTech::MrSIDImageReader::MrSIDImageReader()
> /home/fgs/fgs-dev/src/Geo_DSDK-22.214.171.1247/include/support/MrSIDImageReader.h:37: note: LizardTech::MrSIDImageReader::MrSIDImageReader(const LizardTech::MrSIDImageReader&)
> make: *** [../o/mrsiddataset.o] Error 1
> make: Leaving directory `/home/fgs/fgs-dev/src/gdal-1.5.0/frmts/mrsid'
> make: *** [mrsid-install-obj] Error 2
> make: 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?
About version numbering you have to come back to the fgs mailling list
archive for an explanation. We decided to use the same version naming
convention then Ubuntu which will be more meaningful.
There is actually a VM for this 9.5 version that could be made available
on demand but before I'll test another approach to compile mrsid and let
More information about the Foss-gis-suite