[gdal-dev] GDAL Data dir and installed application
Javier Urien
javierurien+gdal at gmail.com
Fri May 30 15:31:46 EDT 2008
On 5/30/08, Javier Urien <javierurien+gdal at gmail.com> wrote:
> On Thu, May 29, 2008 at 11:18 PM, Frank Warmerdam <warmerdam at pobox.com> wrote:
> > Javier Urien wrote:
> >>
> >> Hello,
> >>
> >> I am developing an application that uses GDAL. I compiled with
> >> MinGW+Msys on windows. I use proj4 as an external dll.
> >> When I install the application on a clean machine (ie not
> >> developement), I do not get all the georreference information I do on
> >> the development installation. I found that Gdal apps use the GDAL_DATA
> >> variable and so I tried setting it to the installation directory
> >> containing all the .csv gdal provides, but with no success.
> >>
> >> Any hints on how to accomplish this?
> >
> > Javier,
> >
> > Is there any possibility the PROJ.DLL isn't being found? Is it in the path?
> > You might try setting the CPL_DEBUG environment variable to ON to get more
> > information.
>
>
> proj.dll is in the same directory as the application (not in the path)
> I will try setting the path, but it shouldn't really matter.
>
That did it. I had libproj-0.dll, but renamed it to proj.dll and it
works. Thanks
More information about the gdal-dev
mailing list