[gdal-dev] Exporting functions under Windows
misha at mail.geometrics.com
Mon Aug 29 21:05:07 EDT 2011
I think I figured it out. I added -DCPL_DISABLE_STDCALL
to the OPTFLAGS and commented out STDCALL=YES
After this it all worked.
On 8/29/2011 5:29 PM, Mikhail Tchernychev wrote:
> I came across this problem before, and I don't remember id I solved.
> The problem is then
> gdal18.dll is not exporting many functions. I use default build using
> VC 2010 express edition.
> For instance instead of function "GDALAllRegister" library exports
> "_GDALAllRegister at 0"
> GetProcAddress() fails in first case, but works for second.
> I am using C interface.
> Am I missing something very basic?
> Thank you
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
More information about the gdal-dev