[cairo] Re: Using cairo on windows?
Daniel Keep
daniel.keep.lists at gmail.com
Sat May 13 10:57:16 PDT 2006
Howdy.
I can't tell you how many times I had this exact same problem. To be
honest, I'd be happy if I could get *expletive* pkg-config to compile so
that the configure script would be able to find the libraries (which I
would gladly point it to manually, but it doesn't seem to want to let
me) and...
Nevermind. I'm just going to end up ranting about how much I hate the
GNU toolchain :P
Anyway. http://www.gimp.org/%7Etml/gimp/win32/downloads.html
You want "cairo-1.0.4.zip", the binary distribution at "libpng 1.2.8",
and "Zlib 1.2.3" (you can search on those strings to find them in the
page). That *should* be it, Just pop libcairo-2.dll, libpng13.dll and
zlib1.dll into your working directory or system PATH, and away you go!
That gives you the base cairo functions, the PNG functions, and the
Win32 functions.
Why this is not linked from the cairo website will forever escape me.
Tor Lillqvist is my hero :)
-- Daniel "die pkg-config, die!" Keep
Writser Cleveringa wrote:
> hey,
>
> Thank you for your help. I installed the latest GTK+ development kit and
> got Cairo for free! (Why is this not mentioned on in the 'download'
> section?) However, this package might be a bit large for people who only
> want to work with cairo and not with GTK+. Also, This package is made for
> mingw32 and msys. What if I want to use cairo with Visual Studio?
>
> Again, I'd like to point to SDL (www.libsdl.org). You can download a
> package for Visual Studio that contains all necessary files, along with
> detailed instructions for creating your own SDL application. I'd really
> like to see such a package for cairo. Just as Atul, I'm willing to help,
> if anyone could give me some pointers for creating such a package.
>
> regards, Writser
>
>> Since GTK+ 2.8 and newer depends on Cairo, you can have Cairo
>> installed on Win32 as a side-effect of installing GTK+. For example:
>>
>> http://gladewin32.sourceforge.net/modules/news/
>>
>> On 5/13/06, Atul Varma <varmaa at gmail.com> wrote:
>>> Hello Writser,
>>>
>>> I completely agree with you. I compiled Cairo on windows for a
>>> project I'm working on and was able to get everything to work with the
>>> win32 backend. Although I haven't yet tried compiling cairo under
>>> windows with the PNG or SVG backends, I am interested in helping set
>>> up a precompiled binary for Windows. As you said, Cairo is a really
>>> powerful library and it'd be wonderful if Windows developers had easy
>>> access to it.
>>>
>>> Has anyone else considered doing this in the past? I'd be happy to go
>>> ahead and build something and put it out there as a precompiled
>>> binary, just let me know.
>>>
>>> - Atul
>>>
>>> On 5/13/06, Writser Cleveringa <writser at xs4all.nl> wrote:
>>>> hey all,
>>>>
>>>> For my study I've been making some simple geometrical programs. Things
>>>> like computing the convex hull of a set of points, or creating voronoi
>>>> diagrams. I would like to use cairo to create some smooth graphics of
>>> my
>>>> results and to save them as PNG's or SVG's.
>>>>
>>>> However, in windows XP I have lots of troubles getting Cairo up and
>>>> running. Even without any backend, I could draw my images to an SDL
>>>> surface and save them using SDL. But having SVG and PNG backends on
>>>> windows would be even better! I googled about this subject, read the
>>>> mailing list, examined your site, but have not found any good
>>> information
>>>> about this. I have some experience with msys and mingw but found
>>> myself
>>>> unable to compile cairo on windows. Cairographics.org doesn't even
>>> feature
>>>> some basic pointers for installing cairo on windows (or if there are,
>>> I
>>>> haven't found them).
>>>>
>>>> In my opinion it would be really great if one could download a 'Cairo
>>>> Development Toolkit' for windows. And if that toolkit has support for
>>> PNG
>>>> and SVG as well, that would be really awesome. If I want to develop
>>> with
>>>> SDL on windows, I can download packages:
>>>>
>>>>> SDL-devel-1.2.9-VC6.zip (Visual C++ 5,6,7)
>>>>> SDL-devel-1.2.9-mingw32.tar.gz (Mingw32)
>>>> and start developing right away. They even have detailed tutorials for
>>>> using SDL with mingw or Visual Studio. I believe having similar stuff
>>> for
>>>> cairo would encourage lots of programmers to experiment with it.
>>>> Personally, I could boot linux and develop there (which works like a
>>>> charm). But lots of other people can't. On top of that, I'd like to
>>> make
>>>> windows binaries, so I can show my stuff to Joe Average!
>>>>
>>>> I would like to make windows packages for cairo, or a tutorial about
>>> using
>>>> cairo on windows. I am no guru however, so any help would be
>>> appreciated.
>>>> What are your thoughts about this?
>>>>
>>>> regards, Writser
>>>>
>>>> _______________________________________________
>>>> cairo mailing list
>>>> cairo at cairographics.org
>>>> http://cairographics.org/cgi-bin/mailman/listinfo/cairo
>>>>
>>> _______________________________________________
>>> cairo mailing list
>>> cairo at cairographics.org
>>> http://cairographics.org/cgi-bin/mailman/listinfo/cairo
>>>
>>
>> --
>> Counting bodies like sheep to the rhythm of the war drums.
>>
>>
--
v1sw5+8Yhw5ln4+5pr6OFma8u6+7Lw4Tm6+7l6+7D
a2Xs3MSr2e4/6+7t4TNSMb6HTOp5en5g6RAHCP http://hackerkey.com/
More information about the cairo
mailing list