[Proj] Compiling VS2005

Patrick van Dijk patrick.van.dijk at gmail.com
Wed Jan 3 05:03:38 PST 2007


When compiling using VS2005 I found that a change is required for
makefile.vc

The /MD switch needs to be changed to /MT
so change the following lines of makefile.vc:

# Uncomment the first for an optimized build, or the second for debug.
OPTFLAGS=	/nologo /Ox /MD
#OPTFLAGS=	/nologo /Zi /MD /Fdproj.pdb

to:

# Uncomment the first for an optimized build, or the second for debug.
OPTFLAGS=	/nologo /Ox /MT
#OPTFLAGS=	/nologo /Zi /MT /Fdproj.pdb


Then it is no longer required to ship the msvcrt80.dll along with the proj.exe.

Cheers,

Patrick 




More information about the Proj mailing list