[FGS] MrSID Support
Wendell Dingus
wendell at bisonline.com
Mon Jun 15 08:54:51 EST 2009
Than you very much!
But... No joy as of yet...
[root at gis lib]# sh mrsid_ld.sh
Where is installed the software development kit? /opt/mrsid/Geo_DSDK-7.0.0.2167
/usr/bin/ld: skipping incompatible /opt/mrsid/Geo_DSDK-7.0.0.2167/lib/Release/libltidsdk.a when searching for -lltidsdk
/usr/bin/ld: cannot find -lltidsdk
collect2: ld returned 1 exit status
[root at gis lib]# cat /opt/mrsid/Geo_DSDK-7.0.0.2167/VERSION.txt
Name: GeoExpress Decode SDK
Version: 7.0.0.2167
Platform: linux.x86.gcc41
Build type: Release
[root at gis fgs-9.5]# set | grep FGS_HOME
FGS_HOME=/opt/fgs-9.5
I wasn't sure if you had done this against the "1.0" or "9.5" versions so we installed both as /opt/fgs-9.{1,5} and have been symlink either or the other to /opt/fgs/ for testing.
Thanks...
----- "Normand Savard" <nsavard at mapgears.com> wrote:
> 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:
> > 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.
> >
> >
> Wendell,
>
> Here is a solution in order to be able to use MrSid within FGS as long
> as you are aware of the license terms.
>
> I attached two object files and a shell script. Extract it under
> $FGS_HOME/lib. Download Geo_DSDK-7.0.0.2167.linux.x86.gcc41.tar.gz at
> your prefer location and run "sh mrsid_ld.sh" in $FGS_HOME/lib.
>
> It should work without to download the FGS 9.5 VM.
>
> Norm
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/foss-gis-suite/attachments/20090615/595ba298/attachment.htm
More information about the Foss-gis-suite
mailing list