[gdal-dev] GDAL 1.6.0 DLL Hell problem on Windows Vista?
Jason Roberts
jason.roberts at duke.edu
Mon Dec 15 17:12:02 EST 2008
Greetings GDAL developers,
I cannot get GDAL 1.6.0 to work on Windows Vista SP1. It appears that there
is a DLL Hell problem that does not appear on XP SP3, at least with my
machines.
Repro steps on Vista SP1:
1. Download
ftp://ftp.remotesensing.org/gdal/win32/1.6/gdalwin32exe160.zip and
decompress to C:\gdalwin32-1.6
2. From cmd.exe shell:
a. SET PATH=C:\gdalwin32-1.6\bin;%PATH%
b. SET GDAL_DATA=C:\gdalwin32-1.6\data
c. C:\gdalwin32-1.6\bin\gdalinfo.exe
3. Receive the following dialog box:
---------------------------
gdalinfo.exe - Application Error
---------------------------
The application failed to initialize properly (0xc0150002). Click OK to
terminate the application.
---------------------------
OK
---------------------------
The event log contains a new event: Source = SideBySide, Event ID = 33,
Description = Activation context generation failed for
"C:\gdalwin32-1.6\bin\geos_c.dll". Dependent Assembly
Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18
e3b",type="win32",version="9.0.21022.8" could not be found. Please use
sxstrace.exe for detailed diagnosis.
Running depends.exe on C:\gdalwin32-1.6\bin\geos_c.dll gives the error "
Error: The Side-by-Side configuration information for
"c:\gdalwin32-1.6\bin\GEOS_C.DLL" contains errors. The application has
failed to start because its side-by-side configuration is incorrect. Please
see the application event log for more detail (14001)." Looking in the event
log again, we have another instance of the event above.
This looks like a classic DLL Hell problem, with Vista thrown in just to
make it more confusing. Please let me know if I've somehow messed up the
install or am missing something obvious. Apologies if I am.
I will investigate a bit further, but not being a GDAL developer, I do not
know which compilers you use, how you intend to link to MSVCRT, etc. If the
GDAL "build guy" could look at this, I'd really appreciate it. If you send
private builds, I can try them out with quick turnaround.
Thanks for your help,
Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20081215/6e8de1b7/attachment.html
More information about the gdal-dev
mailing list