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

Frank Warmerdam warmerdam at pobox.com
Wed Jan 27 22:35:14 EST 2010


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.

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent


More information about the gdal-dev mailing list