Hello,<br><br>I'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 "%VC9DIR%"=="" (<br> rem Prepend SDK paths - Don't use the SDK SetEnv.cmd because it pulls in<br> rem random VC paths which we don't want.<br> rem Add the atlthunk compat library to the end of our LIB<br>
set PATH=%SDKDIR%\bin;%PATH%;C:\mozilla-build\msys\bin;<br> 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> if "%USEPSDKATL%"=="1" (<br> if "%USEPSDKIDL%"=="1" (<br> 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>
) else (<br> 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> )<br> ) else (<br>
if "%USEPSDKIDL%"=="1" (<br> 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>
) else (<br> 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> )<br> )<br>)<br>
</b><br><br><br>At the command prompt, upon running the batch file, I get:<br><br><br><b>"Mozilla tools directory: C:\mozilla-build\"<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:\>cd cairo-1.8.6\src<br>C:\cairo-1.8.6\src>C:\mozilla-build\msys\local\bin\make.exe -f Makefile.win32 CFG=debug<br>C:\cairo-1.8.6\src><br></b><br>& nothing is built.<br><br>Kindly Help<br>Rupinder<br>
<br>