[Gdal-dev] GDAL 1.5.1 distribution - something's missing
Mateusz Loskot
mateusz at loskot.net
Thu Jul 17 12:35:32 EDT 2008
Maksim Sestic wrote:
> Hi Mateusz,
>
> I see... Although it's quite strange, I'm building GDAL via command line:
>
> nmake /f makefile.vc MSVC_VER=1400
>
> while I commented out debugging option in nmake.opt (have optimized build
> uncommented). Is this debug flag hiding somewhere else?
I'd suggest you to grep through all makefile.vc files
to see if /MDd or /MTd flags are used anywhere.
Generally, there are very few flags (3 with debug and non-debug
variants) that control linkage against C/C++ run-time libraries
http://msdn.microsoft.com/en-us/library/2kzt1wy3(VS.80).aspx
> Since it's still
> requiring MSVCP80D.DLL and MSVCR80D.DLL files (I presume D stands for
> "Debug").
Hmm, are you sure that they are dependencies of gdal.dll itself
or perhaps one of GDAL dependency links against debug binaries,
For instance, if you did build libcurl or expact yourself and then
linked GDAL against them, that's the problem.
So, all GDAL dependencies you have built yourself need to be re-build as
release too.
Greetings
--
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
More information about the gdal-dev
mailing list