[gdal-dev] Exporting functions under Windows
Mikhail Tchernychev
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.
Thank you
Mikhail
On 8/29/2011 5:29 PM, Mikhail Tchernychev wrote:
> Hi,
>
> 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
> Mikhail
>
> _______________________________________________
> 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