[gdal-dev] GDAL 1.6.0 DLL Hell problem on Windows Vista?
Clay, Bruce
bclay at ball.com
Tue Dec 16 14:39:50 EST 2008
Frank:
What is the secret to getting GDAL to build this way? I have Visual
Studio 2005 and have not been able to get it to run. The zip file you
posted works fine on my system (Vista 64 Bit) but it does not include
the csharp files so I have to build.
I have tried building with the makefile.vc file and with the solution
file.
In both cases it compiles fine but won't run. I get an error popup when
I try to run ogrinfo that says
"An application has made an attempt to load the C runtime library
without using a manifest. This is an unsupported way to load Visual
Studio C++ libraries" etc.
Bruce
-----Original Message-----
From: gdal-dev-bounces at lists.osgeo.org
[mailto:gdal-dev-bounces at lists.osgeo.org] On Behalf Of Frank Warmerdam
Sent: Monday, December 15, 2008 7:42 PM
To: Jason Roberts
Cc: gdal-dev at lists.osgeo.org
Subject: Re: [gdal-dev] GDAL 1.6.0 DLL Hell problem on Windows Vista?
Jason Roberts wrote:
> Phil,
>
> Thanks for the suggestion. I suspect it will work. My XP SP3 machine
has
> VC90 entries in C:\Windows\WinSxS, while my Vista SP1 machine does
not.
>
> But if GDAL requires the user to install the VC++ redistributable
first, why
> is GDAL redisting the DLLs (e.g. msvcr90.dll) in the GDAL\bin
directory? I
> suspect the intent was to override sxs in the build process, or
specify a
> publisher policy, or something, so that the user does not have to
install
> the redistributable themselves. The idea being that GDAL would work
like
> old-school, pre-sxs applications, where you just have to have the
right DLL
> versions in the same directory as your .exe.
>
> Was that not the intent? Are users indeed expected to install that
> redistributable first?
Jason,
My fault. The package includes the required VC9 DLLs, but I neglected
to include the manifest for them (Microsoft.VC90.CRT.manifest). I
have repackaged the kit with that manifest, and I'd appreciate your
testing
it.
http://download.osgeo.org/gdal/win32/1.6/gdalwin32exe160.zip
Best regards,
--
---------------------------------------+--------------------------------
------
I set the clouds in motion - turn up | Frank Warmerdam,
warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
_______________________________________________
gdal-dev mailing list
gdal-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
This message and any enclosures are intended only for the addressee. Please
notify the sender by email if you are not the intended recipient. If you are
not the intended recipient, you may not use, copy, disclose, or distribute this
message or its contents or enclosures to any other person and any such actions
may be unlawful. Ball reserves the right to monitor and review all messages
and enclosures sent to or from this email address.
More information about the gdal-dev
mailing list