[cairo] cairo on win64

Thomas Stover thomas at wsinnovations.com
Mon Mar 2 13:21:38 PST 2009


> Date: Mon, 2 Mar 2009 15:10:44 +0200
> From: Tor Lillqvist <tml at iki.fi>
> Subject: Re: [cairo] cairo on win64
> To: Kozhevnikov Mikhail <mikhailkozhevnikov at yandex.ru>
> Cc: cairo at cairographics.org
> Message-ID:
> 	<c9b6d9a50903020510j6f37fb2bw99dccff5da6446d0 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
>   
>> Anybody have tried using Cairo with 64bit platforms? Win64 in particular? Would it work?
>>     
>
> Yes. I have built cairo for 64-bit Windows and yes, it seems to work
> fine. Some patches were needed to pixman to avoid warnings (dunno if
> the code might still have worked) because of assumptions that
> sizeof(unsigned long) == sizeof(void*). See
> https://bugs.freedesktop.org/show_bug.cgi?id=17789 . For cairo no
> changes to the sources were needed.
>
> Prebuilt binaries for Win32 (with just Win32 font support) at
> http://ftp.gnome.org/pub/GNOME/binaries/win64/dependencies/ , but of
> course, depending on what you intend to do with cairo, you might want
> to compile it yourself instead.
>
> --tml
>   

Yes it works fine. I would recommend just using the version from the 
prebuilt win64 gtk bundle. I link to that from both linux hosted, 
windows targeted mingw (32 & 64) and native MSVC. However building it 
with MSVC (as with many cross platform libs these days) seems strange. 
For instance no hand coded assembly gets used. Yes, I'm just having a 
bad MSVC day, but good grief that compiler suite is getting more bananas 
by the day. Especially if you notice that for the most part, the only 
software that even works on win64 is open source stuff. [rant off]

-- 
www.thomasstover.com





More information about the cairo mailing list