[cairo] Errors building Cairo and Pixman under Cygwin

Vladimir Vukicevic vladimir at pobox.com
Sun Apr 12 00:20:43 PDT 2009

On 4/12/09 12:14 AM, Tor Lillqvist wrote:
> But what you presumably want is to use the Microsoft compiler from
> some Unix-like shell, so that is not directly useful. Take note of
> what Visual Studio -specific environment variables. Using the "set"
> command, you will typically see something like:

Yep, this is often the biggest pain in getting a reasonable compilation 
environment for msvc.  In theory you could build cairo from the VS 
command prompt (it's somewhere in the start menu from the VS/VC Express 
install), provided that gnu make and the typical unixy shell bits are in 
your path.

An easier alternative is to install the mozilla-build package from 
https://developer.mozilla.org/en/Windows_Build_Prerequisites#MozillaBuild -- 
it includes msys and a few other tools, and comes with scripts 
(start-msvc# and friends in \mozilla-build) that will set up a bash 
shell with all the windows compiler pieces set up.  It really wants to 
find a windows SDK though, so you may need to install that as well (see 
that same page for info).

     - Vlad

More information about the cairo mailing list