[gdal-dev] Request to Visual Studio 2008+ users

Alexander Bruy alexander.bruy at gmail.com
Sun Apr 22 09:24:38 EDT 2012


Hi,

just finished compiling using your instructions and it compiles
fine

2012/4/22 Mateusz Loskot <mateusz at loskot.net>:
> 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

-- 
Alexander Bruy


More information about the gdal-dev mailing list