[gdal-dev] Runtime error on executing "OGRRegisterAll()" function.

Mateusz Loskot mateusz at loskot.net
Sun Jan 31 19:17:04 EST 2010


Frank Warmerdam wrote:
> On Thu, Jan 28, 2010 at 9:03 AM, Mateusz Loskot <mateusz at loskot.net> wrote:
>> By the way, makefile.vc of PCIDISK SDK [1] pulled from external location
>> to frmts/pcidsk/sdk override the flags specified in nmake.opt
>> and explicitly set to /MD
>>
>> This may also potentially cause problems while you'll be debugging your
>> program. So, depending on configuration of GDAL drivers you build, you
>> may need to change /MD to /MDd (for debug only!).
>>
>> [1] https://svn.osgeo.org/gdal/sandbox/warmerdam/pcidsk/src/Makefile.vc
> 
> Mateusz,
> 
> I think this is incorrect.  I believe that the makefiles that come
> with the PCIDSK SDK are ignored when PCIDSK it built
> internally within GDAL.  Instead the gdal/frmts/pcidsk/makefile.vc
> is used which utilizes the normal flags from ../../nmake.opt.
> 
> Correct me with details if I am wrong.

Frank,

Yes, you are perfectly right. Sorry for confusion.

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org


More information about the gdal-dev mailing list