[Gdal-dev] error creating gtiff
Chris Garrard
chrisg at biology.usu.edu
Fri Sep 2 18:45:02 EDT 2005
Thanks, Ken, but I still can't get it to work. I did get it to build
using the external libtiff 3.7.3 by changing GDALmake.opt, but I'm still
getting the same error when I try to create a geotiff.
I tried building version 1.2.6 and it compiled fine, but it doesn't
work, either. So then I tried version 1.1.9, because that's what we had
installed on our old machine, and it seems to work fine. I'd still like
to get a newer version working, but at least we're up and running for
now...
Chris
> -----Original Message-----
> From: gdal-dev-bounces at lists.maptools.org
> [mailto:gdal-dev-bounces at lists.maptools.org] On Behalf Of Ken Boss
> Sent: Thursday, September 01, 2005 3:39 PM
> To: gdal-dev at lists.maptools.org
> Subject: Re: [Gdal-dev] error creating gtiff
>
> >>> "Chris Garrard" <chrisg at biology.usu.edu> 9/1/2005 4:31 PM >>>
> Hi,
>
> I just compiled GDAL 1.3.0 on a Solaris 10 (sparc) box. I used the
> internal versions of libtiff, geotiff, etc, because it forced me to
> (couldn't find the headers for external versions, even though
> they were
> there). Now I'm trying to use gdal_translate to create some geotiffs,
> and it's failing. I've tested a few other output types, and they work
> fine. Here's the message I'm getting:
>
> earth2# gdal_translate -of gtiff test.img test.tif
> Input file size is 1599, 1817
> 0...10...20...30...40...50...60...70...80...90...100 - done.
> ERROR 4: `test.tif' not recognised as a supported file format.
>
> ERROR 4: `test.tif' not recognised as a supported file format.
>
> It actually creates a file of about the right size, but nothing will
> open it. Anyone have any ideas?
>
> Thanks,
> Chris
>
> *-------------------------------------------------------------
> --------------------------
>
> Chris--
>
> I recently battled the exact same problem on a Solaris 8
> sparc box, though I was intentionally trying to use the
> internal versions of libtiff/libgeotiff. I ripped some hair
> out trying to find potentially conflicting tiff libs on the
> system, but to no avail.
>
> In the end I built and installed libtiff-3.7.3, then ran the
> GDAL configure script setting the --with-libtiff option to
> the location of the libtiff-3.7.3 install. I had to manually
> add -I/path/to/libtiff/include to the CPPFLAGS line in
> GDALmake.opt before I could finally get it to build. That did
> the trick, though I'm still mystified as to what was going on
> in the first place.
>
> HTH,
>
> --Ken
>
>
>
>
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/gdal-dev
>
More information about the Gdal-dev
mailing list