[gdal-dev] gdal 1.5.1 vc8 project compile error
Gennady Khokhorin
gok at aerometric-ak.com
Fri Mar 28 16:33:25 EDT 2008
Hi, Ivan.
Did create it with makegdal_gen, the same result.
Went to the studio' makegdal/PropertyPage/NMake/Build Command Line
and did separate line in error message for 2.
As a result in makegdal80.vcproj (line 45) got such separation symbols:
BuildCommandLine="cd $(ProjectDir)
nmake -f makefile.vc"
It could be win specific coding issue.
Now building is fine. Probably you want to update it in
makegdal_get.bat.
I'm with vc8.0.50727 + winXP(sp2)
Happy programming!
gok
-----Original Message-----
From: ivan.lucena at pmldnet.com [mailto:ivan.lucena at pmldnet.com]
Sent: Friday, March 28, 2008 10:26 AM
To: Gennady Khokhorin; gdal-dev at lists.osgeo.org
Subject: Re: [gdal-dev] gdal 1.5.1 vc8 project compile error
Hi Gennady,
The easiest way is to generate a new one by running:
> makegdal_gen.bat
Usage: makegdal_gen "MS Visual C++ version" > makegdalNN.vcproj
Examples:
makegdal_gen 7.10 > makegdal71.vcproj
makegdal_gen 8.00 > makegdal80.vcproj
The other idea is to edit the "Project/Properties/NMake/Build Command
Line/ [...]" so you can add whatever extra settings your Command Prompt
environment would need like setting a environment variable for example.
You can also customize the "Rebuild" and "Clean" command line the same
way.
The problem you have:
> cd c:\my_Projects\packages\gdal-1.5.1\ nmake -f makefile.vc
Shows that there are two command on the same line without a new line or
a "&&" to separate then. It should be:
cd c:\my_Projects\packages\gdal-1.5.1\ && nmake -f makefile.vc
or
cd c:\my_Projects\packages\gdal-1.5.1\
nmake -f makefile.vc
How did that happens? I don't know. It looks good on SVN:
http://trac.osgeo.org/gdal/browser/trunk/gdal/makegdal80.vcproj#L19
Good luck,
Ivan
> -------Original Message-------
> From: Gennady Khokhorin <gok at aerometric-ak.com>
> Subject: [gdal-dev] gdal 1.5.1 vc8 project compile error
> Sent: Mar 28 '08 17:39
>
> Hello, gdalList!
> Can not compile GDAL 1.5.1 using makegdal80.vcproj delivered with the
> package.
> Any suggestion how to fix it?
> Below are studio output window and BuildLog.htm file contents:
>
> >------ Build started: Project: makegdal, Configuration: Release
> Win32
> ------
> 1>Performing Makefile project actions 1>The system cannot find the
> path specified.
> 1>Project : error PRJ0019: A tool returned an error code from
> "Performing Makefile project actions"
> 1>Build log was saved at
> "file://c:\my_Projects\packages\gdal-1.5.1\Release\BuildLog.htm"
> 1>makegdal - 1 error(s), 0 warning(s) ========== Build: 0 succeeded,
> 1 failed, 0 up-to-date, 0 skipped ==========
>
>
> Build Log Build started: Project: makegdal, Configuration:
> Debug|Win32
> Command Lines Creating temporary file
> "C:\DOCUME~1\gennady\LOCALS~1\Temp\BAT000001101408260.bat" with
> contents [ @echo off
>
> cd c:\my_Projects\packages\gdal-1.5.1\ nmake -f makefile.vc
>
> if errorlevel 1 goto VCReportError
>
> goto VCEnd
>
> :VCReportError
>
> echo Project : error PRJ0019: A tool returned an error code from
> "Performing Makefile project actions"
>
> exit 1
>
> :VCEnd
> ]
> Creating command line
> "C:\DOCUME~1\gennady\LOCALS~1\Temp\BAT000001101408260.bat"
> Output Window Performing Makefile project actions
> The system cannot find the path specified.
> Project : error PRJ0019: A tool returned an error code from
> "Performing Makefile project actions"
> Results Build log was saved at
> "file://c:\my_Projects\packages\gdal-1.5.1\Debug\BuildLog.htm"
> makegdal - 1 error(s), 0 warning(s)
>
> Regards,
>
> Gennady
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
More information about the gdal-dev
mailing list