[gdal-dev] GDAL no longer compile under Windows

Yuchen Zhong yuchen at avenza.com
Thu May 14 13:33:28 PDT 2015


Hello Even,

Just tried. That totally fixes it. Thank you!

Yuchen


Sent from Mailbird [http://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm_campaign=sent-from-mailbird]
On 2015-05-14 2:30:18 PM, Even Rouault <even.rouault at spatialys.com> wrote:
Selon Yuchen Zhong :

> Hello,
>
> Sorry my mail client just crashed and the draft message was send somehow. 
>
> Here is the build script that I used: 
>
> call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" >
> ..\make_gdal_call_log.txt 2>&1
> nmake /f makefile.vc clean > ..\make_gdal_clean_log.txt 2>&1
> nmake /f makefile.vc DEBUG=1 > ..\make_gdal_compile_log.txt 2>&1
>
> And also attached a log file. Again, the same script works all fine before
> May 2, 2015. 

Yuchen,

I've just committed something that should hopefully fix it. Seems nobody has
done a Windows debug build recently.

Even

>
> Best regards,
> Yuchen
>
> Sent from Mailbird
>
[http://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm_campaign=sent-from-mailbird]
> On 2015-05-14 1:59:04 PM, Yuchen Zhong wrote:
> Hello Even, 
>
> I tried with the latest version for today. It is working with my previous
> build script. 
> However, if I add DEBUG to it, it will give a lot of errors (different errors
> this time). 
>
> Here is an example: 
>
> reader_kompsat.cpp
> reader_kompsat.cpp : fatal error C1033: cannot open program database
> 'c:\gdal200.pdb'
> Generating Code...
> NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
> 10.0\VC\BIN\cl.EXE"' : return code '0x2'
> Stop.
>
> Similarly, it was alright before May 2. I guess it is only partially fixed? 
>
> Yuchen
>
>
> Sent from Mailbird
>
[http://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm_campaign=sent-from-mailbird]
> On 2015-05-14 11:40:59 AM, Even Rouault wrote:
> Selon Yuchen Zhong :
>
> > Hello Even,
> >
> > Basically, there are a number of files not found. I guess there must be an
> > error in build script? I notice that gcore/makefile.vc was modified in that
> > commit. It builds fine for the last commit on May 2, 2015. 
> >
> > Here is an example of the error message (I also attached the entire compile
> > log in this email for your reference): 
> >
> > c1xx : fatal error C1083: Cannot open source file:
> > 'gdaljp2metadatagenerator.cpp': No such file or directory
> > Generating Code...
> > NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
> > 10.0\VC\BIN\cl.EXE"' : return code '0x2'
> > Stop.
>
> Yes that reminds me of the error that was fixed in a later revision. So svn
> update.
>
> >
> > Best regards,
> > Yuchen
> >
> >
> > Sent from Mailbird
> >
>
[http://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm_campaign=sent-from-mailbird]
> > On 2015-05-14 11:15:34 AM, Even Rouault wrote:
> > Selon Yuchen Zhong :
> >
> > > Hello all,
> > >
> > > For some reason, GDAL no longer compile after this check in (commit) on
> May
> > > 3rd, 2015: 
> > >
> >
> > Yuchen
> >
> > "no longer compiles" is not precise enough. Please report the exact error
> > messages.
> >
> >
> > > Add imagery (satellite or aerial) metadata support (DigitalGlobe, GeoEye,
> > > OrbView, Landsat, Pleiades, Resurs-DK1).
> > > git-svn-id: https://svn.osgeo.org/gdal/trunk@29123
> > > f0d54148-0727-0410-94bb-9a71ac55c965
> >
> > Did you try more recent revisions ? There was a temporary breakage that has
> > been
> > fixed in later revisions.
> >
> > The builds at http://archive.gisinternals.com/sdk/ succeeds with latest
> > revisions
> >
> > Even
> >
> > --
> > Spatialys - Geospatial professional services
> > http://www.spatialys.com
> >
>
>
> --
> Spatialys - Geospatial professional services
> http://www.spatialys.com
>


--
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20150514/8d42e347/attachment.html>


More information about the gdal-dev mailing list