[gdal-dev] Building only OGR

2019-03-17 Thread FA
Hi Does anyone know if it is possible to build a "small" subset of GDAL? In my Win32 application need to use the OGR functions to translate between coordinate systems. However, when I take the full package, there are clashes between 3rd party libraries imported by GDAL and those I already hav

Re: [gdal-dev] Exception in GDALAllRegister()

2018-09-14 Thread FA
Hi Even, Thanks for your kind response and information. I'm sorry, I should have clarified that I'm using GDAL ver. 2.3.1. I have used /MTd both in the test app and in nmake.opt when compiling GDAL. Changing both to /MDd doesn't seem to make a difference - the same fatal exception occurs. The ca

[gdal-dev] Exception in GDALAllRegister()

2018-09-13 Thread FA
I have built GDAL.lib as a static library for Win32 using Visual C++ 2017. The library uses std-lib Tools\MSVC\14.15.26726 Using an "empty" test application, I experience a crash in GDALAllRegister, more precisely a NULL pointer dereferencing in xtree when GDALAddDerivedBandPixelFunc("real",