[Gdal-dev] Building GDAL by MinGW

Norman Vine nhv at cape.com
Mon Aug 25 18:02:13 EDT 2003


Frank Warmerdam writes:
> > 
> Assuming line 174 reads:
>     pSymbol = GetProcAddress( (HINSTANCE) pLibrary, pszSymbolName );
> 
> Try changing it to:
>     pSymbol = (void*) GetProcAddress( (HINSTANCE) pLibrary, pszSymbolName );
> 
> If this fixes the issue let me know and I will correct the master.  The
> code in this win32 implementation was written for VC++ and this may be the
> first time it has been used with another compiler.

Frank 

This works 

I had made this change in my MingW32 code but hadn't submitted a change

HTH

Norman




More information about the Gdal-dev mailing list