[Gdal-dev] GDAL 1.5.1 distribution - something's missing
Maksim Sestic
max at geoinova.com
Thu Jul 17 10:22:47 EDT 2008
Hi all,
I just had a working GDAL 1.5.1 copy (custom build), then I uninstalled VS
2005 along with various support libraries for this and that (installed as VS
2005 prerequisite) and installed VS 2008. GDAL is not working anymore: when
I try to run any of the gdal*.exe files (i.e. gdal_translate.exe) it stops
with following message:
The system cannot execute the specified program.
If I try utilizing GDAL managed wrappers via .NET it throws following
exception:
************** Exception Text **************
System.TypeInitializationException: The type initializer for
'OSGeo.GDAL.Gdal' threw an exception. --->
System.TypeInitializationException: The type initializer for
'OSGeo.GDAL.GdalPINVOKE' threw an exception. --->
System.TypeInitializationException: The type initializer for
'SWIGExceptionHelper' threw an exception. ---> System.DllNotFoundException:
Unable to load DLL 'gdal_wrap': This application has failed to start because
the application configuration is incorrect. Reinstalling the application may
fix this problem. (Exception from HRESULT: 0x800736B1)
at
OSGeo.GDAL.GdalPINVOKE.SWIGExceptionHelper.SWIGRegisterExceptionCallbacks_Gdal(ExceptionDelegate
applicationDelegate, ExceptionDelegate arithmeticDelegate, ExceptionDelegate
divideByZeroDelegate, ExceptionDelegate indexOutOfRangeDelegate,
ExceptionDelegate invalidCastDelegate, ExceptionDelegate
invalidOperationDelegate, ExceptionDelegate ioDelegate, ExceptionDelegate
nullReferenceDelegate, ExceptionDelegate outOfMemoryDelegate,
ExceptionDelegate overflowDelegate, ExceptionDelegate
systemExceptionDelegate)
at OSGeo.GDAL.GdalPINVOKE.SWIGExceptionHelper..cctor()
--- End of inner exception stack trace ---
at OSGeo.GDAL.GdalPINVOKE.SWIGExceptionHelper..ctor()
at OSGeo.GDAL.GdalPINVOKE..cctor()
--- End of inner exception stack trace ---
at OSGeo.GDAL.GdalPINVOKE.TermProgress_get()
at OSGeo.GDAL.Gdal..cctor()
--- End of inner exception stack trace ---
at OSGeo.GDAL.Gdal.AllRegister()
Obviously failing at Gdal.AllRegister(), although the same setup works on
the other machine having VS 2005 installed. I guess I'm missing some
VC...something library - but, which one?
Regards,
Maksim Sestic
--
View this message in context: http://www.nabble.com/GDAL-1.5.1-distribution---something%27s-missing-tp18509648p18509648.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
More information about the gdal-dev
mailing list