[gdal-dev] Request to Visual Studio 2008+ users
Mateusz Loskot
mateusz at loskot.net
Sun Apr 22 08:19:15 EDT 2012
Folks,
I'm looking for a but of assistance from GDAL hackers
who use Visual Studio 2008 or later.
I'd be thankful if someone could conduct the following test for me
against the current GDAL trunk:
0) Grab sources from GDAL from SVN trunk or *clean* the sources tree thoroughly,
so cpl_config.h as well as all intermediate, .obj and output binaries
are wiped out
1) Create nmake.local
2) Put the following 6 lines in nmake.local
!IFNDEF DEBUG
OPTFLAGS= $(CXX_ANALYZE_FLAGS) /nologo /MD /EHsc /Ox
/D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE /DNDEBUG
!ELSE
OPTFLAGS= $(CXX_ANALYZE_FLAGS) /nologo /MDd /EHsc /Zi
/D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE
/Fd$(GDAL_ROOT)\gdal$(VERSION).pdb /DDEBUG
!ENDIF
3) nmake /f makefile.vc MSVC_VER=XXXX DEBUG-1
where XXXX is 1500 (VS2008) or 1600 (VS2010).
4) Does GDAL build successfully for you?
If not, what errors are reported.
Thanks in advance!
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
More information about the gdal-dev
mailing list