- Pre-built versions of librsvg and its dependencies can be found in
- one of these places:
-
- 1. http://sourceforge.net/projects/ezwinports/files/
-
- This site includes a minimal (as much as possible for librsvg)
- build of the library and its dependencies; it is also more
- up-to-date with the latest upstream versions. However, it
- currently only offers 32-bit builds. For building Emacs, you
- need to download from this site all of the following *-bin.zip
- archives:
-
- librsvg, gdk-pixbuf, cairo, glib
-
- The 'bin' archives on this site include both header files and the
- libraries needed for building with librsvg and for running Emacs.
- The librsvg archive includes all the shared libraries needed to
- run Emacs with SVG support; the other 3 packages are required
- because the compiler needs to see their header files when
- building Emacs.
-
- 2. GTK project download site for Windows (see above for 2 URLs,
- either for 32-bit builds or 64-bit builds)
-
- This is the official Windows download site of the GTK project.
- Its builds of librsvg are fatter, but are currently the only
- alternative for 64-bit builds. The easiest way to obtain the
- dependencies required for building from this site is to download
- a pre-bundled GTK+ development environment for Windows. If you
- would nevertheless like to download only the packages that are
- strictly required, then, as of the time of this writing, here's
- the list of GTK+ packages you will need:
-
- librsvg, pango, freetype-2.4.11, freetype-2.4.2, croco, cairo,
- glib, gdk-pixbuf, fontconfig, libpng-1.4.x, libpng-1.5.x,
- libffi, libxml2, zlib
-
- The GTK download page provides 2 separate archives for each
- package: a 'bin' (binary) archive with programs and DLLs, and a
- 'dev' (development) archive with header files, import libraries,
- and pkg-config files; download and install both archives for each
- package you need. (Sources of each package are available in a
- separate, 3rd archive.)
-
- As you see, some libraries for using this site's librsvg are
- needed in more than one version -- this is because librsvg and
- some of its dependencies were linked against different versions
- of those libraries, and will look only for those DLLs when you
- invoke SVG function. So there's a bit of "DLL hell" involved
- here, but at least in theory this should work, as each library
- will dynamically link only against its dependencies, even if
- another version of the same library is already loaded. In
- particular, at least 2 different versions of libpng will have to
- be installed on your machine. When you install these libpng
- versions, be sure to keep the header files and the pkg-config
- files in sync, i.e. install both the 'bin' and 'dev' archives of
- the same libpng version together.
+ Pre-built versions of librsvg and its dependencies can be found
+ here:
+
+ http://sourceforge.net/projects/ezwinports/files/
+
+ This site includes a minimal (as much as possible for librsvg)
+ build of the library and its dependencies; it is also more
+ up-to-date with the latest upstream versions. However, it
+ currently only offers 32-bit builds. For building Emacs, you need
+ to download from this site all of the following *-bin.zip
+ archives:
+
+ librsvg, gdk-pixbuf, cairo, glib
+
+ The 'bin' archives on this site include both header files and the
+ libraries needed for building with librsvg and for running Emacs.
+ The librsvg archive includes all the shared libraries needed to
+ run Emacs with SVG support; the other 3 packages are required
+ because the compiler needs to see their header files when building
+ Emacs.