Hello,<br><br>I&#39;m having some trouble building cairo-1.8.6 on Windows ( <a href="http://cairographics.org/download/" target="_blank">http://cairographics.org/download/</a> ). Here is my altered start-msvc9.bat (relevant part):<br>
<br>
<b><br>if &quot;%VC9DIR%&quot;==&quot;&quot; (<br>&nbsp;&nbsp;&nbsp; rem Prepend SDK paths - Don&#39;t use the SDK SetEnv.cmd because it pulls in<br>&nbsp;&nbsp;&nbsp; rem random VC paths which we don&#39;t want.<br>&nbsp;&nbsp;&nbsp; rem Add the atlthunk compat library to the end of our LIB<br>

&nbsp;&nbsp;&nbsp; set PATH=%SDKDIR%\bin;%PATH%;C:\mozilla-build\msys\bin;<br>&nbsp;&nbsp;&nbsp; set LIB=%SDKDIR%\lib;%LIB%;%MOZBUILDDIR%atlthunk_compat;C:\zlib-1.2.3\projects\visualc6\Win32_LIB_Release;C:\libpng-1.2.34\projects\visualc71\Win32_LIB_Release;<br>

<br>&nbsp;&nbsp;&nbsp; if &quot;%USEPSDKATL%&quot;==&quot;1&quot; (<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if &quot;%USEPSDKIDL%&quot;==&quot;1&quot; (<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set INCLUDE=%SDKDIR%\include;%PSDKDIR%\include\atl;%PSDKDIR%\include;%INCLUDE%;C:\libpng-1.2.34;C:\zlib-1.2.3;C:\cairo-1.8.6\src;C:\cairo-1.8.6\boilerplate;C:\pixman-0.14.0\pixman;<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ) else (<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set INCLUDE=%SDKDIR%\include;%PSDKDIR%\include\atl;%INCLUDE%;C:\libpng-1.2.34;C:\zlib-1.2.3;C:\cairo-1.8.6\src;C:\cairo-1.8.6\boilerplate;C:\pixman-0.14.0\pixman;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )<br>&nbsp;&nbsp;&nbsp; ) else (<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if &quot;%USEPSDKIDL%&quot;==&quot;1&quot; (<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set INCLUDE=%SDKDIR%\include;%SDKDIR%\include\atl;%PSDKDIR%\include;%INCLUDE%;C:\libpng-1.2.34;C:\zlib-1.2.3;C:\cairo-1.8.6\src;C:\cairo-1.8.6\boilerplate;C:\pixman-0.14.0\pixman;<br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ) else (<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set INCLUDE=%SDKDIR%\include;%SDKDIR%\include\atl;%INCLUDE%;C:\libpng-1.2.34;C:\zlib-1.2.3;C:\cairo-1.8.6\src;C:\cairo-1.8.6\boilerplate;C:\pixman-0.14.0\pixman;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )<br>&nbsp;&nbsp;&nbsp; )<br>)<br>

</b><br><br><br>At the command prompt, upon running the batch file, I get:<br><br><br><b>&quot;Mozilla tools directory: C:\mozilla-build\&quot;<br>Visual C++ 6 directory:<br>Visual C++ 7.1 directory:<br>Visual C++ 8 directory:<br>

Visual C++ 8 Express directory: C:\Program Files\Microsoft Visual Studio 8\VC\<br>Visual C++ 9 directory: C:\Program Files\Microsoft Visual Studio 9.0\VC\<br>Visual C++ 9 Express directory: C:\Program Files\Microsoft Visual Studio 9.0\VC\<br>

<br>Platform SDK directory:<br>Platform SDK version:<br>Setting environment for using Microsoft Visual Studio 2008 x86 tools.<br>Framework32\v2.0.50727 was unexpected at this time.<br></b><br>Then I shift to cairo\src:<br>

<br><b>C:\&gt;cd cairo-1.8.6\src<br>C:\cairo-1.8.6\src&gt;C:\mozilla-build\msys\local\bin\make.exe -f Makefile.win32 CFG=debug<br>C:\cairo-1.8.6\src&gt;<br></b><br>&amp; nothing is built.<br><br>Kindly Help<br>Rupinder<br>

<br>