[cairo] librsvg and cairo on Windows
zeng.shixin at gmail.com
Thu Oct 15 09:14:02 PDT 2009
I have a repositories on github to build these modules on windows with
MSVC, based on scons, with which I've successfully compiled all
modules for librsvg, except for fontconfig, xft2.
If you look at my repositories, you'll find a scons branch for each
module, just checkout that branch. and you'll be ready to go.
1. pkg-config, you must have a working pkg-config in your path
2. scons, which is written in Python, so you need python
3. Perl, gtk build system uses perl a lot
4. the site-init.py from http://github.com/zsx/super-totem
The command to compile, say, cairo, would be:
#scons --site-dir=where_your_site_init_py_is PREFIX=your_prefix DEBUG=1
#scons --site-dir=where_your_site_init_py_is PREFIX=your_prefix DEBUG=1 install
With this method, you can merge upstream changes, if my repository is
not new enough.
On Wed, Oct 14, 2009 at 9:29 PM, Brandon Thomas
<BrandonThomas08 at gmail.com> wrote:
> So after doing a bit of digging on finding a SVG parser and something
> to render it I have come across cairo. But cario, as I understand it,
> can't actually read svg files, but can simply output to them. But that
> apparently is were librsvg comes in and seem to be the standard paring
> w/ cairo. Does anyone know where I can get a a development build of
> the latest stable version of librsvg for windows? The librsvg website
> doesn't have a version that is easy to build on Windows, they all use
> makefiles, and I don't know how to use makefiles in Visual Studio.
> Also I didn't see anywhere that already compiled it to a dll and
> provided the headers in a nice development build of librsvg like the
> gtk site provides for cairo. So does anyone know where I can get the
> latest dll of librsvg or have any pointers on how to build it myself?
> Or if what I am saying is complete nonsense, please say so.
> cairo mailing list
> cairo at cairographics.org
More information about the cairo