<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="NL" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt">Dear Developers,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">Another questions concerning the Quantum-GIS source. I briefly described the project that Martijn and I are on in regard to combining QGIS with
</span><span lang="EN-US" style="font-size:10.0pt">3D geometry (/CAD) functionality.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt">I have compiled many softwares under linux, although for QGIS I almost always simply use the binaries and never build under windows.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt">Yet, since our customized QGIS is a geological field acquisition tool that runs on a Windows Tablet PC, I need to compile under windows.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt">First I tried to simply build from the latest github src tree (as of last week) and carefully followed the instructions as provided by
</span><span style="font-size:10.0pt"><a href="http://www.qgis.org/api/INSTALL.html#toc14"><span lang="EN-GB" style="color:windowtext">http://www.qgis.org/api/INSTALL.html#toc14</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">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.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">As result, I no longer have the when building the qgis_core: “The system cannot find the batch label specified – VCReportError”.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-GB" style="font-size:10.0pt">Instead, I get the another error when building qgis_core that says: “ …
</span><span lang="EN-GB" style="font-size:10.0pt">Generating qgsexpressionparser.cpp … The system cannot find the path specified.”. I attached the corresponding BuildLog.htm file.
</span><span lang="EN-GB" style="font-size:10.0pt">Any idea what causes this new problem with building qgis_core?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">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.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-GB" style="font-size:10.0pt">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® 2003 R2
Platform SDK (for setupapi)”. On my Windows 7 machine I instead downloaded the corresponding Windows SDK from
<a href="http://www.microsoft.com/en-us/download/conf"><span style="color:windowtext">http://www.microsoft.com/en-us/download/conf</span></a><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-GB" style="font-size:10.0pt">The installation of Windows SDK components through winsdk_web.exe gave the error problem as shown in WindowsSDK_installationError.txt<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-GB" style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">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?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-GB" style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">Any suggestions to resolve the issue with building qgis_core under Windows 7 are warmly welcomed!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:10.0pt">Many thanks, Nico<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
</div>
</body>
</html>