[gdal-dev] Proj4 makefile.vc
mchapman at texelinc.com
mchapman at texelinc.com
Sat Dec 29 09:38:20 EST 2007
Mateusz,
Thank you for validating that. I was hoping that was case. By the way, I'm really liking 1.5.0. There are a ton of great new features and things have been working really solid. Great job.
Best regards,
Martin
Sent via BlackBerry by AT&T
-----Original Message-----
From: Mateusz Loskot <mateusz at loskot.net>
Date: Sat, 29 Dec 2007 12:25:05
To:Martin Chapman <mchapman at texelinc.com>
Cc:'Frank Warmerdam' <warmerdam at pobox.com>, gdal-dev at lists.osgeo.org, proj <proj at lists.maptools.org>
Subject: Re: [gdal-dev] Proj4 makefile.vc
Martin Chapman wrote:
> Frank / Anyone,
>
> I don't know if this correct but I was having trouble getting the proj.dll
> to load in my MFC exe application in VS2005 in debug mode MDd. I went into
> the makefile.vc for proj and changed the following to match your nmake.opt
> compiler settings for debug and now everything works great. I would imagine
> that is ok to do? This is what I changed it to be:
>
> #OPTFLAGS= /nologo /Zi /MD /Fdproj.pdb
>
> OPTFLAGS= /nologo /MDd /EHsc /Zi /D_CRT_SECURE_NO_DEPRECATE
> /D_CRT_NONSTDC_NO_DEPRECATE /DDEBUG /D_DEBUG /Fd$(PROJ_LIB_DIR)\Fdproj.pdb
Martin,
These debug flags is a kind of minimal required set of flags and
do not include all necessary flags between Visual C++ versions.
AFAIU, it's intentional to leave customization of OPTFLAGS to a user.
Your version of flags looks correct to me, for Visual C++ 8.0 (2005).
BTW, I believe this post belongs to proj list than gdal-dev,
so I've added it to CC.
http://lists.maptools.org/mailman/listinfo/proj
Cheers
--
Mateusz Loskot
http://mateusz.loskot.net
More information about the gdal-dev
mailing list