Dear Developers,

Another questions concerning the Quantum-GIS source. I briefly described the 
project that Martijn and I are on in regard to combining QGIS with 3D geometry 
(/CAD) functionality.

I have compiled many softwares under linux, although for QGIS I almost always 
simply use the binaries and never build under windows.
Yet, since our customized QGIS is a geological field acquisition tool that runs 
on a Windows Tablet PC, I need to compile under windows.

First I tried to simply build from the latest github src tree (as of last week) 
and carefully followed the instructions as provided by 
http://www.qgis.org/api/INSTALL.html#toc14

Tim Sutton already kindly pointed me to fact that QGIS should be built with 
Visual Studio (Express) v9 2008 and not with version 10, 2010 what I was using 
before.
As result, I no longer have the when building the qgis_core: "The system cannot 
find the batch label specified - VCReportError".

Instead,  I get the another error when building qgis_core that says: " ... 
Generating qgsexpressionparser.cpp ... The system cannot find the path 
specified.". I attached the corresponding BuildLog.htm file. Any idea what 
causes this new problem with building qgis_core?

I use a Windows 7 machine with Visual Studio 2008 (v9) and cmake(-gui) 2.8.8. 
Initially, I had various issues with the configure and generate in cmake-gui 
but, I think, I managed to resolve all of them. Except of one problem of which 
I am not sure if that may cause my issue with building QGIS to do with Windows 
SDK and the SetupAPI.Lib which I find on my system at C:/Progra~2/Microsoft 
SDKs/Windows/v6.0A/Lib/SetupAPI.Lib which I linked in cmake-gui configure.

Should I have and link /v7/Lib/SetupAPI.Lib instead during the cmake configure? 
The QGIS instructions say that "You also need the Microsoft Windows Server(r) 
2003 R2 Platform SDK (for setupapi)". On my Windows 7 machine I instead 
downloaded the corresponding Windows SDK from 
http://www.microsoft.com/en-us/download/conf
The installation of  Windows SDK components through winsdk_web.exe gave the 
error problem as shown in WindowsSDK_installationError.txt

Could a v6.0A/Lib/SetupAPI.Lib be causing the problem with building qgis_core? 
Would an SDK for Windows 7 install a /v7/Lib/SetupAPI.Lib instead? How can I 
get a Windows 7 SetupAPI.Lib & Windows SDK installed on my system? All windows 
SDK installations give me the same error. A google search on Windows 7 SDK 
installation problem shows many reports and some suggestions. I tried several 
but none seem help. Anyone encountered this problem as well?


Any suggestions to resolve the issue with building qgis_core under Windows 7 
are warmly welcomed!

Many thanks, Nico

ÿþ<html> <head> <META HTTP-EQUIV="Content-Type" content="text/html; charset=utf-16"> </head> <body> <pre> <table width=100% bgcolor=#CFCFE5><tr> <td> <font face=arial size=+3> Build Log </font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre> <h3>Build started: Project: qgis_core, Configuration: Debug|Win32</h3> </pre></table><table width=100% bgcolor=#DFDFE5><tr><td><font face=arial size=+2> Command Lines </font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre>Creating temporary file "d:\QGIS_2Build\QGIS_build\src\core\qgis_core.dir\Debug\BAT00000156524144.bat" with contents [ @echo off C:\Progra~)\GnuWin32\bin\bison.exe -oD:/QGIS_2Build/QGIS_build/src/core/qgsexpressionparser.cpp -d -v -t D:/QGIS_2Build/Quantum-GIS/src/core/qgsexpressionparser.yy if errorlevel 1 goto :VCReportError if errorlevel 1 goto VCReportError goto VCEnd :VCReportError echo Project : error PRJ0019: A tool returned an error code from &quot;Generating qgsexpressionparser.cpp&quot; exit 1 :VCEnd ] Creating command line "d:\QGIS_2Build\QGIS_build\src\core\qgis_core.dir\Debug\BAT00000156524144.bat" Creating temporary file "d:\QGIS_2Build\QGIS_build\src\core\qgis_core.dir\Debug\BAT00000256524144.bat" with contents [ @echo off C:\Progra~)\GnuWin32\bin\bison.exe -oD:/QGIS_2Build/QGIS_build/src/core/qgssearchstringparser.cpp -d -v -t D:/QGIS_2Build/Quantum-GIS/src/core/qgssearchstringparser.yy if errorlevel 1 goto :VCReportError if errorlevel 1 goto VCReportError goto VCEnd :VCReportError echo Project : error PRJ0019: A tool returned an error code from &quot;Generating qgssearchstringparser.cpp&quot; exit 1 :VCEnd ] Creating command line "d:\QGIS_2Build\QGIS_build\src\core\qgis_core.dir\Debug\BAT00000256524144.bat" </pre></table><table width=100% bgcolor=#DFDFE5><tr><td><font face=arial size=+2> Output Window </font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre>Generating qgsexpressionparser.cpp The system cannot find the path specified. Project : error PRJ0019: A tool returned an error code from "Generating qgsexpressionparser.cpp" </pre></table><table width=100% bgcolor=#DFDFE5><tr><td><font face=arial size=+2> Results </font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#EDEDF5>&nbsp;</td><td width=0 bgcolor=#FFFFFF>&nbsp;</td><td width=*><pre>Build log was saved at "file://d:\QGIS_2Build\QGIS_build\src\core\qgis_core.dir\Debug\BuildLog.htm" qgis_core - 1 error(s), 0 warning(s) </pre></table><table width=100% height=20 bgcolor=#CFCFE5><tr><td><font face=arial size=+2> </font></table></body></html>
Installation of Windows SDK  through winsdk_web.exe from 
http://www.microsoft.com/en-us/download/conf
gives following not so helpful error problem:

“””
A problem occurred while installing selected Windows SDK components.

Installation of the "Microsoft Windows SDK for Windows 7" product has reported 
the following error: Please refer to Samples\Setup\HTML\ConfigDetails.htm 
document for further information.
Please attempt to resolve the problem and then start Windows SDK setup again. 
If you continue to have problems with this issue, please visit the SDK team 
support page at http://go.microsoft.com/fwlink/?LinkId=130245.

Click the View Log button to review the installation log.
To exit, click Finish.
“””
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to