[Gdal-dev] GDAL 1.5.1 distribution - something's missing

Tamas Szekeres szekerest at gmail.com
Thu Jul 17 10:31:26 EDT 2008


Maksim,

My best bet is that the crt runtime dll cannot be accessed that the
binaries have been compiled against.
But you can use a dependency tracking tool to make sure about the
dll-s that are not available on the system.
As far as I remember the compiler dependent crt redistributable
package is available to install for free.

Best regards,

Tamas


2008/7/17 Maksim Sestic <max at geoinova.com>:
>
> 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.
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>


More information about the gdal-dev mailing list