<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.wiki.synfig.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Milleja46</id>
		<title>Synfig Studio :: Documentation - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://www.wiki.synfig.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Milleja46"/>
		<link rel="alternate" type="text/html" href="https://www.wiki.synfig.org/Special:Contributions/Milleja46"/>
		<updated>2026-04-25T04:28:49Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.26.3</generator>

	<entry>
		<id>https://www.wiki.synfig.org/index.php?title=User:Milleja46&amp;diff=13565</id>
		<title>User:Milleja46</title>
		<link rel="alternate" type="text/html" href="https://www.wiki.synfig.org/index.php?title=User:Milleja46&amp;diff=13565"/>
				<updated>2011-01-26T15:57:37Z</updated>
		
		<summary type="html">&lt;p&gt;Milleja46: Created page with 'Synfig wiki editor and hopeful soon developer. Some knowledge in c++, and working to develop it a bit with this software.'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Synfig wiki editor and hopeful soon developer. Some knowledge in c++, and working to develop it a bit with this software.&lt;/div&gt;</summary>
		<author><name>Milleja46</name></author>	</entry>

	<entry>
		<id>https://www.wiki.synfig.org/index.php?title=Dev_talk:Mingw_installation&amp;diff=13564</id>
		<title>Dev talk:Mingw installation</title>
		<link rel="alternate" type="text/html" href="https://www.wiki.synfig.org/index.php?title=Dev_talk:Mingw_installation&amp;diff=13564"/>
				<updated>2011-01-26T15:56:37Z</updated>
		
		<summary type="html">&lt;p&gt;Milleja46: /* GTK and git stuff */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Without cairomm installed from the gtkmm package, I saw this error:&lt;br /&gt;
&lt;br /&gt;
  $ pkg-config --cflags gtkmm-2.4&lt;br /&gt;
  Package cairomm-1.0 was not found in the pkg-config search path.&lt;br /&gt;
  Perhaps you should add the directory containing `cairomm-1.0.pc'&lt;br /&gt;
  to the PKG_CONFIG_PATH environment variable&lt;br /&gt;
  Package 'cairomm-1.0', required by 'gdkmm', not found&lt;br /&gt;
&lt;br /&gt;
so I added cairomm to the list of elements from gtkmm which are needed.&lt;br /&gt;
== GTK and git stuff ==&lt;br /&gt;
Ok gtk should be downloaded from the direct gtk.org website not the work around pages listed. Git can be accessed and gotten with tortoise and it's required components for the git version to work. Other than that i've almost got it updated.&lt;br /&gt;
--[[User:Milleja46|Milleja46]] 15:56, 26 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Milleja46</name></author>	</entry>

	<entry>
		<id>https://www.wiki.synfig.org/index.php?title=Dev_talk:Mingw_installation&amp;diff=13563</id>
		<title>Dev talk:Mingw installation</title>
		<link rel="alternate" type="text/html" href="https://www.wiki.synfig.org/index.php?title=Dev_talk:Mingw_installation&amp;diff=13563"/>
				<updated>2011-01-26T15:56:14Z</updated>
		
		<summary type="html">&lt;p&gt;Milleja46: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Without cairomm installed from the gtkmm package, I saw this error:&lt;br /&gt;
&lt;br /&gt;
  $ pkg-config --cflags gtkmm-2.4&lt;br /&gt;
  Package cairomm-1.0 was not found in the pkg-config search path.&lt;br /&gt;
  Perhaps you should add the directory containing `cairomm-1.0.pc'&lt;br /&gt;
  to the PKG_CONFIG_PATH environment variable&lt;br /&gt;
  Package 'cairomm-1.0', required by 'gdkmm', not found&lt;br /&gt;
&lt;br /&gt;
so I added cairomm to the list of elements from gtkmm which are needed.&lt;br /&gt;
== GTK and git stuff ==&lt;br /&gt;
Ok gtk should be downloaded from the direct gtk.org website not the work around pages listed. Git can be accessed and gotten with tortoise and it's required components for the git version to work. Other than that i've almost got it updated.&lt;/div&gt;</summary>
		<author><name>Milleja46</name></author>	</entry>

	<entry>
		<id>https://www.wiki.synfig.org/index.php?title=Dev:Mingw_installation&amp;diff=13561</id>
		<title>Dev:Mingw installation</title>
		<link rel="alternate" type="text/html" href="https://www.wiki.synfig.org/index.php?title=Dev:Mingw_installation&amp;diff=13561"/>
				<updated>2011-01-25T12:10:41Z</updated>
		
		<summary type="html">&lt;p&gt;Milleja46: /* GTK+ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--Categories--&amp;gt;&lt;br /&gt;
{{Category|Building}}&lt;br /&gt;
{{Category|Windows}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Updated Mingw==&lt;br /&gt;
Welcome to the updated mingw page! As the information is checked to be fully functional we will post it to this page. As that is verified the old information shown here will be deleted since you are not what so ever to get it working using the below information since the developers of mingw have discontinued and removed that version and setup of that way completely. For now refer to this page: http://www.mingw.org/wiki/Getting_Started&lt;br /&gt;
First - download [http://www.mingw.org/ MinGW] installer. You may get version mingw-get-inst-20101030.exe or higher but with the current setup of mingw this is best way to install it.&lt;br /&gt;
&lt;br /&gt;
* [http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/mingw-get-inst/mingw-get-inst-20101030/mingw-get-inst-20101030.exe/download Download mingw get-inst]&lt;br /&gt;
&lt;br /&gt;
Run mingw-get-inst-20101030.exe(or what version you get). When the installer asks which packages to install, select:&lt;br /&gt;
&lt;br /&gt;
* MinGW base tools&lt;br /&gt;
* g++ Compiler&lt;br /&gt;
* g77 Compiler&lt;br /&gt;
* MinGW Make&lt;br /&gt;
* MSYS(both you will still have to go back and install later but this will be explained when the time comes)&lt;br /&gt;
&lt;br /&gt;
Note: you really do need to install Fortran; even though Synfig does not require it, it is required by the autoconf configuration scripts. These are the minimal required package versions which are needed to successfully build win32 synfig (version numbers from the 5.1.3 package):&lt;br /&gt;
&lt;br /&gt;
* mingw-runtime-3.12.tar.gz (429.7 Kb)&lt;br /&gt;
* w32api-3.9.tar.gz (1.6 Mb)&lt;br /&gt;
* binutils-2.17.50-20060824-1.tar.gz (8.9 Mb)&lt;br /&gt;
* gcc-core-3.4.5-20060117-1.tar.gz (3.3 Mb)&lt;br /&gt;
* gcc-g++-3.4.5-20060117-1.tar.gz (4.5 Mb)&lt;br /&gt;
* gcc-g77-3.4.5-20060117-1.tar.gz (2.0 Mb)&lt;br /&gt;
* mingw32-make-3.81-2.tar.gz (95 Kb)&lt;br /&gt;
&lt;br /&gt;
Confirm default installation path &amp;lt;code&amp;gt;C:\MinGW&amp;lt;/code&amp;gt;. If you install MinGW into another directory, synfig compilation may fail.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===MSYS===&lt;br /&gt;
This is installed when you install mingw if you selected, if you feel so nesscary to install it open a mingw shell and run &amp;lt;code&amp;gt;mingw-get install msys-base&amp;lt;/code&amp;gt; but this command might just be uncesscary&lt;br /&gt;
&lt;br /&gt;
===[http://www.winterdrache.de/freeware/png2ico/index.html png2ico]===&lt;br /&gt;
Early version of Synfig used [http://www.kernel.org/pub/software/graphics/pngtoico/ pngtoico] tool to produce icons from png files. Unfortunately this tool is broken now. You can see this for youeself by installing the official build of Synfig Studio 0.61.05. The latest versions of Synfig using another tool: png2ico. This tool is not perfect, but it works.&lt;br /&gt;
&lt;br /&gt;
# Download it from: http://www.winterdrache.de/freeware/png2ico/data/png2ico-win-2002-12-08.zip (89.9 Kb)&lt;br /&gt;
# And decompress png2ico.exe file to &amp;lt;code&amp;gt;'''C:\msys\1.0\bin'''&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
==Non MinGW packages==&lt;br /&gt;
===[http://subversion.tigris.org Subversion]===&lt;br /&gt;
&lt;br /&gt;
 Source code is now in GIT&lt;br /&gt;
&lt;br /&gt;
Synfig source is stored in a subversion repository. You will need the svn client to get it. Also the svn client is required by the Synfig build scripts, to receive the revision number of the source.&lt;br /&gt;
You can download the Windows subversion package from this page:&lt;br /&gt;
&lt;br /&gt;
* http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91&lt;br /&gt;
&lt;br /&gt;
When I wrote this the latest version was 1.4.3:&lt;br /&gt;
&lt;br /&gt;
* http://subversion.tigris.org/files/documents/15/36797/svn-1.4.3-setup.exe (3.58 Mb)&lt;br /&gt;
&lt;br /&gt;
But it is best to get the newest available version.&lt;br /&gt;
&lt;br /&gt;
===[http://sourceforge.net/projects/nsis/ NSIS]===&lt;br /&gt;
NSIS is the Nullsoft Scriptable Install System, a free and open source installer for WinAmp, a popular windows music player.&lt;br /&gt;
When I wrote this the latest version was 2.27:&lt;br /&gt;
&lt;br /&gt;
* http://downloads.sourceforge.net/nsis/nsis-2.42-setup.exe (1.4 Mb)&lt;br /&gt;
&lt;br /&gt;
You can use this or any newer version.&lt;br /&gt;
&lt;br /&gt;
===[http://www.imagemagick.org ImageMagick]===&lt;br /&gt;
When I wrote this the latest version was 6.3.4-10:&lt;br /&gt;
&lt;br /&gt;
* http://www.imagemagick.org/download/binaries/ImageMagick-6.4.8-3-Q16-windows-dll.exe (11 MB)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The ''updated'' file has not been tested yet -- try here instead http://www.imagemagick.org/download/www/binary-releases.html#windows&lt;br /&gt;
&lt;br /&gt;
ImageMagick is required to build Studio, also Core has an ImageMagick render target.&lt;br /&gt;
&lt;br /&gt;
==Gtk+/Gtkmm==&lt;br /&gt;
===[http://www.gtk.org/ GTK+]===&lt;br /&gt;
Go to [http://gladewin32.sourceforge.net/modules/news/ this page] and download the latest GTK+ devel package for windows:&lt;br /&gt;
&lt;br /&gt;
* http://gladewin32.sourceforge.net/modules/wfdownloads/visit.php?lid=110 (12 MB)&lt;br /&gt;
&lt;br /&gt;
^^ These links are broken :( Pixelgeek is researching alternate solutions&lt;br /&gt;
&lt;br /&gt;
Though it's not yet tested, you can try either:&lt;br /&gt;
* http://downloads.sourceforge.net/gladewin32/gtk-dev-2.12.9-win32-2.exe (16.7 MB)&lt;br /&gt;
* http://downloads.sourceforge.net/gladewin32/gtk-dev-2.12.9-win32-1.exe (13,313 KB)&lt;br /&gt;
&lt;br /&gt;
You need only install the following components:&lt;br /&gt;
&lt;br /&gt;
* Gtk+ Runtime (required)&lt;br /&gt;
* Register Environment Variables&lt;br /&gt;
* Devel header/libraries&lt;br /&gt;
&lt;br /&gt;
Confirm registration for environment: ''MSYS (C:\mingw\msys\1.0)''.&lt;br /&gt;
&lt;br /&gt;
Install GTK+ to &amp;lt;code&amp;gt;C:\GTK&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===[http://www.gtkmm.org/ GTKmm]===&lt;br /&gt;
Go to [http://www.pcpm.ucl.ac.be/~gustin/win32_ports/ this page] and download the latest GTKmm devel package for Windows:&lt;br /&gt;
&lt;br /&gt;
* http://ftp.gnome.org/pub/gnome/binaries/win32/gtkmm/2.10/gtkmm-win32-devel-2.10.8-1.exe (16.1 MB)&lt;br /&gt;
&lt;br /&gt;
If you opted for '''gtk-dev-2.12.9-win32-2.exe''' or '''gtk-dev-2.12.9-win32-1.exe''' pick this instead.&lt;br /&gt;
* ftp://ftp.gnome.org/pub/GNOME/binaries/win32/gtkmm/2.10/gtkmm-win32-devel-2.10.11-1.exe (16.3 MB)&lt;br /&gt;
&lt;br /&gt;
You need only install the following components (footnote 1):&lt;br /&gt;
&lt;br /&gt;
* libsigc++&lt;br /&gt;
* cairomm&lt;br /&gt;
* glibmm&lt;br /&gt;
* gtkmm&lt;br /&gt;
* libxml++&lt;br /&gt;
&lt;br /&gt;
 (1) if you're using gtkmm-win32-devel-2.16.0-4.exe, then pangomm is a required component.  &lt;br /&gt;
&lt;br /&gt;
For each selected component you may keep only&lt;br /&gt;
&lt;br /&gt;
* Runtime&lt;br /&gt;
* Development&lt;br /&gt;
&lt;br /&gt;
subcategories. Install GTKmm to &amp;lt;code&amp;gt;'''C:\GTK'''&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Collision Resolution===&lt;br /&gt;
If you have several Gtk-applications (f.e. InkScape), you can receive a strange errors, like &amp;quot;''the procedure entry point XML_SetDoctypeDeclHandler could not be located in the dynamic link library xmlparse.dll''&amp;quot;. Thats mean you have an old version of this library in windows system32 directory, installed by another program. Just search and rename/delete this old library and all will work perfectly again.&lt;br /&gt;
&lt;br /&gt;
===Troubleshooting===&lt;br /&gt;
Test whether MSYS can find MinGW by running:&lt;br /&gt;
&lt;br /&gt;
$ gcc --version&lt;br /&gt;
&lt;br /&gt;
If it replies command not found, MSYS can't see MinGW. In that case, you will need to edit the text file C:\msys\1.0\etc\fstab so that it includes the line:&lt;br /&gt;
&lt;br /&gt;
c:/MinGW /mingw&lt;/div&gt;</summary>
		<author><name>Milleja46</name></author>	</entry>

	<entry>
		<id>https://www.wiki.synfig.org/index.php?title=Dev:Mingw_installation&amp;diff=13557</id>
		<title>Dev:Mingw installation</title>
		<link rel="alternate" type="text/html" href="https://www.wiki.synfig.org/index.php?title=Dev:Mingw_installation&amp;diff=13557"/>
				<updated>2011-01-25T02:12:10Z</updated>
		
		<summary type="html">&lt;p&gt;Milleja46: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--Categories--&amp;gt;&lt;br /&gt;
{{Category|Building}}&lt;br /&gt;
{{Category|Windows}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Updated Mingw==&lt;br /&gt;
Welcome to the updated mingw page! As the information is checked to be fully functional we will post it to this page. As that is verified the old information shown here will be deleted since you are not what so ever to get it working using the below information since the developers of mingw have discontinued and removed that version and setup of that way completely. For now refer to this page: http://www.mingw.org/wiki/Getting_Started&lt;br /&gt;
First - download [http://www.mingw.org/ MinGW] installer. You may get version mingw-get-inst-20101030.exe or higher but with the current setup of mingw this is best way to install it.&lt;br /&gt;
&lt;br /&gt;
* [http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/mingw-get-inst/mingw-get-inst-20101030/mingw-get-inst-20101030.exe/download Download mingw get-inst]&lt;br /&gt;
&lt;br /&gt;
Run mingw-get-inst-20101030.exe(or what version you get). When the installer asks which packages to install, select:&lt;br /&gt;
&lt;br /&gt;
* MinGW base tools&lt;br /&gt;
* g++ Compiler&lt;br /&gt;
* g77 Compiler&lt;br /&gt;
* MinGW Make&lt;br /&gt;
* MSYS(both you will still have to go back and install later but this will be explained when the time comes)&lt;br /&gt;
&lt;br /&gt;
Note: you really do need to install Fortran; even though Synfig does not require it, it is required by the autoconf configuration scripts. These are the minimal required package versions which are needed to successfully build win32 synfig (version numbers from the 5.1.3 package):&lt;br /&gt;
&lt;br /&gt;
* mingw-runtime-3.12.tar.gz (429.7 Kb)&lt;br /&gt;
* w32api-3.9.tar.gz (1.6 Mb)&lt;br /&gt;
* binutils-2.17.50-20060824-1.tar.gz (8.9 Mb)&lt;br /&gt;
* gcc-core-3.4.5-20060117-1.tar.gz (3.3 Mb)&lt;br /&gt;
* gcc-g++-3.4.5-20060117-1.tar.gz (4.5 Mb)&lt;br /&gt;
* gcc-g77-3.4.5-20060117-1.tar.gz (2.0 Mb)&lt;br /&gt;
* mingw32-make-3.81-2.tar.gz (95 Kb)&lt;br /&gt;
&lt;br /&gt;
Confirm default installation path &amp;lt;code&amp;gt;C:\MinGW&amp;lt;/code&amp;gt;. If you install MinGW into another directory, synfig compilation may fail.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===MSYS===&lt;br /&gt;
This is installed when you install mingw if you selected, if you feel so nesscary to install it open a mingw shell and run &amp;lt;code&amp;gt;mingw-get install msys-base&amp;lt;/code&amp;gt; but this command might just be uncesscary&lt;br /&gt;
&lt;br /&gt;
===[http://www.winterdrache.de/freeware/png2ico/index.html png2ico]===&lt;br /&gt;
Early version of Synfig used [http://www.kernel.org/pub/software/graphics/pngtoico/ pngtoico] tool to produce icons from png files. Unfortunately this tool is broken now. You can see this for youeself by installing the official build of Synfig Studio 0.61.05. The latest versions of Synfig using another tool: png2ico. This tool is not perfect, but it works.&lt;br /&gt;
&lt;br /&gt;
# Download it from: http://www.winterdrache.de/freeware/png2ico/data/png2ico-win-2002-12-08.zip (89.9 Kb)&lt;br /&gt;
# And decompress png2ico.exe file to &amp;lt;code&amp;gt;'''C:\msys\1.0\bin'''&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
==Non MinGW packages==&lt;br /&gt;
===[http://subversion.tigris.org Subversion]===&lt;br /&gt;
&lt;br /&gt;
 Source code is now in GIT&lt;br /&gt;
&lt;br /&gt;
Synfig source is stored in a subversion repository. You will need the svn client to get it. Also the svn client is required by the Synfig build scripts, to receive the revision number of the source.&lt;br /&gt;
You can download the Windows subversion package from this page:&lt;br /&gt;
&lt;br /&gt;
* http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91&lt;br /&gt;
&lt;br /&gt;
When I wrote this the latest version was 1.4.3:&lt;br /&gt;
&lt;br /&gt;
* http://subversion.tigris.org/files/documents/15/36797/svn-1.4.3-setup.exe (3.58 Mb)&lt;br /&gt;
&lt;br /&gt;
But it is best to get the newest available version.&lt;br /&gt;
&lt;br /&gt;
===[http://sourceforge.net/projects/nsis/ NSIS]===&lt;br /&gt;
NSIS is the Nullsoft Scriptable Install System, a free and open source installer for WinAmp, a popular windows music player.&lt;br /&gt;
When I wrote this the latest version was 2.27:&lt;br /&gt;
&lt;br /&gt;
* http://downloads.sourceforge.net/nsis/nsis-2.42-setup.exe (1.4 Mb)&lt;br /&gt;
&lt;br /&gt;
You can use this or any newer version.&lt;br /&gt;
&lt;br /&gt;
===[http://www.imagemagick.org ImageMagick]===&lt;br /&gt;
When I wrote this the latest version was 6.3.4-10:&lt;br /&gt;
&lt;br /&gt;
* http://www.imagemagick.org/download/binaries/ImageMagick-6.4.8-3-Q16-windows-dll.exe (11 MB)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The ''updated'' file has not been tested yet -- try here instead http://www.imagemagick.org/download/www/binary-releases.html#windows&lt;br /&gt;
&lt;br /&gt;
ImageMagick is required to build Studio, also Core has an ImageMagick render target.&lt;br /&gt;
&lt;br /&gt;
==Gtk+/Gtkmm==&lt;br /&gt;
===[http://www.gtk.org/ GTK+]===&lt;br /&gt;
Go to [http://gladewin32.sourceforge.net/modules/news/ this page] and download the latest GTK+ devel package for windows:&lt;br /&gt;
&lt;br /&gt;
* http://gladewin32.sourceforge.net/modules/wfdownloads/visit.php?lid=110 (12 MB)&lt;br /&gt;
&lt;br /&gt;
^^ These links are broken :( Pixelgeek is researching alternate solutions&lt;br /&gt;
&lt;br /&gt;
Though it's not yet tested, you can try either:&lt;br /&gt;
* http://downloads.sourceforge.net/gladewin32/gtk-dev-2.12.9-win32-2.exe (16.7 MB)&lt;br /&gt;
* http://downloads.sourceforge.net/gladewin32/gtk-dev-2.12.9-win32-1.exe (13,313 KB)&lt;br /&gt;
&lt;br /&gt;
You need only install the following components:&lt;br /&gt;
&lt;br /&gt;
* Gtk+ Runtime (required)&lt;br /&gt;
* Register Environment Variables&lt;br /&gt;
* Devel header/libraries&lt;br /&gt;
&lt;br /&gt;
Confirm registration for environment: ''MSYS (C:\msys\1.0)''.&lt;br /&gt;
&lt;br /&gt;
Install GTK+ to &amp;lt;code&amp;gt;C:\GTK&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===[http://www.gtkmm.org/ GTKmm]===&lt;br /&gt;
Go to [http://www.pcpm.ucl.ac.be/~gustin/win32_ports/ this page] and download the latest GTKmm devel package for Windows:&lt;br /&gt;
&lt;br /&gt;
* http://ftp.gnome.org/pub/gnome/binaries/win32/gtkmm/2.10/gtkmm-win32-devel-2.10.8-1.exe (16.1 MB)&lt;br /&gt;
&lt;br /&gt;
If you opted for '''gtk-dev-2.12.9-win32-2.exe''' or '''gtk-dev-2.12.9-win32-1.exe''' pick this instead.&lt;br /&gt;
* ftp://ftp.gnome.org/pub/GNOME/binaries/win32/gtkmm/2.10/gtkmm-win32-devel-2.10.11-1.exe (16.3 MB)&lt;br /&gt;
&lt;br /&gt;
You need only install the following components (footnote 1):&lt;br /&gt;
&lt;br /&gt;
* libsigc++&lt;br /&gt;
* cairomm&lt;br /&gt;
* glibmm&lt;br /&gt;
* gtkmm&lt;br /&gt;
* libxml++&lt;br /&gt;
&lt;br /&gt;
 (1) if you're using gtkmm-win32-devel-2.16.0-4.exe, then pangomm is a required component.  &lt;br /&gt;
&lt;br /&gt;
For each selected component you may keep only&lt;br /&gt;
&lt;br /&gt;
* Runtime&lt;br /&gt;
* Development&lt;br /&gt;
&lt;br /&gt;
subcategories. Install GTKmm to &amp;lt;code&amp;gt;'''C:\GTK'''&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Collision Resolution===&lt;br /&gt;
If you have several Gtk-applications (f.e. InkScape), you can receive a strange errors, like &amp;quot;''the procedure entry point XML_SetDoctypeDeclHandler could not be located in the dynamic link library xmlparse.dll''&amp;quot;. Thats mean you have an old version of this library in windows system32 directory, installed by another program. Just search and rename/delete this old library and all will work perfectly again.&lt;br /&gt;
&lt;br /&gt;
===Troubleshooting===&lt;br /&gt;
Test whether MSYS can find MinGW by running:&lt;br /&gt;
&lt;br /&gt;
$ gcc --version&lt;br /&gt;
&lt;br /&gt;
If it replies command not found, MSYS can't see MinGW. In that case, you will need to edit the text file C:\msys\1.0\etc\fstab so that it includes the line:&lt;br /&gt;
&lt;br /&gt;
c:/MinGW /mingw&lt;/div&gt;</summary>
		<author><name>Milleja46</name></author>	</entry>

	<entry>
		<id>https://www.wiki.synfig.org/index.php?title=Dev:Mingw_installation&amp;diff=13556</id>
		<title>Dev:Mingw installation</title>
		<link rel="alternate" type="text/html" href="https://www.wiki.synfig.org/index.php?title=Dev:Mingw_installation&amp;diff=13556"/>
				<updated>2011-01-25T02:08:01Z</updated>
		
		<summary type="html">&lt;p&gt;Milleja46: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--Categories--&amp;gt;&lt;br /&gt;
{{Category|Building}}&lt;br /&gt;
{{Category|Windows}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Updated Mingw==&lt;br /&gt;
Welcome to the updated mingw page! As the information is checked to be fully functional we will post it to this page. As that is verified the old information shown here will be deleted since you are not what so ever to get it working using the below information since the developers of mingw have discontinued and removed that version and setup of that way completely. For now refer to this page: http://www.mingw.org/wiki/Getting_Started&lt;br /&gt;
First - download [http://www.mingw.org/ MinGW] installer. You may get version mingw-get-inst-20101030.exe or higher but with the current setup of mingw this is best way to install it.&lt;br /&gt;
&lt;br /&gt;
* [http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/mingw-get-inst/mingw-get-inst-20101030/mingw-get-inst-20101030.exe/download Download mingw get-inst]&lt;br /&gt;
&lt;br /&gt;
Run mingw-get-inst-20101030.exe(or what version you get). When the installer asks which packages to install, select:&lt;br /&gt;
&lt;br /&gt;
* MinGW base tools&lt;br /&gt;
* g++ Compiler&lt;br /&gt;
* g77 Compiler&lt;br /&gt;
* MinGW Make&lt;br /&gt;
* MSYS(both you will still have to go back and install later but this will be explained when the time comes)&lt;br /&gt;
&lt;br /&gt;
Note: you really do need to install Fortran; even though Synfig does not require it, it is required by the autoconf configuration scripts. These are the minimal required package versions which are needed to successfully build win32 synfig (version numbers from the 5.1.3 package):&lt;br /&gt;
&lt;br /&gt;
* mingw-runtime-3.12.tar.gz (429.7 Kb)&lt;br /&gt;
* w32api-3.9.tar.gz (1.6 Mb)&lt;br /&gt;
* binutils-2.17.50-20060824-1.tar.gz (8.9 Mb)&lt;br /&gt;
* gcc-core-3.4.5-20060117-1.tar.gz (3.3 Mb)&lt;br /&gt;
* gcc-g++-3.4.5-20060117-1.tar.gz (4.5 Mb)&lt;br /&gt;
* gcc-g77-3.4.5-20060117-1.tar.gz (2.0 Mb)&lt;br /&gt;
* mingw32-make-3.81-2.tar.gz (95 Kb)&lt;br /&gt;
&lt;br /&gt;
Confirm default installation path &amp;lt;code&amp;gt;C:\MinGW&amp;lt;/code&amp;gt;. If you install MinGW into another directory, synfig compilation may fail.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===MSYS===&lt;br /&gt;
This is installed when you install mingw if you selected, if you feel so nesscary to install it open a mingw shell and run &amp;lt;code&amp;gt;mingw-get install msys-base&amp;lt;/code&amp;gt; but this command might just be uncesscary&lt;br /&gt;
&lt;br /&gt;
===cygpath emulation(yet to fully check on this component)===&lt;br /&gt;
As far as I read, Cygwin only supports paths like /C/somedir/somefile. MinGW can use native windows paths also. Cygwin has a special tool for this (and some another features). MinGW has not. But several Synfig configure scripts require this tool so it will be better to make it. Just save the following text as &amp;lt;code&amp;gt;C:\msys\1.0\bin\cygpath&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/bin/sh&lt;br /&gt;
# A simple cygpath replacement&lt;br /&gt;
&lt;br /&gt;
until [ -z &amp;quot;$1&amp;quot; ]&lt;br /&gt;
do&lt;br /&gt;
    if [ &amp;quot;${1:0:1}&amp;quot; != &amp;quot;-&amp;quot; ]; then&lt;br /&gt;
        echo $1 | sed -e 's/\\/\//g' -e 's/^\([a-zA-Z]\):/\/\1/g'&lt;br /&gt;
    fi&lt;br /&gt;
    shift&lt;br /&gt;
done&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===[http://www.winterdrache.de/freeware/png2ico/index.html png2ico]===&lt;br /&gt;
Early version of Synfig used [http://www.kernel.org/pub/software/graphics/pngtoico/ pngtoico] tool to produce icons from png files. Unfortunately this tool is broken now. You can see this for youeself by installing the official build of Synfig Studio 0.61.05. The latest versions of Synfig using another tool: png2ico. This tool is not perfect, but it works.&lt;br /&gt;
&lt;br /&gt;
# Download it from: http://www.winterdrache.de/freeware/png2ico/data/png2ico-win-2002-12-08.zip (89.9 Kb)&lt;br /&gt;
# And decompress png2ico.exe file to &amp;lt;code&amp;gt;'''C:\msys\1.0\bin'''&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
==Non MinGW packages==&lt;br /&gt;
===[http://subversion.tigris.org Subversion]===&lt;br /&gt;
&lt;br /&gt;
 Source code is now in GIT&lt;br /&gt;
&lt;br /&gt;
Synfig source is stored in a subversion repository. You will need the svn client to get it. Also the svn client is required by the Synfig build scripts, to receive the revision number of the source.&lt;br /&gt;
You can download the Windows subversion package from this page:&lt;br /&gt;
&lt;br /&gt;
* http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91&lt;br /&gt;
&lt;br /&gt;
When I wrote this the latest version was 1.4.3:&lt;br /&gt;
&lt;br /&gt;
* http://subversion.tigris.org/files/documents/15/36797/svn-1.4.3-setup.exe (3.58 Mb)&lt;br /&gt;
&lt;br /&gt;
But it is best to get the newest available version.&lt;br /&gt;
&lt;br /&gt;
===[http://sourceforge.net/projects/nsis/ NSIS]===&lt;br /&gt;
NSIS is the Nullsoft Scriptable Install System, a free and open source installer for WinAmp, a popular windows music player.&lt;br /&gt;
When I wrote this the latest version was 2.27:&lt;br /&gt;
&lt;br /&gt;
* http://downloads.sourceforge.net/nsis/nsis-2.42-setup.exe (1.4 Mb)&lt;br /&gt;
&lt;br /&gt;
You can use this or any newer version.&lt;br /&gt;
&lt;br /&gt;
===[http://www.imagemagick.org ImageMagick]===&lt;br /&gt;
When I wrote this the latest version was 6.3.4-10:&lt;br /&gt;
&lt;br /&gt;
* http://www.imagemagick.org/download/binaries/ImageMagick-6.4.8-3-Q16-windows-dll.exe (11 MB)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The ''updated'' file has not been tested yet -- try here instead http://www.imagemagick.org/download/www/binary-releases.html#windows&lt;br /&gt;
&lt;br /&gt;
ImageMagick is required to build Studio, also Core has an ImageMagick render target.&lt;br /&gt;
&lt;br /&gt;
==Gtk+/Gtkmm==&lt;br /&gt;
===[http://www.gtk.org/ GTK+]===&lt;br /&gt;
Go to [http://gladewin32.sourceforge.net/modules/news/ this page] and download the latest GTK+ devel package for windows:&lt;br /&gt;
&lt;br /&gt;
* http://gladewin32.sourceforge.net/modules/wfdownloads/visit.php?lid=110 (12 MB)&lt;br /&gt;
&lt;br /&gt;
^^ These links are broken :( Pixelgeek is researching alternate solutions&lt;br /&gt;
&lt;br /&gt;
Though it's not yet tested, you can try either:&lt;br /&gt;
* http://downloads.sourceforge.net/gladewin32/gtk-dev-2.12.9-win32-2.exe (16.7 MB)&lt;br /&gt;
* http://downloads.sourceforge.net/gladewin32/gtk-dev-2.12.9-win32-1.exe (13,313 KB)&lt;br /&gt;
&lt;br /&gt;
You need only install the following components:&lt;br /&gt;
&lt;br /&gt;
* Gtk+ Runtime (required)&lt;br /&gt;
* Register Environment Variables&lt;br /&gt;
* Devel header/libraries&lt;br /&gt;
&lt;br /&gt;
Confirm registration for environment: ''MSYS (C:\msys\1.0)''.&lt;br /&gt;
&lt;br /&gt;
Install GTK+ to &amp;lt;code&amp;gt;C:\GTK&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===[http://www.gtkmm.org/ GTKmm]===&lt;br /&gt;
Go to [http://www.pcpm.ucl.ac.be/~gustin/win32_ports/ this page] and download the latest GTKmm devel package for Windows:&lt;br /&gt;
&lt;br /&gt;
* http://ftp.gnome.org/pub/gnome/binaries/win32/gtkmm/2.10/gtkmm-win32-devel-2.10.8-1.exe (16.1 MB)&lt;br /&gt;
&lt;br /&gt;
If you opted for '''gtk-dev-2.12.9-win32-2.exe''' or '''gtk-dev-2.12.9-win32-1.exe''' pick this instead.&lt;br /&gt;
* ftp://ftp.gnome.org/pub/GNOME/binaries/win32/gtkmm/2.10/gtkmm-win32-devel-2.10.11-1.exe (16.3 MB)&lt;br /&gt;
&lt;br /&gt;
You need only install the following components (footnote 1):&lt;br /&gt;
&lt;br /&gt;
* libsigc++&lt;br /&gt;
* cairomm&lt;br /&gt;
* glibmm&lt;br /&gt;
* gtkmm&lt;br /&gt;
* libxml++&lt;br /&gt;
&lt;br /&gt;
 (1) if you're using gtkmm-win32-devel-2.16.0-4.exe, then pangomm is a required component.  &lt;br /&gt;
&lt;br /&gt;
For each selected component you may keep only&lt;br /&gt;
&lt;br /&gt;
* Runtime&lt;br /&gt;
* Development&lt;br /&gt;
&lt;br /&gt;
subcategories. Install GTKmm to &amp;lt;code&amp;gt;'''C:\GTK'''&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Collision Resolution===&lt;br /&gt;
If you have several Gtk-applications (f.e. InkScape), you can receive a strange errors, like &amp;quot;''the procedure entry point XML_SetDoctypeDeclHandler could not be located in the dynamic link library xmlparse.dll''&amp;quot;. Thats mean you have an old version of this library in windows system32 directory, installed by another program. Just search and rename/delete this old library and all will work perfectly again.&lt;br /&gt;
&lt;br /&gt;
===Troubleshooting===&lt;br /&gt;
Test whether MSYS can find MinGW by running:&lt;br /&gt;
&lt;br /&gt;
$ gcc --version&lt;br /&gt;
&lt;br /&gt;
If it replies command not found, MSYS can't see MinGW. In that case, you will need to edit the text file C:\msys\1.0\etc\fstab so that it includes the line:&lt;br /&gt;
&lt;br /&gt;
c:/MinGW /mingw&lt;/div&gt;</summary>
		<author><name>Milleja46</name></author>	</entry>

	<entry>
		<id>https://www.wiki.synfig.org/index.php?title=Dev:Mingw_installation&amp;diff=13555</id>
		<title>Dev:Mingw installation</title>
		<link rel="alternate" type="text/html" href="https://www.wiki.synfig.org/index.php?title=Dev:Mingw_installation&amp;diff=13555"/>
				<updated>2011-01-25T02:04:37Z</updated>
		
		<summary type="html">&lt;p&gt;Milleja46: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--Categories--&amp;gt;&lt;br /&gt;
{{Category|Building}}&lt;br /&gt;
{{Category|Windows}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Updated Mingw==&lt;br /&gt;
Welcome to the updated mingw page! As the information is checked to be fully functional we will post it to this page. As that is verified the old information shown here will be deleted since you are not what so ever to get it working using the below information since the developers of mingw have discontinued and removed that version and setup of that way completely. For now refer to this page: http://www.mingw.org/wiki/Getting_Started&lt;br /&gt;
First - download [http://www.mingw.org/ MinGW] installer. You may get version mingw-get-inst-20101030.exe or higher but with the current setup of mingw this is best way to install it.&lt;br /&gt;
&lt;br /&gt;
* [http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/mingw-get-inst/mingw-get-inst-20101030/mingw-get-inst-20101030.exe/download Download mingw get-inst]&lt;br /&gt;
&lt;br /&gt;
Run mingw-get-inst-20101030.exe(or what version you get). When the installer asks which packages to install, select:&lt;br /&gt;
&lt;br /&gt;
* MinGW base tools&lt;br /&gt;
* g++ Compiler&lt;br /&gt;
* g77 Compiler&lt;br /&gt;
* MinGW Make&lt;br /&gt;
* MSYS(both you will still have to go back and install later but this will be explained when the time comes)&lt;br /&gt;
&lt;br /&gt;
Note: you really do need to install Fortran; even though Synfig does not require it, it is required by the autoconf configuration scripts. These are the minimal required package versions which are needed to successfully build win32 synfig (version numbers from the 5.1.3 package):&lt;br /&gt;
&lt;br /&gt;
* mingw-runtime-3.12.tar.gz (429.7 Kb)&lt;br /&gt;
* w32api-3.9.tar.gz (1.6 Mb)&lt;br /&gt;
* binutils-2.17.50-20060824-1.tar.gz (8.9 Mb)&lt;br /&gt;
* gcc-core-3.4.5-20060117-1.tar.gz (3.3 Mb)&lt;br /&gt;
* gcc-g++-3.4.5-20060117-1.tar.gz (4.5 Mb)&lt;br /&gt;
* gcc-g77-3.4.5-20060117-1.tar.gz (2.0 Mb)&lt;br /&gt;
* mingw32-make-3.81-2.tar.gz (95 Kb)&lt;br /&gt;
&lt;br /&gt;
Confirm default installation path &amp;lt;code&amp;gt;C:\MinGW&amp;lt;/code&amp;gt;. If you install MinGW into another directory, synfig compilation may fail.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===MSYS===&lt;br /&gt;
This is installed when you install mingw if you selected, if you feel so nesscary to install it open a mingw shell and run &amp;lt;code&amp;gt;mingw-get install msys-base&amp;lt;/code&amp;gt; but this command might just be uncesscary&lt;br /&gt;
&lt;br /&gt;
===cygpath emulation(yet to fully check on this component)===&lt;br /&gt;
As far as I read, Cygwin only supports paths like /C/somedir/somefile. MinGW can use native windows paths also. Cygwin has a special tool for this (and some another features). MinGW has not. But several Synfig configure scripts require this tool so it will be better to make it. Just save the following text as &amp;lt;code&amp;gt;C:\msys\1.0\bin\cygpath&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/bin/sh&lt;br /&gt;
# A simple cygpath replacement&lt;br /&gt;
&lt;br /&gt;
until [ -z &amp;quot;$1&amp;quot; ]&lt;br /&gt;
do&lt;br /&gt;
    if [ &amp;quot;${1:0:1}&amp;quot; != &amp;quot;-&amp;quot; ]; then&lt;br /&gt;
        echo $1 | sed -e 's/\\/\//g' -e 's/^\([a-zA-Z]\):/\/\1/g'&lt;br /&gt;
    fi&lt;br /&gt;
    shift&lt;br /&gt;
done&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===[http://www.winterdrache.de/freeware/png2ico/index.html png2ico]===&lt;br /&gt;
Early version of Synfig used [http://www.kernel.org/pub/software/graphics/pngtoico/ pngtoico] tool to produce icons from png files. Unfortunately this tool is broken now. You can see this for youeself by installing the official build of Synfig Studio 0.61.05. The latest versions of Synfig using another tool: png2ico. This tool is not perfect, but it works.&lt;br /&gt;
&lt;br /&gt;
# Download it from: http://www.winterdrache.de/freeware/png2ico/data/png2ico-win-2002-12-08.zip (89.9 Kb)&lt;br /&gt;
# And decompress png2ico.exe file to &amp;lt;code&amp;gt;'''C:\msys\1.0\bin'''&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
==Non MinGW packages==&lt;br /&gt;
===[http://subversion.tigris.org Subversion]===&lt;br /&gt;
&lt;br /&gt;
 Source code is now in GIT&lt;br /&gt;
&lt;br /&gt;
Synfig source is stored in a subversion repository. You will need the svn client to get it. Also the svn client is required by the Synfig build scripts, to receive the revision number of the source.&lt;br /&gt;
You can download the Windows subversion package from this page:&lt;br /&gt;
&lt;br /&gt;
* http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91&lt;br /&gt;
&lt;br /&gt;
When I wrote this the latest version was 1.4.3:&lt;br /&gt;
&lt;br /&gt;
* http://subversion.tigris.org/files/documents/15/36797/svn-1.4.3-setup.exe (3.58 Mb)&lt;br /&gt;
&lt;br /&gt;
But it is best to get the newest available version.&lt;br /&gt;
&lt;br /&gt;
===[http://sourceforge.net/projects/nsis/ NSIS]===&lt;br /&gt;
NSIS is the Nullsoft Scriptable Install System, a free and open source installer for WinAmp, a popular windows music player.&lt;br /&gt;
When I wrote this the latest version was 2.27:&lt;br /&gt;
&lt;br /&gt;
* http://downloads.sourceforge.net/nsis/nsis-2.42-setup.exe (1.4 Mb)&lt;br /&gt;
&lt;br /&gt;
You can use this or any newer version.&lt;br /&gt;
&lt;br /&gt;
===[http://www.imagemagick.org ImageMagick]===&lt;br /&gt;
When I wrote this the latest version was 6.3.4-10:&lt;br /&gt;
&lt;br /&gt;
* http://www.imagemagick.org/download/binaries/ImageMagick-6.4.8-3-Q16-windows-dll.exe (11 MB)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The ''updated'' file has not been tested yet -- try here instead http://www.imagemagick.org/download/www/binary-releases.html#windows&lt;br /&gt;
&lt;br /&gt;
ImageMagick is required to build Studio, also Core has an ImageMagick render target.&lt;br /&gt;
&lt;br /&gt;
==Gtk+/Gtkmm==&lt;br /&gt;
===[http://www.gtk.org/ GTK+]===&lt;br /&gt;
Go to [http://gladewin32.sourceforge.net/modules/news/ this page] and download the latest GTK+ devel package for windows:&lt;br /&gt;
&lt;br /&gt;
* http://gladewin32.sourceforge.net/modules/wfdownloads/visit.php?lid=110 (12 MB)&lt;br /&gt;
&lt;br /&gt;
^^ These links are broken :( Pixelgeek is researching alternate solutions&lt;br /&gt;
&lt;br /&gt;
Though it's not yet tested, you can try either:&lt;br /&gt;
* http://downloads.sourceforge.net/gladewin32/gtk-dev-2.12.9-win32-2.exe (16.7 MB)&lt;br /&gt;
* http://downloads.sourceforge.net/gladewin32/gtk-dev-2.12.9-win32-1.exe (13,313 KB)&lt;br /&gt;
&lt;br /&gt;
You need only install the following components:&lt;br /&gt;
&lt;br /&gt;
* Gtk+ Runtime (required)&lt;br /&gt;
* Register Environment Variables&lt;br /&gt;
* Devel header/libraries&lt;br /&gt;
&lt;br /&gt;
Confirm registration for environment: ''MSYS (C:\msys\1.0)''.&lt;br /&gt;
&lt;br /&gt;
Install GTK+ to &amp;lt;code&amp;gt;C:\GTK&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===[http://www.gtkmm.org/ GTKmm]===&lt;br /&gt;
Go to [http://www.pcpm.ucl.ac.be/~gustin/win32_ports/ this page] and download the latest GTKmm devel package for Windows:&lt;br /&gt;
&lt;br /&gt;
* http://ftp.gnome.org/pub/gnome/binaries/win32/gtkmm/2.10/gtkmm-win32-devel-2.10.8-1.exe (16.1 MB)&lt;br /&gt;
&lt;br /&gt;
If you opted for '''gtk-dev-2.12.9-win32-2.exe''' or '''gtk-dev-2.12.9-win32-1.exe''' pick this instead.&lt;br /&gt;
* ftp://ftp.gnome.org/pub/GNOME/binaries/win32/gtkmm/2.10/gtkmm-win32-devel-2.10.11-1.exe (16.3 MB)&lt;br /&gt;
&lt;br /&gt;
You need only install the following components (footnote 1):&lt;br /&gt;
&lt;br /&gt;
* libsigc++&lt;br /&gt;
* cairomm&lt;br /&gt;
* glibmm&lt;br /&gt;
* gtkmm&lt;br /&gt;
* libxml++&lt;br /&gt;
&lt;br /&gt;
 (1) if you're using gtkmm-win32-devel-2.16.0-4.exe, then pangomm is a required component.  &lt;br /&gt;
&lt;br /&gt;
For each selected component you may keep only&lt;br /&gt;
&lt;br /&gt;
* Runtime&lt;br /&gt;
* Development&lt;br /&gt;
&lt;br /&gt;
subcategories. Install GTKmm to &amp;lt;code&amp;gt;'''C:\GTK'''&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Collision Resolution===&lt;br /&gt;
If you have several Gtk-applications (f.e. InkScape), you can receive a strange errors, like &amp;quot;''the procedure entry point XML_SetDoctypeDeclHandler could not be located in the dynamic link library xmlparse.dll''&amp;quot;. Thats mean you have an old version of this library in windows system32 directory, installed by another program. Just search and rename/delete this old library and all will work perfectly again.&lt;br /&gt;
&lt;br /&gt;
===Troubleshooting===&lt;br /&gt;
Test whether MSYS can find MinGW by running:&lt;br /&gt;
&lt;br /&gt;
$ gcc --version&lt;br /&gt;
&lt;br /&gt;
If it replies command not found, MSYS can't see MinGW. In that case, you will need to edit the text file C:\msys\1.0\etc\fstab so that it includes the line:&lt;br /&gt;
&lt;br /&gt;
c:/MinGW /mingw&lt;br /&gt;
&lt;br /&gt;
==MinGW(Old and unusable will be replaced as the new information is tested and added to the page)==&lt;br /&gt;
First - download [http://www.mingw.org/ MinGW] installer. You may get version 5.1.3 or higher (recommended).&lt;br /&gt;
&lt;br /&gt;
* https://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/MinGW-5.1.4.exe/download&lt;br /&gt;
&lt;br /&gt;
Run MinGW-5.1.4.exe. Select &amp;quot;Download and install&amp;quot;. Choose &amp;quot;Candidate&amp;quot; package, because &amp;quot;Current&amp;quot; is too old. When the installer asks which packages to install, select:&lt;br /&gt;
&lt;br /&gt;
* MinGW base tools&lt;br /&gt;
* g++ Compiler&lt;br /&gt;
* g77 Compiler&lt;br /&gt;
* MinGW Make&lt;br /&gt;
&lt;br /&gt;
Note: you really do need to install Fortran; even though Synfig does not require it, it is required by the autoconf configuration scripts. These are the minimal required package versions which are needed to successfully build win32 synfig (version numbers from the 5.1.3 package):&lt;br /&gt;
&lt;br /&gt;
* mingw-runtime-3.12.tar.gz (429.7 Kb)&lt;br /&gt;
* w32api-3.9.tar.gz (1.6 Mb)&lt;br /&gt;
* binutils-2.17.50-20060824-1.tar.gz (8.9 Mb)&lt;br /&gt;
* gcc-core-3.4.5-20060117-1.tar.gz (3.3 Mb)&lt;br /&gt;
* gcc-g++-3.4.5-20060117-1.tar.gz (4.5 Mb)&lt;br /&gt;
* gcc-g77-3.4.5-20060117-1.tar.gz (2.0 Mb)&lt;br /&gt;
* mingw32-make-3.81-2.tar.gz (95 Kb)&lt;br /&gt;
&lt;br /&gt;
Confirm default installation path &amp;lt;code&amp;gt;C:\MinGW&amp;lt;/code&amp;gt;. If you install MinGW into another directory, synfig compilation may fail.&lt;br /&gt;
&lt;br /&gt;
(instructions updated from version 5.1.3 to 5.1.4, but untested.  please update the wiki if anything is broken with 5.1.4)&lt;br /&gt;
&lt;br /&gt;
===MSYS===&lt;br /&gt;
Now download and install MSYS - a shell and tools kit.&lt;br /&gt;
&lt;br /&gt;
* http://downloads.sourceforge.net/mingw/MSYS-1.0.10.exe (2.7 Mb)&lt;br /&gt;
&lt;br /&gt;
Run MSYS-1.0.10.exe, confirm default installation path &amp;lt;code&amp;gt;C:\msys\1.0&amp;lt;/code&amp;gt;. Wait until installation completes. Then the installer opens a console and asks some questions.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;'''This is a post install process that will try to normalize between'''&amp;lt;br /&amp;gt;'''your MinGW install if any as well as your previous MSYS installs'''&amp;lt;br /&amp;gt;'''if any. I don't have any traps as aborts will not hurt anything.'''&amp;lt;br /&amp;gt;'''Do you wish to continue with the post install? [yn ]'''&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Answer &amp;quot;&amp;lt;code&amp;gt;'''y'''&amp;lt;/code&amp;gt;&amp;quot; here.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;'''Do you have MinGW installed? [yn ]'''&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Answer &amp;quot;&amp;lt;code&amp;gt;'''y'''&amp;lt;/code&amp;gt;&amp;quot; here.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;'''Please answer following the in the form of c:/foo/bar.'''&amp;lt;br /&amp;gt;'''Where is your MinGW installation?'''&amp;lt;br /&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Answer &amp;quot;&amp;lt;code&amp;gt;'''c:/mingw'''&amp;lt;/code&amp;gt;&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The installer script prints some text and finally writes:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;'''Oh joy, you do not have c:/mingw/bin/make.exe. Keep it that way.'''&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It's OK. The first phase of installation is completed. Press any key.&lt;br /&gt;
&lt;br /&gt;
===MSYS Developer Toolkit===&lt;br /&gt;
Download MSYS Developer Toolkit, which contain such required tools as [http://www.gnu.org/software/autoconf/ autoconf], [http://www.gnu.org/software/automake/ automake], [http://www.gnu.org/software/libtool/ libtool], [http://www.cpan.org/ perl], pkg-tools, etc. Unfortunately, many tools included in MSYS DTK is too old and we need update it manually later.&lt;br /&gt;
&lt;br /&gt;
* http://downloads.sourceforge.net/mingw/msysDTK-1.0.1.exe (9.8 Mb)&lt;br /&gt;
&lt;br /&gt;
Run msysDTK-1.0.1.exe. Confirm your MSYS installation path &amp;lt;code&amp;gt;C:\msys\1.0&amp;lt;/code&amp;gt;. Nothing more. Installation will continue without any additional questions.&lt;br /&gt;
&lt;br /&gt;
===bash===&lt;br /&gt;
The current bash version is not enough for Synfig building and neither is the new 2.05b version. It contains an error and you need to:&lt;br /&gt;
&lt;br /&gt;
# Download 3.1 snapshot: * http://downloads.sourceforge.net/mingw/bash-3.1-MSYS-1.0.11-snapshot.tar.bz2 (538.2 Kb)&lt;br /&gt;
# Make sure that all msys sessions are closed,&lt;br /&gt;
# then just decompress bash-3.1 directory from archive into &amp;lt;code&amp;gt;C:\msys\1.0&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Also, you might want to edit &amp;lt;code&amp;gt;'''C:\msys\1.0\msys.bat'''&amp;lt;/code&amp;gt; file. If so, do the following:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Look into the string which contain !! Find !! Replace&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;code&amp;gt;'''MINGW32BGCOLOR='''&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;'''{Any Color}'''&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;'''Black'''&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;code&amp;gt;'''MINGW32FGCOLOR='''&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;'''{Any Color}'''&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;'''White'''&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;code&amp;gt;'''start rxvt -backspacekey'''&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;'''-fn Courier-12'''&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;'''-fn Courier-16'''&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===[http://www.gnu.org/software/autoconf/ autoconf]===&lt;br /&gt;
As written before, some tool are too old for Synfig build. For example, since revision 547 synfig required autoconf and automake, included in MSYS DTK are not acceptible. And we need replace them by new version.&lt;br /&gt;
&lt;br /&gt;
# Download new autoconf from: http://downloads.sourceforge.net/mingw/msys-autoconf-2.59.tar.bz2 (394.7 Kb)&lt;br /&gt;
# Decompress content of archive to &amp;lt;code&amp;gt;'''C:\msys\1.0'''&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
===[http://www.gnu.org/software/automake/ automake]===&lt;br /&gt;
# Download new automake from: http://downloads.sourceforge.net/mingw/msys-automake-1.8.2.tar.bz2 (304 Kb)&lt;br /&gt;
# Decompress content of archive to &amp;lt;code&amp;gt;'''C:\msys\1.0'''&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
===[http://www.gnu.org/software/libtool/ libtool]===&lt;br /&gt;
In Synfig Core bootstrap file we can find that libtool prior to version 1.4.2 has an error in libltdl but msys has only 1.4e. I think - will be better to update it instead of patching.&lt;br /&gt;
&lt;br /&gt;
# Download libtool 1.5 from: http://downloads.sourceforge.net/mingw/msys-libtool-1.5.tar.bz2 (411.3 Kb)&lt;br /&gt;
# Decompress content of archive to &amp;lt;code&amp;gt;'''C:\msys\1.0'''&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
=== [http://www.gnu.org/software/gettext Gettext] ===&lt;br /&gt;
Starting from SVN 1143, Synfig offers support for internationalization (languages translations). For this, Gettext is needed.&lt;br /&gt;
&lt;br /&gt;
# You'll need [http://www.cygwin.com/ Cygwin] project's [http://cygwin.com/packages/gettext-devel/ gettext-devel] package: http://ftp.yz.yamagata-u.ac.jp/pub/cygwin/release/gettext/gettext-devel/&lt;br /&gt;
# Unpack the archive so that everything is under &amp;lt;code&amp;gt;'''/usr/local'''&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;'''/usr'''&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Any binaries that are not from the MinGW project (''or not built specially for MSYS'') cannot be placed in the &amp;lt;code&amp;gt;'''/msys/1.0/bin'''&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;'''/bin'''&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;'''/usr/bin'''&amp;lt;/code&amp;gt; inside MSYS) directory. You then need to:&lt;br /&gt;
# hack the &amp;lt;code&amp;gt;'''/usr/local/bin/autopoint'''&amp;lt;/code&amp;gt; script so that prefix is defined as &amp;lt;code&amp;gt;'''/usr/local'''&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;'''/usr'''&amp;lt;/code&amp;gt;.&lt;br /&gt;
# '''Warning!''' Ugly hack follows&lt;br /&gt;
:: Autopoint expects to find an &amp;lt;code&amp;gt;'''archive.tar.gz'''&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;'''usr/share'''&amp;lt;/code&amp;gt;, so copy gettext (found on &amp;lt;code&amp;gt;'''usr/share/'''&amp;lt;/code&amp;gt; on the archive) file structure to &amp;lt;code&amp;gt;'''/usr/share'''&amp;lt;/code&amp;gt; also.&lt;br /&gt;
&lt;br /&gt;
'''Update:''' If you insist a MSYS-compatible gettext-devel, try: http://downloads.sourceforge.net/mingw/gettext-devel-0.16.1-MSYS-1.0.11-1.tar.bz2&lt;br /&gt;
* As of this post, &amp;lt;code&amp;gt;'''gettext-devel-0.16.1-MSYS'''&amp;lt;/code&amp;gt; is being tested for problem-free Synfig compile.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' If you reload the GTK+ devel environment, make sure that you rename the autopoint script and gettext so that they don't conflict with the ones in msys. GTK\bin tends to show up first in the path, and those versions get picked by default.&lt;br /&gt;
&lt;br /&gt;
===[http://www.mktemp.org/ mktemp]===&lt;br /&gt;
Synfig requires mktemp for building, but for some unknown reason this tool is not installed by default in MinGW.&lt;br /&gt;
&lt;br /&gt;
# Download the MinGW implementation of this tool from: http://downloads.sourceforge.net/mingw/mktemp-1.5-MSYS.tar.bz2 (4 Kb)&lt;br /&gt;
# Decompress mktemp.exe from this archive to &amp;lt;code&amp;gt;'''C:\msys\1.0\bin'''&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
===[http://darwinsys.com/file/ file]===&lt;br /&gt;
libtool requires the &amp;quot;file&amp;quot; tool to check filetypes of libraries.&lt;br /&gt;
&lt;br /&gt;
# So we need to download it: http://downloads.sourceforge.net/mingw/file-4.16-MSYS-1.0.11-snapshot.tar.bz2 (236.2 Kb)&lt;br /&gt;
# Decompress content of directory file-4.16 from the archive to &amp;lt;code&amp;gt;'''C:\msys\1.0'''&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===cygpath emulation===&lt;br /&gt;
As far as I read, Cygwin only supports paths like /C/somedir/somefile. MinGW can use native windows paths also. Cygwin has a special tool for this (and some another features). MinGW has not. But several Synfig configure scripts require this tool so it will be better to make it. Just save the following text as &amp;lt;code&amp;gt;C:\msys\1.0\bin\cygpath&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/bin/sh&lt;br /&gt;
# A simple cygpath replacement&lt;br /&gt;
&lt;br /&gt;
until [ -z &amp;quot;$1&amp;quot; ]&lt;br /&gt;
do&lt;br /&gt;
    if [ &amp;quot;${1:0:1}&amp;quot; != &amp;quot;-&amp;quot; ]; then&lt;br /&gt;
        echo $1 | sed -e 's/\\/\//g' -e 's/^\([a-zA-Z]\):/\/\1/g'&lt;br /&gt;
    fi&lt;br /&gt;
    shift&lt;br /&gt;
done&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===[http://www.winterdrache.de/freeware/png2ico/index.html png2ico]===&lt;br /&gt;
Early version of Synfig used [http://www.kernel.org/pub/software/graphics/pngtoico/ pngtoico] tool to produce icons from png files. Unfortunately this tool is broken now. You can see this for youeself by installing the official build of Synfig Studio 0.61.05. The latest versions of Synfig using another tool: png2ico. This tool is not perfect, but it works.&lt;br /&gt;
&lt;br /&gt;
# Download it from: http://www.winterdrache.de/freeware/png2ico/data/png2ico-win-2002-12-08.zip (89.9 Kb)&lt;br /&gt;
# And decompress png2ico.exe file to &amp;lt;code&amp;gt;'''C:\msys\1.0\bin'''&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
==Non MinGW packages==&lt;br /&gt;
===[http://subversion.tigris.org Subversion]===&lt;br /&gt;
&lt;br /&gt;
 Source code is now in GIT&lt;br /&gt;
&lt;br /&gt;
Synfig source is stored in a subversion repository. You will need the svn client to get it. Also the svn client is required by the Synfig build scripts, to receive the revision number of the source.&lt;br /&gt;
You can download the Windows subversion package from this page:&lt;br /&gt;
&lt;br /&gt;
* http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91&lt;br /&gt;
&lt;br /&gt;
When I wrote this the latest version was 1.4.3:&lt;br /&gt;
&lt;br /&gt;
* http://subversion.tigris.org/files/documents/15/36797/svn-1.4.3-setup.exe (3.58 Mb)&lt;br /&gt;
&lt;br /&gt;
But it is best to get the newest available version.&lt;br /&gt;
&lt;br /&gt;
===[http://sourceforge.net/projects/nsis/ NSIS]===&lt;br /&gt;
NSIS is the Nullsoft Scriptable Install System, a free and open source installer for WinAmp, a popular windows music player.&lt;br /&gt;
When I wrote this the latest version was 2.27:&lt;br /&gt;
&lt;br /&gt;
* http://downloads.sourceforge.net/nsis/nsis-2.42-setup.exe (1.4 Mb)&lt;br /&gt;
&lt;br /&gt;
You can use this or any newer version.&lt;br /&gt;
&lt;br /&gt;
===[http://www.imagemagick.org ImageMagick]===&lt;br /&gt;
When I wrote this the latest version was 6.3.4-10:&lt;br /&gt;
&lt;br /&gt;
* http://www.imagemagick.org/download/binaries/ImageMagick-6.4.8-3-Q16-windows-dll.exe (11 MB)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The ''updated'' file has not been tested yet -- try here instead http://www.imagemagick.org/download/www/binary-releases.html#windows&lt;br /&gt;
&lt;br /&gt;
ImageMagick is required to build Studio, also Core has an ImageMagick render target.&lt;br /&gt;
&lt;br /&gt;
==Gtk+/Gtkmm==&lt;br /&gt;
===[http://www.gtk.org/ GTK+]===&lt;br /&gt;
Go to [http://gladewin32.sourceforge.net/modules/news/ this page] and download the latest GTK+ devel package for windows:&lt;br /&gt;
&lt;br /&gt;
* http://gladewin32.sourceforge.net/modules/wfdownloads/visit.php?lid=110 (12 MB)&lt;br /&gt;
&lt;br /&gt;
^^ These links are broken :( Pixelgeek is researching alternate solutions&lt;br /&gt;
&lt;br /&gt;
Though it's not yet tested, you can try either:&lt;br /&gt;
* http://downloads.sourceforge.net/gladewin32/gtk-dev-2.12.9-win32-2.exe (16.7 MB)&lt;br /&gt;
* http://downloads.sourceforge.net/gladewin32/gtk-dev-2.12.9-win32-1.exe (13,313 KB)&lt;br /&gt;
&lt;br /&gt;
You need only install the following components:&lt;br /&gt;
&lt;br /&gt;
* Gtk+ Runtime (required)&lt;br /&gt;
* Register Environment Variables&lt;br /&gt;
* Devel header/libraries&lt;br /&gt;
&lt;br /&gt;
Confirm registration for environment: ''MSYS (C:\msys\1.0)''.&lt;br /&gt;
&lt;br /&gt;
Install GTK+ to &amp;lt;code&amp;gt;C:\GTK&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===[http://www.gtkmm.org/ GTKmm]===&lt;br /&gt;
Go to [http://www.pcpm.ucl.ac.be/~gustin/win32_ports/ this page] and download the latest GTKmm devel package for Windows:&lt;br /&gt;
&lt;br /&gt;
* http://ftp.gnome.org/pub/gnome/binaries/win32/gtkmm/2.10/gtkmm-win32-devel-2.10.8-1.exe (16.1 MB)&lt;br /&gt;
&lt;br /&gt;
If you opted for '''gtk-dev-2.12.9-win32-2.exe''' or '''gtk-dev-2.12.9-win32-1.exe''' pick this instead.&lt;br /&gt;
* ftp://ftp.gnome.org/pub/GNOME/binaries/win32/gtkmm/2.10/gtkmm-win32-devel-2.10.11-1.exe (16.3 MB)&lt;br /&gt;
&lt;br /&gt;
You need only install the following components (footnote 1):&lt;br /&gt;
&lt;br /&gt;
* libsigc++&lt;br /&gt;
* cairomm&lt;br /&gt;
* glibmm&lt;br /&gt;
* gtkmm&lt;br /&gt;
* libxml++&lt;br /&gt;
&lt;br /&gt;
 (1) if you're using gtkmm-win32-devel-2.16.0-4.exe, then pangomm is a required component.  &lt;br /&gt;
&lt;br /&gt;
For each selected component you may keep only&lt;br /&gt;
&lt;br /&gt;
* Runtime&lt;br /&gt;
* Development&lt;br /&gt;
&lt;br /&gt;
subcategories. Install GTKmm to &amp;lt;code&amp;gt;'''C:\GTK'''&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Collision Resolution===&lt;br /&gt;
If you have several Gtk-applications (f.e. InkScape), you can receive a strange errors, like &amp;quot;''the procedure entry point XML_SetDoctypeDeclHandler could not be located in the dynamic link library xmlparse.dll''&amp;quot;. Thats mean you have an old version of this library in windows system32 directory, installed by another program. Just search and rename/delete this old library and all will work perfectly again.&lt;br /&gt;
&lt;br /&gt;
===Troubleshooting===&lt;br /&gt;
Test whether MSYS can find MinGW by running:&lt;br /&gt;
&lt;br /&gt;
$ gcc --version&lt;br /&gt;
&lt;br /&gt;
If it replies command not found, MSYS can't see MinGW. In that case, you will need to edit the text file C:\msys\1.0\etc\fstab so that it includes the line:&lt;br /&gt;
&lt;br /&gt;
c:/MinGW /mingw&lt;/div&gt;</summary>
		<author><name>Milleja46</name></author>	</entry>

	<entry>
		<id>https://www.wiki.synfig.org/index.php?title=Dev:Building_on_Windows&amp;diff=13554</id>
		<title>Dev:Building on Windows</title>
		<link rel="alternate" type="text/html" href="https://www.wiki.synfig.org/index.php?title=Dev:Building_on_Windows&amp;diff=13554"/>
				<updated>2011-01-25T01:31:25Z</updated>
		
		<summary type="html">&lt;p&gt;Milleja46: /* Files */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--Categories--&amp;gt;&lt;br /&gt;
{{Category|Building}}&lt;br /&gt;
&lt;br /&gt;
==Directories==&lt;br /&gt;
If you didn't already install Mingw, {{l|Mingw installation|this page}} will guide you through the process.&lt;br /&gt;
&lt;br /&gt;
If you didn't already start an msys session, do so now. Just double click the MSYS shortcut or run &amp;lt;code&amp;gt;'''C:\mingw\msys\1.0\msys.bat'''&amp;lt;/code&amp;gt;. An msys session will be opened, creating your profile directory at &amp;lt;code&amp;gt;'''C:\mingw\msys\1.0\home\&amp;lt;windows login&amp;gt;'''&amp;lt;/code&amp;gt;. As you can see, MinGW uses your windows login as the user name in its fake UNIX environment. Be careful, I've not checked whether it works with non latin-character account names.&lt;br /&gt;
&lt;br /&gt;
Now, use explorer or your favorite file manager and go to &amp;lt;code&amp;gt;'''C:\mingw\msys\1.0\home\&amp;lt;windows login&amp;gt;'''&amp;lt;/code&amp;gt;. Create a directory there for all Synfig operations. For example, let it be &amp;lt;code&amp;gt;'''synfig'''&amp;lt;/code&amp;gt;. Go into this directory.&lt;br /&gt;
&lt;br /&gt;
Ok, now you are at &amp;lt;code&amp;gt;'''C:\msys\1.0\home\&amp;lt;windows login&amp;gt;\synfig'''&amp;lt;/code&amp;gt;. Create four directories here:&lt;br /&gt;
* &amp;lt;code&amp;gt;'''_filez'''&amp;lt;/code&amp;gt;, for patches (and maybe later, additional files).&lt;br /&gt;
* &amp;lt;code&amp;gt;'''_src'''&amp;lt;/code&amp;gt;, for program sources.&lt;br /&gt;
* &amp;lt;code&amp;gt;'''build'''&amp;lt;/code&amp;gt;, for building programs.&lt;br /&gt;
* &amp;lt;code&amp;gt;'''temp'''&amp;lt;/code&amp;gt;, for local installation programs and libraries, which are required for building synfig. (For example: ETL, synfig (core for studio), OpenEXR, etc...)&lt;br /&gt;
&lt;br /&gt;
Of course, you can choose your own name for all the directories and choose their locations. All you need then is to set a new path in the configuration file. But for now we choose the easy way.&lt;br /&gt;
&lt;br /&gt;
==Files==&lt;br /&gt;
Save this configuration file as &amp;lt;code&amp;gt;C:\mingw\msys\1.0\home\&amp;lt;windows login&amp;gt;\synfig\synbuild.conf&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
# Synfig for Win32 build configuration script.&lt;br /&gt;
############################################################################&lt;br /&gt;
# 1. Files and Directories&lt;br /&gt;
&lt;br /&gt;
# Uncompressed Synfig svn snapshots and another package sources&lt;br /&gt;
SYN_SOURCE_DIR=`dirname ~/.`&amp;quot;/synfig/_src&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Directory additional files (patches f.e.)&lt;br /&gt;
SYN_FILEZ_DIR=`dirname ~/.`&amp;quot;/synfig/_filez&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Temporary installations (ETL headers, synfig binaries for icon and image making)&lt;br /&gt;
SYN_TEMP_INSTALL=`dirname ~/.`&amp;quot;/synfig/temp&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Build directory&lt;br /&gt;
SYN_BUILD_DIR=`dirname ~/.`&amp;quot;/synfig/build&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# OpenEXR source package&lt;br /&gt;
SYN_ILMBASE_VERSION=&amp;quot;1.0.1&amp;quot;&lt;br /&gt;
SYN_ILMBASE_SRC=&amp;quot;${SYN_SOURCE_DIR}/ilmbase-${SYN_ILMBASE_VERSION}.tar.gz&amp;quot;&lt;br /&gt;
SYN_OPENEXR_VERSION=&amp;quot;1.6.1&amp;quot;&lt;br /&gt;
SYN_OPENEXR_SRC=&amp;quot;${SYN_SOURCE_DIR}/openexr-${SYN_OPENEXR_VERSION}.tar.gz&amp;quot;&lt;br /&gt;
&lt;br /&gt;
#############################################################################&lt;br /&gt;
# 2. External tools&lt;br /&gt;
&lt;br /&gt;
# Path to ImageMagick directory.&lt;br /&gt;
SYN_IMAGEMAGICK_PATH=&amp;quot;/C/Program Files/ImageMagick&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Path to Subversion bin directory.&lt;br /&gt;
SYN_SUBVERSION_PATH=&amp;quot;/C/Program Files/Subversion/bin&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Path to NSIS directory with makensis.exe file.&lt;br /&gt;
SYN_NSIS_PATH=&amp;quot;/C/Program Files/NSIS&amp;quot;&lt;br /&gt;
&lt;br /&gt;
#############################################################################&lt;br /&gt;
# 3. Build setup&lt;br /&gt;
&lt;br /&gt;
# Build host&lt;br /&gt;
MINGW_HOST=&amp;quot;mingw32&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Make debug build of Synfig Core&lt;br /&gt;
SYN_CORE_DEBUG_BUILD=&amp;quot;no&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Make debug build of Synfig Studio&lt;br /&gt;
SYN_STUDIO_DEBUG_BUILD=&amp;quot;no&amp;quot;&lt;br /&gt;
#WITH_FMOD=&amp;quot;yes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
#############################################################################&lt;br /&gt;
# 4. Patches (you can place here any additional patches)&lt;br /&gt;
&lt;br /&gt;
# ETL patches&lt;br /&gt;
ETL_PATCHES=$(cat &amp;lt;&amp;lt;:END_ETL:&lt;br /&gt;
:END_ETL:)&lt;br /&gt;
&lt;br /&gt;
# Synfig Core patches&lt;br /&gt;
SYNCORE_PATCHES=$(cat &amp;lt;&amp;lt;:END_SYNCORE:&lt;br /&gt;
:END_SYNCORE:)&lt;br /&gt;
&lt;br /&gt;
# Sunfig Studio patches&lt;br /&gt;
SYNSTUDIO_PATCHES=$(cat &amp;lt;&amp;lt;:END_SYNSTUDIO:&lt;br /&gt;
:END_SYNSTUDIO:)&lt;br /&gt;
&lt;br /&gt;
# OpenEXR ILMBase patches&lt;br /&gt;
&lt;br /&gt;
ILMBASE_PATCHES=$(cat &amp;lt;&amp;lt;:END_ILMBASE:&lt;br /&gt;
ilmbase-1.0.1-makefile.patch&lt;br /&gt;
ilmbase-1.0.1-pkgconfig.patch&lt;br /&gt;
:END_ILMBASE:)&lt;br /&gt;
&lt;br /&gt;
# OpenEXR patches&lt;br /&gt;
#openexr-1.4.0-pkgconfig.patch&lt;br /&gt;
#openexr-1.4.0-mingw32.patch&lt;br /&gt;
OPENEXR_PATCHES=$(cat &amp;lt;&amp;lt;:END_OPENEXR:&lt;br /&gt;
:END_OPENEXR:)&lt;br /&gt;
&lt;br /&gt;
#############################################################################&lt;br /&gt;
# 5. Autoconfiguration&lt;br /&gt;
&lt;br /&gt;
if [ &amp;quot;$GTK_BASEPATH&amp;quot; ]; then&lt;br /&gt;
  CPPFLAGS=&amp;quot;-I${GTK_BASEPATH}/include $CPPFLAGS&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
if [ &amp;quot;$SYN_IMAGEMAGICK_PATH&amp;quot; ]; then&lt;br /&gt;
  PATH=&amp;quot;${SYN_IMAGEMAGICK_PATH}:${PATH}&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
if [ &amp;quot;$SYN_SUBVERSION_PATH&amp;quot; ]; then&lt;br /&gt;
  PATH=&amp;quot;${SYN_SUBVERSION_PATH}:${PATH}&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
if [ &amp;quot;$SYN_NSIS_PATH&amp;quot; ]; then&lt;br /&gt;
  PATH=&amp;quot;${SYN_NSIS_PATH}:${PATH}&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
if [ -d &amp;quot;${SYN_TEMP_INSTALL}/ETL&amp;quot; ]; then&lt;br /&gt;
  PATH=&amp;quot;${SYN_TEMP_INSTALL}/ETL/bin:${PATH}&amp;quot;&lt;br /&gt;
  PKG_CONFIG_PATH=&amp;quot;${SYN_TEMP_INSTALL}/ETL/lib/pkgconfig:${PKG_CONFIG_PATH}&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
if [ -d &amp;quot;${SYN_TEMP_INSTALL}/synfig-devel&amp;quot; ]; then&lt;br /&gt;
  PATH=&amp;quot;${SYN_TEMP_INSTALL}/synfig-devel/bin:${PATH}&amp;quot;&lt;br /&gt;
  PKG_CONFIG_PATH=&amp;quot;${SYN_TEMP_INSTALL}/synfig-devel/lib/pkgconfig:${PKG_CONFIG_PATH}&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
if [ -d &amp;quot;${SYN_TEMP_INSTALL}/openexr&amp;quot; ]; then&lt;br /&gt;
  PATH=&amp;quot;${SYN_TEMP_INSTALL}/openexr/bin:${PATH}&amp;quot;&lt;br /&gt;
  PKG_CONFIG_PATH=&amp;quot;${SYN_TEMP_INSTALL}/openexr/lib/pkgconfig:${PKG_CONFIG_PATH}&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
CPPFLAGS=&amp;quot;-DSINGLE_THREADED $CPPFLAGS&amp;quot;&lt;br /&gt;
&lt;br /&gt;
export PATH&lt;br /&gt;
export PKG_CONFIG_PATH&lt;br /&gt;
export CPPFLAGS&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save OpenEXR build script as &amp;lt;code&amp;gt;C:\mingw\msys\1.0\home\&amp;lt;windows login&amp;gt;\synfig\make_openexr.sh&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Making OpenEXR...&amp;quot;&lt;br /&gt;
# Including configuration&lt;br /&gt;
if [ -r &amp;quot;./synbuild.conf&amp;quot; ]; then&lt;br /&gt;
  . ./synbuild.conf&lt;br /&gt;
else&lt;br /&gt;
  echo &amp;quot;No config file for synfig build (./synbuild.conf) found.&amp;quot;&lt;br /&gt;
  exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
CURRENT_DIR=`pwd`&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Cleanup directories&amp;quot;&lt;br /&gt;
rm -rf ${SYN_BUILD_DIR}/ilmbase-${SYN_ILMBASE_VERSION}&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
rm -rf ${SYN_TEMP_INSTALL}/ilmbase&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
rm -rf ${SYN_BUILD_DIR}/openexr-${SYN_OPENEXR_VERSION}&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
rm -rf ${SYN_TEMP_INSTALL}/openexr&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Preparing sources&amp;quot;&lt;br /&gt;
echo PATH is $PATH&lt;br /&gt;
echo tar -xzf ${SYN_ILMBASE_SRC} -C ${SYN_BUILD_DIR}&lt;br /&gt;
tar -xzf ${SYN_ILMBASE_SRC} -C ${SYN_BUILD_DIR}&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
echo tar -xzf ${SYN_OPENEXR_SRC} -C ${SYN_BUILD_DIR}&lt;br /&gt;
tar -xzf ${SYN_OPENEXR_SRC} -C ${SYN_BUILD_DIR}&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Applying patches for ILMBase... &amp;quot;&lt;br /&gt;
cd  ${SYN_BUILD_DIR}/ilmbase-${SYN_ILMBASE_VERSION}&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
for SFILE in ${ILMBASE_PATCHES[@]}&lt;br /&gt;
do&lt;br /&gt;
  patch -p1 &amp;lt;${SYN_FILEZ_DIR}/${SFILE}&lt;br /&gt;
  [ $? -eq 0 ] || exit 1&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Configuring ILMbase&amp;quot;&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
./configure --host=${MINGW_HOST} --cache-file=${SYN_FILEZ_DIR}/config-cache --prefix=${SYN_TEMP_INSTALL}/openexr \&lt;br /&gt;
  --disable-static --disable-threading --disable-posix-sem&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Making&amp;quot;&lt;br /&gt;
make&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
make install&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
echo &amp;quot;ILMBase Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Applying patches for OpenEXR... &amp;quot;&lt;br /&gt;
cd  ${SYN_BUILD_DIR}/openexr-${SYN_OPENEXR_VERSION}&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
for SFILE in ${OPENEXR_PATCHES[@]}&lt;br /&gt;
do&lt;br /&gt;
  patch -p1 &amp;lt;${SYN_FILEZ_DIR}/${SFILE}&lt;br /&gt;
  [ $? -eq 0 ] || exit 1&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
# Now the temp/openexr dir exists, we can add it to paths&lt;br /&gt;
if [ -d &amp;quot;${SYN_TEMP_INSTALL}/openexr&amp;quot; ]; then&lt;br /&gt;
  PATH=&amp;quot;${SYN_TEMP_INSTALL}/openexr/bin:${PATH}&amp;quot;&lt;br /&gt;
  PKG_CONFIG_PATH=&amp;quot;${SYN_TEMP_INSTALL}/openexr/lib/pkgconfig:${PKG_CONFIG_PATH}&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
export PATH&lt;br /&gt;
export PKG_CONFIG_PATH&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Configuring OpenEXR&amp;quot;&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
./configure --host=${MINGW_HOST} --cache-file=${SYN_FILEZ_DIR}/config-cache --prefix=${SYN_TEMP_INSTALL}/openexr \&lt;br /&gt;
  --disable-static --disable-threading --disable-posix-sem  --disable-ilmbasetest&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;separately build b44ExpLogTable as the openexr script doesn't work under msys&amp;quot;&lt;br /&gt;
cd  ${SYN_BUILD_DIR}/openexr-${SYN_OPENEXR_VERSION}/IlmImf&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
mingw32-g++ --verbose -g -O2 -I${SYN_TEMP_INSTALL}/openexr/include/OpenEXR -L${SYN_TEMP_INSTALL}/openexr/lib b44ExpLogTable.cpp  -lHalf -o b44ExpLogTable&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
cd ..&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Making&amp;quot;&lt;br /&gt;
make&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
make install&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
cd ${CURRENT_DIR}&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
# rm -rf ${SYN_BUILD_DIR}/openexr-${SYN_OPENEXR_VERSION}&lt;br /&gt;
# [ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done: OpenEXR&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save ETL build script as &amp;lt;code&amp;gt;C:\mingw\msys\1.0\home\&amp;lt;windows login&amp;gt;\synfig\make_etl.sh&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Making ETL...&amp;quot;&lt;br /&gt;
# Including configuration&lt;br /&gt;
if [ -r &amp;quot;./synbuild.conf&amp;quot; ]; then&lt;br /&gt;
  . ./synbuild.conf&lt;br /&gt;
else&lt;br /&gt;
  echo &amp;quot;No config file for synfig build (./synbuild.conf) found.&amp;quot;&lt;br /&gt;
  exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
CURRENT_DIR=`pwd`&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Cleanup directories&amp;quot;&lt;br /&gt;
rm -rf ${SYN_BUILD_DIR}/ETL&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
rm -rf ${SYN_TEMP_INSTALL}/ETL&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Preparing sources&amp;quot;&lt;br /&gt;
mkdir  ${SYN_BUILD_DIR}/ETL&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
cp -R ${SYN_SOURCE_DIR}/ETL/*  ${SYN_BUILD_DIR}/ETL/&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
cp -R ${SYN_SOURCE_DIR}/ETL/.svn  ${SYN_BUILD_DIR}/ETL/&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Applying patches...&amp;quot;&lt;br /&gt;
cd  ${SYN_BUILD_DIR}/ETL&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
for SFILE in ${ETL_PATCHES[@]}&lt;br /&gt;
do&lt;br /&gt;
  patch -p1 &amp;lt;${SYN_FILEZ_DIR}/${SFILE}&lt;br /&gt;
  [ $? -eq 0 ] || exit 1&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Configuring&amp;quot;&lt;br /&gt;
autoreconf -if&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
./configure --host=${MINGW_HOST} --cache-file=${SYN_FILEZ_DIR}/config-cache --prefix=${SYN_TEMP_INSTALL}/ETL&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Making&amp;quot;&lt;br /&gt;
make install&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
cd ${CURRENT_DIR}&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
rm -rf ${SYN_BUILD_DIR}/ETL&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done: ETL&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save Synfig Core build script as &amp;lt;code&amp;gt;C:\mingw\msys\1.0\home\&amp;lt;windows login&amp;gt;\synfig\make_core.sh&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Making Synfig-Core...&amp;quot;&lt;br /&gt;
# Including configuration&lt;br /&gt;
if [ -r &amp;quot;./synbuild.conf&amp;quot; ]; then&lt;br /&gt;
  . ./synbuild.conf&lt;br /&gt;
else&lt;br /&gt;
  echo &amp;quot;No config file for synfig build (./synbuild.conf) found.&amp;quot;&lt;br /&gt;
  exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
CURRENT_DIR=`pwd`&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Cleanup directories&amp;quot;&lt;br /&gt;
rm -rf ${SYN_BUILD_DIR}/synfig-core&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
rm -rf ${SYN_TEMP_INSTALL}/synfig-devel&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Preparing sources&amp;quot;&lt;br /&gt;
mkdir ${SYN_BUILD_DIR}/synfig-core&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
cp -R ${SYN_SOURCE_DIR}/synfig-core/* ${SYN_BUILD_DIR}/synfig-core/&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
cp -R ${SYN_SOURCE_DIR}/synfig-core/.svn ${SYN_BUILD_DIR}/synfig-core/&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Applying patches...&amp;quot;&lt;br /&gt;
cd  ${SYN_BUILD_DIR}/synfig-core&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
for SFILE in ${SYNCORE_PATCHES[@]}&lt;br /&gt;
do&lt;br /&gt;
  patch -p1 &amp;lt;${SYN_FILEZ_DIR}/${SFILE}&lt;br /&gt;
  [ $? -eq 0 ] || exit 1&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Configuring&amp;quot;&lt;br /&gt;
libtoolize --ltdl --copy -f&lt;br /&gt;
autoreconf -if&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
mkdir win32build&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
cd win32build&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
if [ &amp;quot;$SYN_CORE_DEBUG_BUILD&amp;quot; == &amp;quot;yes&amp;quot; ]; then&lt;br /&gt;
  ../configure --host=${MINGW_HOST} --cache-file=${SYN_FILEZ_DIR}/config-cache --prefix=C:/PROGRA~1/Synfig --disable-optimization --enable-debug&lt;br /&gt;
  [ $? -eq 0 ] || exit 1&lt;br /&gt;
else&lt;br /&gt;
  ../configure --host=${MINGW_HOST} --cache-file=${SYN_FILEZ_DIR}/config-cache --prefix=C:/PROGRA~1/Synfig --enable-optimization=1 --disable-debug&lt;br /&gt;
  [ $? -eq 0 ] || exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Making&amp;quot;&lt;br /&gt;
# libtool hack patch [begin]&lt;br /&gt;
patch -p2 &amp;lt;${SYN_FILEZ_DIR}/synfig-core-hack-libtool.patch&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
# libtool hack patch [end]&lt;br /&gt;
make package&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
mv ./synfig-*.exe ${CURRENT_DIR}/&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
make clean&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
# auto build hack installation [begin]&lt;br /&gt;
make install prefix=${SYN_TEMP_INSTALL}/synfig-devel&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
# auto build hack installation [end]&lt;br /&gt;
cd ${CURRENT_DIR}&lt;br /&gt;
&lt;br /&gt;
# auto build hack patch [begin]&lt;br /&gt;
echo &amp;quot;Postprocessing&amp;quot;&lt;br /&gt;
SYN_SED_PATH=`echo ${SYN_TEMP_INSTALL}/synfig-devel | sed -e 's/\//\\\\\//g'`&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
mv ${SYN_TEMP_INSTALL}/synfig-devel/bin/synfig-config ${SYN_TEMP_INSTALL}/synfig-devel/bin/synfig-config.tmp&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
sed -e &amp;quot;s/C:\/PROGRA~1\\/Synfig/${SYN_SED_PATH}/g&amp;quot; \&lt;br /&gt;
  ${SYN_TEMP_INSTALL}/synfig-devel/bin/synfig-config.tmp &amp;gt;${SYN_TEMP_INSTALL}/synfig-devel/bin/synfig-config&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
rm -f ${SYN_TEMP_INSTALL}/synfig-devel/bin/synfig-config.tmp&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
mv ${SYN_TEMP_INSTALL}/synfig-devel/lib/pkgconfig/synfig.pc ${SYN_TEMP_INSTALL}/synfig-devel/lib/pkgconfig/synfig.pc.tmp&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
sed -e &amp;quot;s/C:\/PROGRA~1\\/Synfig/${SYN_SED_PATH}/g&amp;quot; \&lt;br /&gt;
  ${SYN_TEMP_INSTALL}/synfig-devel/lib/pkgconfig/synfig.pc.tmp &amp;gt;${SYN_TEMP_INSTALL}/synfig-devel/lib/pkgconfig/synfig.pc&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
rm -f ${SYN_TEMP_INSTALL}/synfig-devel/lib/pkgconfig/synfig.pc.tmp&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
# auto build hack patch [end]&lt;br /&gt;
&lt;br /&gt;
rm -rf ${SYN_BUILD_DIR}/synfig-core&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done: synfig-core&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save Synfig Studio build script as &amp;lt;code&amp;gt;C:\msys\1.0\home\&amp;lt;windows login&amp;gt;\synfig\make_studio.sh&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Making Synfig-Studio...&amp;quot;&lt;br /&gt;
# Including configuration&lt;br /&gt;
if [ -r &amp;quot;./synbuild.conf&amp;quot; ]; then&lt;br /&gt;
  . ./synbuild.conf&lt;br /&gt;
else&lt;br /&gt;
  echo &amp;quot;No config file for synfig build (./synbuild.conf) found.&amp;quot;&lt;br /&gt;
  exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
CURRENT_DIR=`pwd`&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Cleanup directories&amp;quot;&lt;br /&gt;
rm -rf ${SYN_BUILD_DIR}/synfig-studio&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Preparing sources&amp;quot;&lt;br /&gt;
mkdir ${SYN_BUILD_DIR}/synfig-studio&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
cp -R ${SYN_SOURCE_DIR}/synfig-studio/* ${SYN_BUILD_DIR}/synfig-studio/&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
cp -R ${SYN_SOURCE_DIR}/synfig-studio/.svn ${SYN_BUILD_DIR}/synfig-studio/&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Applying patches...&amp;quot;&lt;br /&gt;
cd  ${SYN_BUILD_DIR}/synfig-studio&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
for SFILE in ${SYNSTUDIO_PATCHES[@]}&lt;br /&gt;
do&lt;br /&gt;
  patch -p1 &amp;lt;${SYN_FILEZ_DIR}/${SFILE}&lt;br /&gt;
  [ $? -eq 0 ] || exit 1&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Configuring&amp;quot;&lt;br /&gt;
autoreconf -if&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
mkdir win32build&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
cd win32build&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
if [ &amp;quot;$SYN_STUDIO_DEBUG_BUILD&amp;quot; == &amp;quot;yes&amp;quot; ]; then&lt;br /&gt;
  ../configure --host=${MINGW_HOST} --cache-file=${SYN_FILEZ_DIR}/config-cache --prefix=C:/PROGRA~1/Synfig --disable-optimization --enable-debug&lt;br /&gt;
  [ $? -eq 0 ] || exit 1&lt;br /&gt;
else&lt;br /&gt;
  ../configure --host=${MINGW_HOST} --cache-file=${SYN_FILEZ_DIR}/config-cache --prefix=C:/PROGRA~1/Synfig --enable-optimization=1 --disable-debug&lt;br /&gt;
  [ $? -eq 0 ] || exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Making&amp;quot;&lt;br /&gt;
make package&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
mv ./synfigstudio-*.exe ${CURRENT_DIR}/&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
cd ${CURRENT_DIR}&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
rm -rf ${SYN_BUILD_DIR}/synfig-studio&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done: synfig-studio&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===_src directory===&lt;br /&gt;
Go to the &amp;lt;code&amp;gt;C:\msys\1.0\home\&amp;lt;windows login&amp;gt;\synfig\_src&amp;lt;/code&amp;gt; directory. Get the latest sources of Synfig from its repository.&lt;br /&gt;
&lt;br /&gt;
:: &amp;lt;code&amp;gt;'''$ svn co &amp;lt;nowiki&amp;gt;https://synfig.svn.sourceforge.net/svnroot/synfig/ETL/trunk/&amp;amp;nbsp;&amp;lt;/nowiki&amp;gt; ETL'''&amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
:: &amp;lt;code&amp;gt;'''$ svn co &amp;lt;nowiki&amp;gt;https://synfig.svn.sourceforge.net/svnroot/synfig/synfig-core/trunk/&amp;amp;nbsp;&amp;lt;/nowiki&amp;gt; synfig-core'''&amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
:: &amp;lt;code&amp;gt;'''$ svn co &amp;lt;nowiki&amp;gt;https://synfig.svn.sourceforge.net/svnroot/synfig/synfig-studio/trunk/&amp;amp;nbsp;&amp;lt;/nowiki&amp;gt; synfig-studio'''&amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The commands have a space between the URL address and the third paramater, it's easy to miss it. There should be three, space separated, paramaters in total after the &amp;quot;'''svn'''&amp;quot; command.&lt;br /&gt;
&lt;br /&gt;
Download the current stable [http://www.openexr.com/ OpenEXR] version from:&lt;br /&gt;
&lt;br /&gt;
* http://download.savannah.gnu.org/releases-noredirect/openexr/ilmbase-1.0.1.tar.gz (452 KB)&lt;br /&gt;
* http://download.savannah.gnu.org/releases-noredirect/openexr/openexr-1.6.1.tar.gz (13 MB)&lt;br /&gt;
&lt;br /&gt;
Finally, you must have three directories (ETL, synfig-core and synfig-studio) and the ilmbase-1.0.1.tar.gz &amp;amp; openexr-1.6.1.tar.gz files in your &amp;lt;code&amp;gt;'''_src'''&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
The scripts also create &amp;lt;code&amp;gt;C:\msys\1.0\home\&amp;lt;windows login&amp;gt;\synfig\_filez\config-cache&amp;lt;/code&amp;gt;. To avoid the delay due to configuration autodetection keep this file until your build environment changes (i.e. you change some file related to MingW/msys, not Synfig).&lt;br /&gt;
&lt;br /&gt;
===_filez directory===&lt;br /&gt;
Save the following text as &amp;lt;code&amp;gt;'''C:\msys\1.0\home\&amp;lt;windows login&amp;gt;\synfig\_filez\synfig-core-hack-libtool.patch'''&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
diff -Nuar synfig-core.orig/win32build/libtool synfig-core/win32build/libtool&lt;br /&gt;
--- synfig-core.orig/win32build/libtool	Wed Feb  7 21:52:34 2007&lt;br /&gt;
+++ synfig-core/win32build/libtool	Wed Feb  7 21:57:12 2007&lt;br /&gt;
@@ -2805,7 +2805,7 @@&lt;br /&gt;
 	  fi&lt;br /&gt;
 	elif test &amp;quot;$build_libtool_libs&amp;quot; = yes; then&lt;br /&gt;
 	  # Not a shared library&lt;br /&gt;
-	  if test &amp;quot;$deplibs_check_method&amp;quot; != pass_all; then&lt;br /&gt;
+	  if test &amp;quot;$deplibs_check_method&amp;quot; != pass_all &amp;amp;&amp;amp; test &amp;quot;$old_library&amp;quot; != &amp;quot;libltdl.a&amp;quot;; then&lt;br /&gt;
 	    # We're trying link a shared library against a static one&lt;br /&gt;
 	    # but the system doesn't support it.&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then save the following as &amp;lt;code&amp;gt;'''C:\msys\1.0\home\&amp;lt;windows login&amp;gt;\synfig\_filez\ilmbase-1.0.1-makefile.patch'''&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
diff -Nuar ilmbase-1.0.1.orig/IlmThread/Makefile.in ilmbase-1.0.1/IlmThread/Makefile.in&lt;br /&gt;
--- ilmbase-1.0.1.orig/IlmThread/Makefile.in	Tue Oct  9 14:28:29 2007&lt;br /&gt;
+++ ilmbase-1.0.1/IlmThread/Makefile.in	Sat Aug 16 18:35:08 2008&lt;br /&gt;
@@ -64,7 +64,8 @@&lt;br /&gt;
 am_libIlmThread_la_OBJECTS = IlmThreadPool.lo IlmThread.lo \&lt;br /&gt;
 	IlmThreadSemaphore.lo IlmThreadMutex.lo IlmThreadPosix.lo \&lt;br /&gt;
 	IlmThreadSemaphorePosix.lo IlmThreadSemaphorePosixCompat.lo \&lt;br /&gt;
-	IlmThreadMutexPosix.lo&lt;br /&gt;
+	IlmThreadMutexPosix.lo IlmThreadWin32.lo IlmThreadSemaphoreWin32.lo \&lt;br /&gt;
+	IlmThreadMutexWin32.lo&lt;br /&gt;
 libIlmThread_la_OBJECTS = $(am_libIlmThread_la_OBJECTS)&lt;br /&gt;
 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/config&lt;br /&gt;
 depcomp = $(SHELL) $(top_srcdir)/depcomp&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally save the following as &amp;lt;code&amp;gt;'''C:\msys\1.0\home\&amp;lt;windows login&amp;gt;\synfig\_filez\ilmbase-1.0.1-pkgconfig.patch'''&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
diff -Nuar ilmbase-1.0.1.orig/IlmBase.pc.in ilmbase-1.0.1/IlmBase.pc.in&lt;br /&gt;
--- ilmbase-1.0.1.orig/IlmBase.pc.in	Wed Dec 13 14:55:53 2006&lt;br /&gt;
+++ ilmbase-1.0.1/IlmBase.pc.in	Sat Aug 16 21:06:27 2008&lt;br /&gt;
@@ -7,5 +7,5 @@&lt;br /&gt;
 Name: IlmBase&lt;br /&gt;
 Description: Base math and exception libraries&lt;br /&gt;
 Version: @ILMBASE_VERSION@&lt;br /&gt;
-Libs: -L${libdir} -lImath -lHalf -lIex -lIlmThread @PTHREAD_LIBS@&lt;br /&gt;
-Cflags: @PTHREAD_CFLAGS@ -I${OpenEXR_includedir}&lt;br /&gt;
+Libs: -L${libdir} -lImath -lHalf -lIex -lIlmThread&lt;br /&gt;
+Cflags: -I@includedir@ -I${OpenEXR_includedir}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;s&amp;gt;Last but not least, prior to SVN 2055, the Windows installer files need patching - http://patches.synfig.org/r/3/&amp;lt;/s&amp;gt; -- ''(it's been done)''.&lt;br /&gt;
&lt;br /&gt;
(Acknowledgment to the writer of http://qtpfsgui.wiki.sourceforge.net/Compiling+on+Windows for the tip on the b44ExpLogTable file in OpenEXR)&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
This section describes the parameters of &amp;lt;code&amp;gt;synbuild.conf&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
===Files and Directories===&lt;br /&gt;
As you can see in this section you can define the path and name of the special directories (with sources, patches and temporary directories). If you install the build scripts as written above, there is nothing to change.&lt;br /&gt;
&lt;br /&gt;
Also this section contains the path and version of the OpenEXR source files.&lt;br /&gt;
&lt;br /&gt;
===External tools===&lt;br /&gt;
In this section you need to define the path to the executable files of the three auxiliary packages: ImageMagick, Subversion and NSIS. ImageMagick and Subversion binaries are located using the PATH environment variable, but their paths are added to the end of the path list and so we can get name collisions. For example, the ImageMagick &amp;quot;convert&amp;quot; tool has the same name as the &amp;quot;convert&amp;quot; tool from Borland Delphi Explorer, which may have been installed before ImageMagick.&lt;br /&gt;
&lt;br /&gt;
===Build setup===&lt;br /&gt;
'''MINGW_HOST''' - host parameter of &amp;quot;configure&amp;quot; script. Do not change it.&lt;br /&gt;
&lt;br /&gt;
'''SYN_CORE_DEBUG_BUILD''' - if &amp;quot;yes&amp;quot;, Synfig Core will be made with debug info.&lt;br /&gt;
&lt;br /&gt;
'''SYN_STUDIO_DEBUG_BUILD''' - if &amp;quot;yes&amp;quot;, Synfig Studio will be made with debug info.&lt;br /&gt;
&lt;br /&gt;
===Patches===&lt;br /&gt;
In this section you can find a number of patch definition blocks, looking like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table style=&amp;quot;padding: 1em; border: 1px dashed #2f6fab; color: Black; background-color: #f9f9f9; line-height: 1.1em;&amp;quot;&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;# ETL patches&lt;br /&gt;
ETL_PATCHES=$(cat &amp;lt;&amp;lt;:END_ETL:&lt;br /&gt;
:END_ETL:)&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, if you place any filenames of patches between '':END_ETL:'' blocks, it will be applied before the configuration of ETL. Patch files need to be stored in the &amp;lt;code&amp;gt;_filez&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
This section is useful if you want to test your own patches before sending them to the Synfig developers.&lt;br /&gt;
&lt;br /&gt;
===Autoconfiguration===&lt;br /&gt;
This section contatins code which sets up the required environment variables and (by default) there is no need to change anything.&lt;br /&gt;
&lt;br /&gt;
==Build Order==&lt;br /&gt;
Note: If you want build synfig without slowing down other tasks running on the same machine while the build takes place, open a single msys session, then open &amp;quot;Task Manager&amp;quot;, search for the ''sh.exe'' process and set its priority to &amp;quot;Below normal&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note: Running an on-access antivirus scanner can dramatically decrease compilation speed.&lt;br /&gt;
&lt;br /&gt;
===OpenEXR===&lt;br /&gt;
This package needs to be built only once. A rebuild is only required if you get a new version or want to apply a new patch to it or you update the compiler and it is incompatible with the previous binaries.&lt;br /&gt;
&lt;br /&gt;
In your msys console go to the &amp;lt;code&amp;gt;C:\msys\1.0\home\&amp;lt;windows login&amp;gt;\synfig&amp;lt;/code&amp;gt; directory by typing:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;nowiki&amp;gt;$ cd ~/synfig&amp;lt;/nowiki&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;nowiki&amp;gt;$ ./make_openexr.sh&amp;lt;/nowiki&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Wait for the &amp;quot;Done: OpenEXR&amp;quot; message.&lt;br /&gt;
&lt;br /&gt;
===ETL===&lt;br /&gt;
Rebuild it when you get a new version of Synfig.&lt;br /&gt;
&lt;br /&gt;
In your msys console go to the &amp;lt;code&amp;gt;C:\msys\1.0\home\&amp;lt;windows login&amp;gt;\synfig&amp;lt;/code&amp;gt; directory by typing:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;nowiki&amp;gt;$ cd ~/synfig&amp;lt;/nowiki&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;nowiki&amp;gt;$ ./make_etl.sh&amp;lt;/nowiki&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Wait for the &amp;quot;Done: ETL&amp;quot; message.&lt;br /&gt;
&lt;br /&gt;
===Synfig Core===&lt;br /&gt;
Rebuild it when you get a new version of Synfig.&lt;br /&gt;
&lt;br /&gt;
In your msys console go to the &amp;lt;code&amp;gt;C:\msys\1.0\home\&amp;lt;windows login&amp;gt;\synfig&amp;lt;/code&amp;gt; directory by typing:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;nowiki&amp;gt;$ cd ~/synfig&amp;lt;/nowiki&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;nowiki&amp;gt;$ ./make_core.sh&amp;lt;/nowiki&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Wait for the &amp;quot;Done: synfig-core&amp;quot; message. It can take a long time. The Synfig Core installer will be moved into the current directory.&lt;br /&gt;
&lt;br /&gt;
===Synfig Studio===&lt;br /&gt;
Rebuild it when you get a new version of Synfig.&lt;br /&gt;
&lt;br /&gt;
In your msys console go to the &amp;lt;code&amp;gt;C:\msys\1.0\home\&amp;lt;windows login&amp;gt;\synfig&amp;lt;/code&amp;gt; directory by typing:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;nowiki&amp;gt;$ cd ~/synfig&amp;lt;/nowiki&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;nowiki&amp;gt;$ ./make_studio.sh&amp;lt;/nowiki&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Wait for the &amp;quot;Done: synfig-studio&amp;quot; message. It can take a long time. The Synfig Studio installer will be moved into the current directory.&lt;br /&gt;
&lt;br /&gt;
==Additional tools==&lt;br /&gt;
These tools are not required to build Synfig, but they can help in the debugging process.&lt;br /&gt;
&lt;br /&gt;
P.S. Post this later. ;-)&lt;br /&gt;
&lt;br /&gt;
(Atrus - keen to hear what you recommend for debug.  Also any debug processes you go through to fix the bugs.  There's several bugs (mainly preview rendering) that I see under the current builds of Windows that are not under Linux or the old 0.61.05 for Windows - Pxegeek 2/7/07)&lt;br /&gt;
&lt;br /&gt;
{{Category|Windows}}&lt;/div&gt;</summary>
		<author><name>Milleja46</name></author>	</entry>

	<entry>
		<id>https://www.wiki.synfig.org/index.php?title=Dev:Building_on_Windows&amp;diff=13553</id>
		<title>Dev:Building on Windows</title>
		<link rel="alternate" type="text/html" href="https://www.wiki.synfig.org/index.php?title=Dev:Building_on_Windows&amp;diff=13553"/>
				<updated>2011-01-25T01:28:46Z</updated>
		
		<summary type="html">&lt;p&gt;Milleja46: /* Directories */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--Categories--&amp;gt;&lt;br /&gt;
{{Category|Building}}&lt;br /&gt;
&lt;br /&gt;
==Directories==&lt;br /&gt;
If you didn't already install Mingw, {{l|Mingw installation|this page}} will guide you through the process.&lt;br /&gt;
&lt;br /&gt;
If you didn't already start an msys session, do so now. Just double click the MSYS shortcut or run &amp;lt;code&amp;gt;'''C:\mingw\msys\1.0\msys.bat'''&amp;lt;/code&amp;gt;. An msys session will be opened, creating your profile directory at &amp;lt;code&amp;gt;'''C:\mingw\msys\1.0\home\&amp;lt;windows login&amp;gt;'''&amp;lt;/code&amp;gt;. As you can see, MinGW uses your windows login as the user name in its fake UNIX environment. Be careful, I've not checked whether it works with non latin-character account names.&lt;br /&gt;
&lt;br /&gt;
Now, use explorer or your favorite file manager and go to &amp;lt;code&amp;gt;'''C:\mingw\msys\1.0\home\&amp;lt;windows login&amp;gt;'''&amp;lt;/code&amp;gt;. Create a directory there for all Synfig operations. For example, let it be &amp;lt;code&amp;gt;'''synfig'''&amp;lt;/code&amp;gt;. Go into this directory.&lt;br /&gt;
&lt;br /&gt;
Ok, now you are at &amp;lt;code&amp;gt;'''C:\msys\1.0\home\&amp;lt;windows login&amp;gt;\synfig'''&amp;lt;/code&amp;gt;. Create four directories here:&lt;br /&gt;
* &amp;lt;code&amp;gt;'''_filez'''&amp;lt;/code&amp;gt;, for patches (and maybe later, additional files).&lt;br /&gt;
* &amp;lt;code&amp;gt;'''_src'''&amp;lt;/code&amp;gt;, for program sources.&lt;br /&gt;
* &amp;lt;code&amp;gt;'''build'''&amp;lt;/code&amp;gt;, for building programs.&lt;br /&gt;
* &amp;lt;code&amp;gt;'''temp'''&amp;lt;/code&amp;gt;, for local installation programs and libraries, which are required for building synfig. (For example: ETL, synfig (core for studio), OpenEXR, etc...)&lt;br /&gt;
&lt;br /&gt;
Of course, you can choose your own name for all the directories and choose their locations. All you need then is to set a new path in the configuration file. But for now we choose the easy way.&lt;br /&gt;
&lt;br /&gt;
==Files==&lt;br /&gt;
Save this configuration file as &amp;lt;code&amp;gt;C:\msys\1.0\home\&amp;lt;windows login&amp;gt;\synfig\synbuild.conf&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
# Synfig for Win32 build configuration script.&lt;br /&gt;
############################################################################&lt;br /&gt;
# 1. Files and Directories&lt;br /&gt;
&lt;br /&gt;
# Uncompressed Synfig svn snapshots and another package sources&lt;br /&gt;
SYN_SOURCE_DIR=`dirname ~/.`&amp;quot;/synfig/_src&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Directory additional files (patches f.e.)&lt;br /&gt;
SYN_FILEZ_DIR=`dirname ~/.`&amp;quot;/synfig/_filez&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Temporary installations (ETL headers, synfig binaries for icon and image making)&lt;br /&gt;
SYN_TEMP_INSTALL=`dirname ~/.`&amp;quot;/synfig/temp&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Build directory&lt;br /&gt;
SYN_BUILD_DIR=`dirname ~/.`&amp;quot;/synfig/build&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# OpenEXR source package&lt;br /&gt;
SYN_ILMBASE_VERSION=&amp;quot;1.0.1&amp;quot;&lt;br /&gt;
SYN_ILMBASE_SRC=&amp;quot;${SYN_SOURCE_DIR}/ilmbase-${SYN_ILMBASE_VERSION}.tar.gz&amp;quot;&lt;br /&gt;
SYN_OPENEXR_VERSION=&amp;quot;1.6.1&amp;quot;&lt;br /&gt;
SYN_OPENEXR_SRC=&amp;quot;${SYN_SOURCE_DIR}/openexr-${SYN_OPENEXR_VERSION}.tar.gz&amp;quot;&lt;br /&gt;
&lt;br /&gt;
#############################################################################&lt;br /&gt;
# 2. External tools&lt;br /&gt;
&lt;br /&gt;
# Path to ImageMagick directory.&lt;br /&gt;
SYN_IMAGEMAGICK_PATH=&amp;quot;/C/Program Files/ImageMagick&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Path to Subversion bin directory.&lt;br /&gt;
SYN_SUBVERSION_PATH=&amp;quot;/C/Program Files/Subversion/bin&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Path to NSIS directory with makensis.exe file.&lt;br /&gt;
SYN_NSIS_PATH=&amp;quot;/C/Program Files/NSIS&amp;quot;&lt;br /&gt;
&lt;br /&gt;
#############################################################################&lt;br /&gt;
# 3. Build setup&lt;br /&gt;
&lt;br /&gt;
# Build host&lt;br /&gt;
MINGW_HOST=&amp;quot;mingw32&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Make debug build of Synfig Core&lt;br /&gt;
SYN_CORE_DEBUG_BUILD=&amp;quot;no&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Make debug build of Synfig Studio&lt;br /&gt;
SYN_STUDIO_DEBUG_BUILD=&amp;quot;no&amp;quot;&lt;br /&gt;
#WITH_FMOD=&amp;quot;yes&amp;quot;&lt;br /&gt;
&lt;br /&gt;
#############################################################################&lt;br /&gt;
# 4. Patches (you can place here any additional patches)&lt;br /&gt;
&lt;br /&gt;
# ETL patches&lt;br /&gt;
ETL_PATCHES=$(cat &amp;lt;&amp;lt;:END_ETL:&lt;br /&gt;
:END_ETL:)&lt;br /&gt;
&lt;br /&gt;
# Synfig Core patches&lt;br /&gt;
SYNCORE_PATCHES=$(cat &amp;lt;&amp;lt;:END_SYNCORE:&lt;br /&gt;
:END_SYNCORE:)&lt;br /&gt;
&lt;br /&gt;
# Sunfig Studio patches&lt;br /&gt;
SYNSTUDIO_PATCHES=$(cat &amp;lt;&amp;lt;:END_SYNSTUDIO:&lt;br /&gt;
:END_SYNSTUDIO:)&lt;br /&gt;
&lt;br /&gt;
# OpenEXR ILMBase patches&lt;br /&gt;
&lt;br /&gt;
ILMBASE_PATCHES=$(cat &amp;lt;&amp;lt;:END_ILMBASE:&lt;br /&gt;
ilmbase-1.0.1-makefile.patch&lt;br /&gt;
ilmbase-1.0.1-pkgconfig.patch&lt;br /&gt;
:END_ILMBASE:)&lt;br /&gt;
&lt;br /&gt;
# OpenEXR patches&lt;br /&gt;
#openexr-1.4.0-pkgconfig.patch&lt;br /&gt;
#openexr-1.4.0-mingw32.patch&lt;br /&gt;
OPENEXR_PATCHES=$(cat &amp;lt;&amp;lt;:END_OPENEXR:&lt;br /&gt;
:END_OPENEXR:)&lt;br /&gt;
&lt;br /&gt;
#############################################################################&lt;br /&gt;
# 5. Autoconfiguration&lt;br /&gt;
&lt;br /&gt;
if [ &amp;quot;$GTK_BASEPATH&amp;quot; ]; then&lt;br /&gt;
  CPPFLAGS=&amp;quot;-I${GTK_BASEPATH}/include $CPPFLAGS&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
if [ &amp;quot;$SYN_IMAGEMAGICK_PATH&amp;quot; ]; then&lt;br /&gt;
  PATH=&amp;quot;${SYN_IMAGEMAGICK_PATH}:${PATH}&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
if [ &amp;quot;$SYN_SUBVERSION_PATH&amp;quot; ]; then&lt;br /&gt;
  PATH=&amp;quot;${SYN_SUBVERSION_PATH}:${PATH}&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
if [ &amp;quot;$SYN_NSIS_PATH&amp;quot; ]; then&lt;br /&gt;
  PATH=&amp;quot;${SYN_NSIS_PATH}:${PATH}&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
if [ -d &amp;quot;${SYN_TEMP_INSTALL}/ETL&amp;quot; ]; then&lt;br /&gt;
  PATH=&amp;quot;${SYN_TEMP_INSTALL}/ETL/bin:${PATH}&amp;quot;&lt;br /&gt;
  PKG_CONFIG_PATH=&amp;quot;${SYN_TEMP_INSTALL}/ETL/lib/pkgconfig:${PKG_CONFIG_PATH}&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
if [ -d &amp;quot;${SYN_TEMP_INSTALL}/synfig-devel&amp;quot; ]; then&lt;br /&gt;
  PATH=&amp;quot;${SYN_TEMP_INSTALL}/synfig-devel/bin:${PATH}&amp;quot;&lt;br /&gt;
  PKG_CONFIG_PATH=&amp;quot;${SYN_TEMP_INSTALL}/synfig-devel/lib/pkgconfig:${PKG_CONFIG_PATH}&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
if [ -d &amp;quot;${SYN_TEMP_INSTALL}/openexr&amp;quot; ]; then&lt;br /&gt;
  PATH=&amp;quot;${SYN_TEMP_INSTALL}/openexr/bin:${PATH}&amp;quot;&lt;br /&gt;
  PKG_CONFIG_PATH=&amp;quot;${SYN_TEMP_INSTALL}/openexr/lib/pkgconfig:${PKG_CONFIG_PATH}&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
CPPFLAGS=&amp;quot;-DSINGLE_THREADED $CPPFLAGS&amp;quot;&lt;br /&gt;
&lt;br /&gt;
export PATH&lt;br /&gt;
export PKG_CONFIG_PATH&lt;br /&gt;
export CPPFLAGS&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save OpenEXR build script as &amp;lt;code&amp;gt;C:\msys\1.0\home\&amp;lt;windows login&amp;gt;\synfig\make_openexr.sh&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Making OpenEXR...&amp;quot;&lt;br /&gt;
# Including configuration&lt;br /&gt;
if [ -r &amp;quot;./synbuild.conf&amp;quot; ]; then&lt;br /&gt;
  . ./synbuild.conf&lt;br /&gt;
else&lt;br /&gt;
  echo &amp;quot;No config file for synfig build (./synbuild.conf) found.&amp;quot;&lt;br /&gt;
  exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
CURRENT_DIR=`pwd`&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Cleanup directories&amp;quot;&lt;br /&gt;
rm -rf ${SYN_BUILD_DIR}/ilmbase-${SYN_ILMBASE_VERSION}&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
rm -rf ${SYN_TEMP_INSTALL}/ilmbase&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
rm -rf ${SYN_BUILD_DIR}/openexr-${SYN_OPENEXR_VERSION}&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
rm -rf ${SYN_TEMP_INSTALL}/openexr&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Preparing sources&amp;quot;&lt;br /&gt;
echo PATH is $PATH&lt;br /&gt;
echo tar -xzf ${SYN_ILMBASE_SRC} -C ${SYN_BUILD_DIR}&lt;br /&gt;
tar -xzf ${SYN_ILMBASE_SRC} -C ${SYN_BUILD_DIR}&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
echo tar -xzf ${SYN_OPENEXR_SRC} -C ${SYN_BUILD_DIR}&lt;br /&gt;
tar -xzf ${SYN_OPENEXR_SRC} -C ${SYN_BUILD_DIR}&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Applying patches for ILMBase... &amp;quot;&lt;br /&gt;
cd  ${SYN_BUILD_DIR}/ilmbase-${SYN_ILMBASE_VERSION}&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
for SFILE in ${ILMBASE_PATCHES[@]}&lt;br /&gt;
do&lt;br /&gt;
  patch -p1 &amp;lt;${SYN_FILEZ_DIR}/${SFILE}&lt;br /&gt;
  [ $? -eq 0 ] || exit 1&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Configuring ILMbase&amp;quot;&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
./configure --host=${MINGW_HOST} --cache-file=${SYN_FILEZ_DIR}/config-cache --prefix=${SYN_TEMP_INSTALL}/openexr \&lt;br /&gt;
  --disable-static --disable-threading --disable-posix-sem&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Making&amp;quot;&lt;br /&gt;
make&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
make install&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
echo &amp;quot;ILMBase Done&amp;quot;&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Applying patches for OpenEXR... &amp;quot;&lt;br /&gt;
cd  ${SYN_BUILD_DIR}/openexr-${SYN_OPENEXR_VERSION}&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
for SFILE in ${OPENEXR_PATCHES[@]}&lt;br /&gt;
do&lt;br /&gt;
  patch -p1 &amp;lt;${SYN_FILEZ_DIR}/${SFILE}&lt;br /&gt;
  [ $? -eq 0 ] || exit 1&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
# Now the temp/openexr dir exists, we can add it to paths&lt;br /&gt;
if [ -d &amp;quot;${SYN_TEMP_INSTALL}/openexr&amp;quot; ]; then&lt;br /&gt;
  PATH=&amp;quot;${SYN_TEMP_INSTALL}/openexr/bin:${PATH}&amp;quot;&lt;br /&gt;
  PKG_CONFIG_PATH=&amp;quot;${SYN_TEMP_INSTALL}/openexr/lib/pkgconfig:${PKG_CONFIG_PATH}&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
export PATH&lt;br /&gt;
export PKG_CONFIG_PATH&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Configuring OpenEXR&amp;quot;&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
./configure --host=${MINGW_HOST} --cache-file=${SYN_FILEZ_DIR}/config-cache --prefix=${SYN_TEMP_INSTALL}/openexr \&lt;br /&gt;
  --disable-static --disable-threading --disable-posix-sem  --disable-ilmbasetest&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;separately build b44ExpLogTable as the openexr script doesn't work under msys&amp;quot;&lt;br /&gt;
cd  ${SYN_BUILD_DIR}/openexr-${SYN_OPENEXR_VERSION}/IlmImf&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
mingw32-g++ --verbose -g -O2 -I${SYN_TEMP_INSTALL}/openexr/include/OpenEXR -L${SYN_TEMP_INSTALL}/openexr/lib b44ExpLogTable.cpp  -lHalf -o b44ExpLogTable&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
cd ..&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Making&amp;quot;&lt;br /&gt;
make&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
make install&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
cd ${CURRENT_DIR}&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
# rm -rf ${SYN_BUILD_DIR}/openexr-${SYN_OPENEXR_VERSION}&lt;br /&gt;
# [ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done: OpenEXR&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save ETL build script as &amp;lt;code&amp;gt;C:\msys\1.0\home\&amp;lt;windows login&amp;gt;\synfig\make_etl.sh&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Making ETL...&amp;quot;&lt;br /&gt;
# Including configuration&lt;br /&gt;
if [ -r &amp;quot;./synbuild.conf&amp;quot; ]; then&lt;br /&gt;
  . ./synbuild.conf&lt;br /&gt;
else&lt;br /&gt;
  echo &amp;quot;No config file for synfig build (./synbuild.conf) found.&amp;quot;&lt;br /&gt;
  exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
CURRENT_DIR=`pwd`&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Cleanup directories&amp;quot;&lt;br /&gt;
rm -rf ${SYN_BUILD_DIR}/ETL&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
rm -rf ${SYN_TEMP_INSTALL}/ETL&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Preparing sources&amp;quot;&lt;br /&gt;
mkdir  ${SYN_BUILD_DIR}/ETL&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
cp -R ${SYN_SOURCE_DIR}/ETL/*  ${SYN_BUILD_DIR}/ETL/&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
cp -R ${SYN_SOURCE_DIR}/ETL/.svn  ${SYN_BUILD_DIR}/ETL/&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Applying patches...&amp;quot;&lt;br /&gt;
cd  ${SYN_BUILD_DIR}/ETL&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
for SFILE in ${ETL_PATCHES[@]}&lt;br /&gt;
do&lt;br /&gt;
  patch -p1 &amp;lt;${SYN_FILEZ_DIR}/${SFILE}&lt;br /&gt;
  [ $? -eq 0 ] || exit 1&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Configuring&amp;quot;&lt;br /&gt;
autoreconf -if&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
./configure --host=${MINGW_HOST} --cache-file=${SYN_FILEZ_DIR}/config-cache --prefix=${SYN_TEMP_INSTALL}/ETL&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Making&amp;quot;&lt;br /&gt;
make install&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
cd ${CURRENT_DIR}&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
rm -rf ${SYN_BUILD_DIR}/ETL&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done: ETL&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save Synfig Core build script as &amp;lt;code&amp;gt;C:\msys\1.0\home\&amp;lt;windows login&amp;gt;\synfig\make_core.sh&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Making Synfig-Core...&amp;quot;&lt;br /&gt;
# Including configuration&lt;br /&gt;
if [ -r &amp;quot;./synbuild.conf&amp;quot; ]; then&lt;br /&gt;
  . ./synbuild.conf&lt;br /&gt;
else&lt;br /&gt;
  echo &amp;quot;No config file for synfig build (./synbuild.conf) found.&amp;quot;&lt;br /&gt;
  exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
CURRENT_DIR=`pwd`&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Cleanup directories&amp;quot;&lt;br /&gt;
rm -rf ${SYN_BUILD_DIR}/synfig-core&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
rm -rf ${SYN_TEMP_INSTALL}/synfig-devel&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Preparing sources&amp;quot;&lt;br /&gt;
mkdir ${SYN_BUILD_DIR}/synfig-core&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
cp -R ${SYN_SOURCE_DIR}/synfig-core/* ${SYN_BUILD_DIR}/synfig-core/&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
cp -R ${SYN_SOURCE_DIR}/synfig-core/.svn ${SYN_BUILD_DIR}/synfig-core/&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Applying patches...&amp;quot;&lt;br /&gt;
cd  ${SYN_BUILD_DIR}/synfig-core&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
for SFILE in ${SYNCORE_PATCHES[@]}&lt;br /&gt;
do&lt;br /&gt;
  patch -p1 &amp;lt;${SYN_FILEZ_DIR}/${SFILE}&lt;br /&gt;
  [ $? -eq 0 ] || exit 1&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Configuring&amp;quot;&lt;br /&gt;
libtoolize --ltdl --copy -f&lt;br /&gt;
autoreconf -if&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
mkdir win32build&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
cd win32build&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
if [ &amp;quot;$SYN_CORE_DEBUG_BUILD&amp;quot; == &amp;quot;yes&amp;quot; ]; then&lt;br /&gt;
  ../configure --host=${MINGW_HOST} --cache-file=${SYN_FILEZ_DIR}/config-cache --prefix=C:/PROGRA~1/Synfig --disable-optimization --enable-debug&lt;br /&gt;
  [ $? -eq 0 ] || exit 1&lt;br /&gt;
else&lt;br /&gt;
  ../configure --host=${MINGW_HOST} --cache-file=${SYN_FILEZ_DIR}/config-cache --prefix=C:/PROGRA~1/Synfig --enable-optimization=1 --disable-debug&lt;br /&gt;
  [ $? -eq 0 ] || exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Making&amp;quot;&lt;br /&gt;
# libtool hack patch [begin]&lt;br /&gt;
patch -p2 &amp;lt;${SYN_FILEZ_DIR}/synfig-core-hack-libtool.patch&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
# libtool hack patch [end]&lt;br /&gt;
make package&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
mv ./synfig-*.exe ${CURRENT_DIR}/&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
make clean&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
# auto build hack installation [begin]&lt;br /&gt;
make install prefix=${SYN_TEMP_INSTALL}/synfig-devel&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
# auto build hack installation [end]&lt;br /&gt;
cd ${CURRENT_DIR}&lt;br /&gt;
&lt;br /&gt;
# auto build hack patch [begin]&lt;br /&gt;
echo &amp;quot;Postprocessing&amp;quot;&lt;br /&gt;
SYN_SED_PATH=`echo ${SYN_TEMP_INSTALL}/synfig-devel | sed -e 's/\//\\\\\//g'`&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
mv ${SYN_TEMP_INSTALL}/synfig-devel/bin/synfig-config ${SYN_TEMP_INSTALL}/synfig-devel/bin/synfig-config.tmp&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
sed -e &amp;quot;s/C:\/PROGRA~1\\/Synfig/${SYN_SED_PATH}/g&amp;quot; \&lt;br /&gt;
  ${SYN_TEMP_INSTALL}/synfig-devel/bin/synfig-config.tmp &amp;gt;${SYN_TEMP_INSTALL}/synfig-devel/bin/synfig-config&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
rm -f ${SYN_TEMP_INSTALL}/synfig-devel/bin/synfig-config.tmp&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
mv ${SYN_TEMP_INSTALL}/synfig-devel/lib/pkgconfig/synfig.pc ${SYN_TEMP_INSTALL}/synfig-devel/lib/pkgconfig/synfig.pc.tmp&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
sed -e &amp;quot;s/C:\/PROGRA~1\\/Synfig/${SYN_SED_PATH}/g&amp;quot; \&lt;br /&gt;
  ${SYN_TEMP_INSTALL}/synfig-devel/lib/pkgconfig/synfig.pc.tmp &amp;gt;${SYN_TEMP_INSTALL}/synfig-devel/lib/pkgconfig/synfig.pc&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
rm -f ${SYN_TEMP_INSTALL}/synfig-devel/lib/pkgconfig/synfig.pc.tmp&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
# auto build hack patch [end]&lt;br /&gt;
&lt;br /&gt;
rm -rf ${SYN_BUILD_DIR}/synfig-core&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done: synfig-core&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Save Synfig Studio build script as &amp;lt;code&amp;gt;C:\msys\1.0\home\&amp;lt;windows login&amp;gt;\synfig\make_studio.sh&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Making Synfig-Studio...&amp;quot;&lt;br /&gt;
# Including configuration&lt;br /&gt;
if [ -r &amp;quot;./synbuild.conf&amp;quot; ]; then&lt;br /&gt;
  . ./synbuild.conf&lt;br /&gt;
else&lt;br /&gt;
  echo &amp;quot;No config file for synfig build (./synbuild.conf) found.&amp;quot;&lt;br /&gt;
  exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
CURRENT_DIR=`pwd`&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Cleanup directories&amp;quot;&lt;br /&gt;
rm -rf ${SYN_BUILD_DIR}/synfig-studio&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Preparing sources&amp;quot;&lt;br /&gt;
mkdir ${SYN_BUILD_DIR}/synfig-studio&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
cp -R ${SYN_SOURCE_DIR}/synfig-studio/* ${SYN_BUILD_DIR}/synfig-studio/&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
cp -R ${SYN_SOURCE_DIR}/synfig-studio/.svn ${SYN_BUILD_DIR}/synfig-studio/&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Applying patches...&amp;quot;&lt;br /&gt;
cd  ${SYN_BUILD_DIR}/synfig-studio&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
for SFILE in ${SYNSTUDIO_PATCHES[@]}&lt;br /&gt;
do&lt;br /&gt;
  patch -p1 &amp;lt;${SYN_FILEZ_DIR}/${SFILE}&lt;br /&gt;
  [ $? -eq 0 ] || exit 1&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Configuring&amp;quot;&lt;br /&gt;
autoreconf -if&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
mkdir win32build&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
cd win32build&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
if [ &amp;quot;$SYN_STUDIO_DEBUG_BUILD&amp;quot; == &amp;quot;yes&amp;quot; ]; then&lt;br /&gt;
  ../configure --host=${MINGW_HOST} --cache-file=${SYN_FILEZ_DIR}/config-cache --prefix=C:/PROGRA~1/Synfig --disable-optimization --enable-debug&lt;br /&gt;
  [ $? -eq 0 ] || exit 1&lt;br /&gt;
else&lt;br /&gt;
  ../configure --host=${MINGW_HOST} --cache-file=${SYN_FILEZ_DIR}/config-cache --prefix=C:/PROGRA~1/Synfig --enable-optimization=1 --disable-debug&lt;br /&gt;
  [ $? -eq 0 ] || exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Making&amp;quot;&lt;br /&gt;
make package&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
mv ./synfigstudio-*.exe ${CURRENT_DIR}/&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
cd ${CURRENT_DIR}&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
rm -rf ${SYN_BUILD_DIR}/synfig-studio&lt;br /&gt;
[ $? -eq 0 ] || exit 1&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done: synfig-studio&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===_src directory===&lt;br /&gt;
Go to the &amp;lt;code&amp;gt;C:\msys\1.0\home\&amp;lt;windows login&amp;gt;\synfig\_src&amp;lt;/code&amp;gt; directory. Get the latest sources of Synfig from its repository.&lt;br /&gt;
&lt;br /&gt;
:: &amp;lt;code&amp;gt;'''$ svn co &amp;lt;nowiki&amp;gt;https://synfig.svn.sourceforge.net/svnroot/synfig/ETL/trunk/&amp;amp;nbsp;&amp;lt;/nowiki&amp;gt; ETL'''&amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
:: &amp;lt;code&amp;gt;'''$ svn co &amp;lt;nowiki&amp;gt;https://synfig.svn.sourceforge.net/svnroot/synfig/synfig-core/trunk/&amp;amp;nbsp;&amp;lt;/nowiki&amp;gt; synfig-core'''&amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
:: &amp;lt;code&amp;gt;'''$ svn co &amp;lt;nowiki&amp;gt;https://synfig.svn.sourceforge.net/svnroot/synfig/synfig-studio/trunk/&amp;amp;nbsp;&amp;lt;/nowiki&amp;gt; synfig-studio'''&amp;lt;/code&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The commands have a space between the URL address and the third paramater, it's easy to miss it. There should be three, space separated, paramaters in total after the &amp;quot;'''svn'''&amp;quot; command.&lt;br /&gt;
&lt;br /&gt;
Download the current stable [http://www.openexr.com/ OpenEXR] version from:&lt;br /&gt;
&lt;br /&gt;
* http://download.savannah.gnu.org/releases-noredirect/openexr/ilmbase-1.0.1.tar.gz (452 KB)&lt;br /&gt;
* http://download.savannah.gnu.org/releases-noredirect/openexr/openexr-1.6.1.tar.gz (13 MB)&lt;br /&gt;
&lt;br /&gt;
Finally, you must have three directories (ETL, synfig-core and synfig-studio) and the ilmbase-1.0.1.tar.gz &amp;amp; openexr-1.6.1.tar.gz files in your &amp;lt;code&amp;gt;'''_src'''&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
The scripts also create &amp;lt;code&amp;gt;C:\msys\1.0\home\&amp;lt;windows login&amp;gt;\synfig\_filez\config-cache&amp;lt;/code&amp;gt;. To avoid the delay due to configuration autodetection keep this file until your build environment changes (i.e. you change some file related to MingW/msys, not Synfig).&lt;br /&gt;
&lt;br /&gt;
===_filez directory===&lt;br /&gt;
Save the following text as &amp;lt;code&amp;gt;'''C:\msys\1.0\home\&amp;lt;windows login&amp;gt;\synfig\_filez\synfig-core-hack-libtool.patch'''&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
diff -Nuar synfig-core.orig/win32build/libtool synfig-core/win32build/libtool&lt;br /&gt;
--- synfig-core.orig/win32build/libtool	Wed Feb  7 21:52:34 2007&lt;br /&gt;
+++ synfig-core/win32build/libtool	Wed Feb  7 21:57:12 2007&lt;br /&gt;
@@ -2805,7 +2805,7 @@&lt;br /&gt;
 	  fi&lt;br /&gt;
 	elif test &amp;quot;$build_libtool_libs&amp;quot; = yes; then&lt;br /&gt;
 	  # Not a shared library&lt;br /&gt;
-	  if test &amp;quot;$deplibs_check_method&amp;quot; != pass_all; then&lt;br /&gt;
+	  if test &amp;quot;$deplibs_check_method&amp;quot; != pass_all &amp;amp;&amp;amp; test &amp;quot;$old_library&amp;quot; != &amp;quot;libltdl.a&amp;quot;; then&lt;br /&gt;
 	    # We're trying link a shared library against a static one&lt;br /&gt;
 	    # but the system doesn't support it.&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then save the following as &amp;lt;code&amp;gt;'''C:\msys\1.0\home\&amp;lt;windows login&amp;gt;\synfig\_filez\ilmbase-1.0.1-makefile.patch'''&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
diff -Nuar ilmbase-1.0.1.orig/IlmThread/Makefile.in ilmbase-1.0.1/IlmThread/Makefile.in&lt;br /&gt;
--- ilmbase-1.0.1.orig/IlmThread/Makefile.in	Tue Oct  9 14:28:29 2007&lt;br /&gt;
+++ ilmbase-1.0.1/IlmThread/Makefile.in	Sat Aug 16 18:35:08 2008&lt;br /&gt;
@@ -64,7 +64,8 @@&lt;br /&gt;
 am_libIlmThread_la_OBJECTS = IlmThreadPool.lo IlmThread.lo \&lt;br /&gt;
 	IlmThreadSemaphore.lo IlmThreadMutex.lo IlmThreadPosix.lo \&lt;br /&gt;
 	IlmThreadSemaphorePosix.lo IlmThreadSemaphorePosixCompat.lo \&lt;br /&gt;
-	IlmThreadMutexPosix.lo&lt;br /&gt;
+	IlmThreadMutexPosix.lo IlmThreadWin32.lo IlmThreadSemaphoreWin32.lo \&lt;br /&gt;
+	IlmThreadMutexWin32.lo&lt;br /&gt;
 libIlmThread_la_OBJECTS = $(am_libIlmThread_la_OBJECTS)&lt;br /&gt;
 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/config&lt;br /&gt;
 depcomp = $(SHELL) $(top_srcdir)/depcomp&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally save the following as &amp;lt;code&amp;gt;'''C:\msys\1.0\home\&amp;lt;windows login&amp;gt;\synfig\_filez\ilmbase-1.0.1-pkgconfig.patch'''&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
diff -Nuar ilmbase-1.0.1.orig/IlmBase.pc.in ilmbase-1.0.1/IlmBase.pc.in&lt;br /&gt;
--- ilmbase-1.0.1.orig/IlmBase.pc.in	Wed Dec 13 14:55:53 2006&lt;br /&gt;
+++ ilmbase-1.0.1/IlmBase.pc.in	Sat Aug 16 21:06:27 2008&lt;br /&gt;
@@ -7,5 +7,5 @@&lt;br /&gt;
 Name: IlmBase&lt;br /&gt;
 Description: Base math and exception libraries&lt;br /&gt;
 Version: @ILMBASE_VERSION@&lt;br /&gt;
-Libs: -L${libdir} -lImath -lHalf -lIex -lIlmThread @PTHREAD_LIBS@&lt;br /&gt;
-Cflags: @PTHREAD_CFLAGS@ -I${OpenEXR_includedir}&lt;br /&gt;
+Libs: -L${libdir} -lImath -lHalf -lIex -lIlmThread&lt;br /&gt;
+Cflags: -I@includedir@ -I${OpenEXR_includedir}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;s&amp;gt;Last but not least, prior to SVN 2055, the Windows installer files need patching - http://patches.synfig.org/r/3/&amp;lt;/s&amp;gt; -- ''(it's been done)''.&lt;br /&gt;
&lt;br /&gt;
(Acknowledgment to the writer of http://qtpfsgui.wiki.sourceforge.net/Compiling+on+Windows for the tip on the b44ExpLogTable file in OpenEXR)&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
This section describes the parameters of &amp;lt;code&amp;gt;synbuild.conf&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
===Files and Directories===&lt;br /&gt;
As you can see in this section you can define the path and name of the special directories (with sources, patches and temporary directories). If you install the build scripts as written above, there is nothing to change.&lt;br /&gt;
&lt;br /&gt;
Also this section contains the path and version of the OpenEXR source files.&lt;br /&gt;
&lt;br /&gt;
===External tools===&lt;br /&gt;
In this section you need to define the path to the executable files of the three auxiliary packages: ImageMagick, Subversion and NSIS. ImageMagick and Subversion binaries are located using the PATH environment variable, but their paths are added to the end of the path list and so we can get name collisions. For example, the ImageMagick &amp;quot;convert&amp;quot; tool has the same name as the &amp;quot;convert&amp;quot; tool from Borland Delphi Explorer, which may have been installed before ImageMagick.&lt;br /&gt;
&lt;br /&gt;
===Build setup===&lt;br /&gt;
'''MINGW_HOST''' - host parameter of &amp;quot;configure&amp;quot; script. Do not change it.&lt;br /&gt;
&lt;br /&gt;
'''SYN_CORE_DEBUG_BUILD''' - if &amp;quot;yes&amp;quot;, Synfig Core will be made with debug info.&lt;br /&gt;
&lt;br /&gt;
'''SYN_STUDIO_DEBUG_BUILD''' - if &amp;quot;yes&amp;quot;, Synfig Studio will be made with debug info.&lt;br /&gt;
&lt;br /&gt;
===Patches===&lt;br /&gt;
In this section you can find a number of patch definition blocks, looking like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table style=&amp;quot;padding: 1em; border: 1px dashed #2f6fab; color: Black; background-color: #f9f9f9; line-height: 1.1em;&amp;quot;&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;# ETL patches&lt;br /&gt;
ETL_PATCHES=$(cat &amp;lt;&amp;lt;:END_ETL:&lt;br /&gt;
:END_ETL:)&amp;lt;/pre&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, if you place any filenames of patches between '':END_ETL:'' blocks, it will be applied before the configuration of ETL. Patch files need to be stored in the &amp;lt;code&amp;gt;_filez&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
This section is useful if you want to test your own patches before sending them to the Synfig developers.&lt;br /&gt;
&lt;br /&gt;
===Autoconfiguration===&lt;br /&gt;
This section contatins code which sets up the required environment variables and (by default) there is no need to change anything.&lt;br /&gt;
&lt;br /&gt;
==Build Order==&lt;br /&gt;
Note: If you want build synfig without slowing down other tasks running on the same machine while the build takes place, open a single msys session, then open &amp;quot;Task Manager&amp;quot;, search for the ''sh.exe'' process and set its priority to &amp;quot;Below normal&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Note: Running an on-access antivirus scanner can dramatically decrease compilation speed.&lt;br /&gt;
&lt;br /&gt;
===OpenEXR===&lt;br /&gt;
This package needs to be built only once. A rebuild is only required if you get a new version or want to apply a new patch to it or you update the compiler and it is incompatible with the previous binaries.&lt;br /&gt;
&lt;br /&gt;
In your msys console go to the &amp;lt;code&amp;gt;C:\msys\1.0\home\&amp;lt;windows login&amp;gt;\synfig&amp;lt;/code&amp;gt; directory by typing:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;nowiki&amp;gt;$ cd ~/synfig&amp;lt;/nowiki&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;nowiki&amp;gt;$ ./make_openexr.sh&amp;lt;/nowiki&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Wait for the &amp;quot;Done: OpenEXR&amp;quot; message.&lt;br /&gt;
&lt;br /&gt;
===ETL===&lt;br /&gt;
Rebuild it when you get a new version of Synfig.&lt;br /&gt;
&lt;br /&gt;
In your msys console go to the &amp;lt;code&amp;gt;C:\msys\1.0\home\&amp;lt;windows login&amp;gt;\synfig&amp;lt;/code&amp;gt; directory by typing:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;nowiki&amp;gt;$ cd ~/synfig&amp;lt;/nowiki&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;nowiki&amp;gt;$ ./make_etl.sh&amp;lt;/nowiki&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Wait for the &amp;quot;Done: ETL&amp;quot; message.&lt;br /&gt;
&lt;br /&gt;
===Synfig Core===&lt;br /&gt;
Rebuild it when you get a new version of Synfig.&lt;br /&gt;
&lt;br /&gt;
In your msys console go to the &amp;lt;code&amp;gt;C:\msys\1.0\home\&amp;lt;windows login&amp;gt;\synfig&amp;lt;/code&amp;gt; directory by typing:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;nowiki&amp;gt;$ cd ~/synfig&amp;lt;/nowiki&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;nowiki&amp;gt;$ ./make_core.sh&amp;lt;/nowiki&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Wait for the &amp;quot;Done: synfig-core&amp;quot; message. It can take a long time. The Synfig Core installer will be moved into the current directory.&lt;br /&gt;
&lt;br /&gt;
===Synfig Studio===&lt;br /&gt;
Rebuild it when you get a new version of Synfig.&lt;br /&gt;
&lt;br /&gt;
In your msys console go to the &amp;lt;code&amp;gt;C:\msys\1.0\home\&amp;lt;windows login&amp;gt;\synfig&amp;lt;/code&amp;gt; directory by typing:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;nowiki&amp;gt;$ cd ~/synfig&amp;lt;/nowiki&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&amp;lt;nowiki&amp;gt;$ ./make_studio.sh&amp;lt;/nowiki&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Wait for the &amp;quot;Done: synfig-studio&amp;quot; message. It can take a long time. The Synfig Studio installer will be moved into the current directory.&lt;br /&gt;
&lt;br /&gt;
==Additional tools==&lt;br /&gt;
These tools are not required to build Synfig, but they can help in the debugging process.&lt;br /&gt;
&lt;br /&gt;
P.S. Post this later. ;-)&lt;br /&gt;
&lt;br /&gt;
(Atrus - keen to hear what you recommend for debug.  Also any debug processes you go through to fix the bugs.  There's several bugs (mainly preview rendering) that I see under the current builds of Windows that are not under Linux or the old 0.61.05 for Windows - Pxegeek 2/7/07)&lt;br /&gt;
&lt;br /&gt;
{{Category|Windows}}&lt;/div&gt;</summary>
		<author><name>Milleja46</name></author>	</entry>

	<entry>
		<id>https://www.wiki.synfig.org/index.php?title=Dev:Mingw_installation&amp;diff=13552</id>
		<title>Dev:Mingw installation</title>
		<link rel="alternate" type="text/html" href="https://www.wiki.synfig.org/index.php?title=Dev:Mingw_installation&amp;diff=13552"/>
				<updated>2011-01-24T21:10:59Z</updated>
		
		<summary type="html">&lt;p&gt;Milleja46: /* Updated Mingw */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--Categories--&amp;gt;&lt;br /&gt;
{{Category|Building}}&lt;br /&gt;
{{Category|Windows}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Updated Mingw==&lt;br /&gt;
Welcome to the updated mingw page! As the information is checked to be fully functional we will post it to this page. As that is verified the old information shown here will be deleted since you are not what so ever to get it working using the below information since the developers of mingw have discontinued and removed that version and setup of that way completely. For now refer to this page: http://www.mingw.org/wiki/Getting_Started&lt;br /&gt;
&lt;br /&gt;
==MinGW(Old and unusable will be replaced as the new information is tested and added to the page)==&lt;br /&gt;
First - download [http://www.mingw.org/ MinGW] installer. You may get version 5.1.3 or higher (recommended).&lt;br /&gt;
&lt;br /&gt;
* https://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/MinGW-5.1.4.exe/download&lt;br /&gt;
&lt;br /&gt;
Run MinGW-5.1.4.exe. Select &amp;quot;Download and install&amp;quot;. Choose &amp;quot;Candidate&amp;quot; package, because &amp;quot;Current&amp;quot; is too old. When the installer asks which packages to install, select:&lt;br /&gt;
&lt;br /&gt;
* MinGW base tools&lt;br /&gt;
* g++ Compiler&lt;br /&gt;
* g77 Compiler&lt;br /&gt;
* MinGW Make&lt;br /&gt;
&lt;br /&gt;
Note: you really do need to install Fortran; even though Synfig does not require it, it is required by the autoconf configuration scripts. These are the minimal required package versions which are needed to successfully build win32 synfig (version numbers from the 5.1.3 package):&lt;br /&gt;
&lt;br /&gt;
* mingw-runtime-3.12.tar.gz (429.7 Kb)&lt;br /&gt;
* w32api-3.9.tar.gz (1.6 Mb)&lt;br /&gt;
* binutils-2.17.50-20060824-1.tar.gz (8.9 Mb)&lt;br /&gt;
* gcc-core-3.4.5-20060117-1.tar.gz (3.3 Mb)&lt;br /&gt;
* gcc-g++-3.4.5-20060117-1.tar.gz (4.5 Mb)&lt;br /&gt;
* gcc-g77-3.4.5-20060117-1.tar.gz (2.0 Mb)&lt;br /&gt;
* mingw32-make-3.81-2.tar.gz (95 Kb)&lt;br /&gt;
&lt;br /&gt;
Confirm default installation path &amp;lt;code&amp;gt;C:\MinGW&amp;lt;/code&amp;gt;. If you install MinGW into another directory, synfig compilation may fail.&lt;br /&gt;
&lt;br /&gt;
(instructions updated from version 5.1.3 to 5.1.4, but untested.  please update the wiki if anything is broken with 5.1.4)&lt;br /&gt;
&lt;br /&gt;
===MSYS===&lt;br /&gt;
Now download and install MSYS - a shell and tools kit.&lt;br /&gt;
&lt;br /&gt;
* http://downloads.sourceforge.net/mingw/MSYS-1.0.10.exe (2.7 Mb)&lt;br /&gt;
&lt;br /&gt;
Run MSYS-1.0.10.exe, confirm default installation path &amp;lt;code&amp;gt;C:\msys\1.0&amp;lt;/code&amp;gt;. Wait until installation completes. Then the installer opens a console and asks some questions.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;'''This is a post install process that will try to normalize between'''&amp;lt;br /&amp;gt;'''your MinGW install if any as well as your previous MSYS installs'''&amp;lt;br /&amp;gt;'''if any. I don't have any traps as aborts will not hurt anything.'''&amp;lt;br /&amp;gt;'''Do you wish to continue with the post install? [yn ]'''&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Answer &amp;quot;&amp;lt;code&amp;gt;'''y'''&amp;lt;/code&amp;gt;&amp;quot; here.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;'''Do you have MinGW installed? [yn ]'''&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Answer &amp;quot;&amp;lt;code&amp;gt;'''y'''&amp;lt;/code&amp;gt;&amp;quot; here.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;'''Please answer following the in the form of c:/foo/bar.'''&amp;lt;br /&amp;gt;'''Where is your MinGW installation?'''&amp;lt;br /&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Answer &amp;quot;&amp;lt;code&amp;gt;'''c:/mingw'''&amp;lt;/code&amp;gt;&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The installer script prints some text and finally writes:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;'''Oh joy, you do not have c:/mingw/bin/make.exe. Keep it that way.'''&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It's OK. The first phase of installation is completed. Press any key.&lt;br /&gt;
&lt;br /&gt;
===MSYS Developer Toolkit===&lt;br /&gt;
Download MSYS Developer Toolkit, which contain such required tools as [http://www.gnu.org/software/autoconf/ autoconf], [http://www.gnu.org/software/automake/ automake], [http://www.gnu.org/software/libtool/ libtool], [http://www.cpan.org/ perl], pkg-tools, etc. Unfortunately, many tools included in MSYS DTK is too old and we need update it manually later.&lt;br /&gt;
&lt;br /&gt;
* http://downloads.sourceforge.net/mingw/msysDTK-1.0.1.exe (9.8 Mb)&lt;br /&gt;
&lt;br /&gt;
Run msysDTK-1.0.1.exe. Confirm your MSYS installation path &amp;lt;code&amp;gt;C:\msys\1.0&amp;lt;/code&amp;gt;. Nothing more. Installation will continue without any additional questions.&lt;br /&gt;
&lt;br /&gt;
===bash===&lt;br /&gt;
The current bash version is not enough for Synfig building and neither is the new 2.05b version. It contains an error and you need to:&lt;br /&gt;
&lt;br /&gt;
# Download 3.1 snapshot: * http://downloads.sourceforge.net/mingw/bash-3.1-MSYS-1.0.11-snapshot.tar.bz2 (538.2 Kb)&lt;br /&gt;
# Make sure that all msys sessions are closed,&lt;br /&gt;
# then just decompress bash-3.1 directory from archive into &amp;lt;code&amp;gt;C:\msys\1.0&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Also, you might want to edit &amp;lt;code&amp;gt;'''C:\msys\1.0\msys.bat'''&amp;lt;/code&amp;gt; file. If so, do the following:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Look into the string which contain !! Find !! Replace&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;code&amp;gt;'''MINGW32BGCOLOR='''&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;'''{Any Color}'''&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;'''Black'''&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;code&amp;gt;'''MINGW32FGCOLOR='''&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;'''{Any Color}'''&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;'''White'''&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;code&amp;gt;'''start rxvt -backspacekey'''&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;'''-fn Courier-12'''&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;'''-fn Courier-16'''&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===[http://www.gnu.org/software/autoconf/ autoconf]===&lt;br /&gt;
As written before, some tool are too old for Synfig build. For example, since revision 547 synfig required autoconf and automake, included in MSYS DTK are not acceptible. And we need replace them by new version.&lt;br /&gt;
&lt;br /&gt;
# Download new autoconf from: http://downloads.sourceforge.net/mingw/msys-autoconf-2.59.tar.bz2 (394.7 Kb)&lt;br /&gt;
# Decompress content of archive to &amp;lt;code&amp;gt;'''C:\msys\1.0'''&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
===[http://www.gnu.org/software/automake/ automake]===&lt;br /&gt;
# Download new automake from: http://downloads.sourceforge.net/mingw/msys-automake-1.8.2.tar.bz2 (304 Kb)&lt;br /&gt;
# Decompress content of archive to &amp;lt;code&amp;gt;'''C:\msys\1.0'''&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
===[http://www.gnu.org/software/libtool/ libtool]===&lt;br /&gt;
In Synfig Core bootstrap file we can find that libtool prior to version 1.4.2 has an error in libltdl but msys has only 1.4e. I think - will be better to update it instead of patching.&lt;br /&gt;
&lt;br /&gt;
# Download libtool 1.5 from: http://downloads.sourceforge.net/mingw/msys-libtool-1.5.tar.bz2 (411.3 Kb)&lt;br /&gt;
# Decompress content of archive to &amp;lt;code&amp;gt;'''C:\msys\1.0'''&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
=== [http://www.gnu.org/software/gettext Gettext] ===&lt;br /&gt;
Starting from SVN 1143, Synfig offers support for internationalization (languages translations). For this, Gettext is needed.&lt;br /&gt;
&lt;br /&gt;
# You'll need [http://www.cygwin.com/ Cygwin] project's [http://cygwin.com/packages/gettext-devel/ gettext-devel] package: http://ftp.yz.yamagata-u.ac.jp/pub/cygwin/release/gettext/gettext-devel/&lt;br /&gt;
# Unpack the archive so that everything is under &amp;lt;code&amp;gt;'''/usr/local'''&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;'''/usr'''&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Any binaries that are not from the MinGW project (''or not built specially for MSYS'') cannot be placed in the &amp;lt;code&amp;gt;'''/msys/1.0/bin'''&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;'''/bin'''&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;'''/usr/bin'''&amp;lt;/code&amp;gt; inside MSYS) directory. You then need to:&lt;br /&gt;
# hack the &amp;lt;code&amp;gt;'''/usr/local/bin/autopoint'''&amp;lt;/code&amp;gt; script so that prefix is defined as &amp;lt;code&amp;gt;'''/usr/local'''&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;'''/usr'''&amp;lt;/code&amp;gt;.&lt;br /&gt;
# '''Warning!''' Ugly hack follows&lt;br /&gt;
:: Autopoint expects to find an &amp;lt;code&amp;gt;'''archive.tar.gz'''&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;'''usr/share'''&amp;lt;/code&amp;gt;, so copy gettext (found on &amp;lt;code&amp;gt;'''usr/share/'''&amp;lt;/code&amp;gt; on the archive) file structure to &amp;lt;code&amp;gt;'''/usr/share'''&amp;lt;/code&amp;gt; also.&lt;br /&gt;
&lt;br /&gt;
'''Update:''' If you insist a MSYS-compatible gettext-devel, try: http://downloads.sourceforge.net/mingw/gettext-devel-0.16.1-MSYS-1.0.11-1.tar.bz2&lt;br /&gt;
* As of this post, &amp;lt;code&amp;gt;'''gettext-devel-0.16.1-MSYS'''&amp;lt;/code&amp;gt; is being tested for problem-free Synfig compile.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' If you reload the GTK+ devel environment, make sure that you rename the autopoint script and gettext so that they don't conflict with the ones in msys. GTK\bin tends to show up first in the path, and those versions get picked by default.&lt;br /&gt;
&lt;br /&gt;
===[http://www.mktemp.org/ mktemp]===&lt;br /&gt;
Synfig requires mktemp for building, but for some unknown reason this tool is not installed by default in MinGW.&lt;br /&gt;
&lt;br /&gt;
# Download the MinGW implementation of this tool from: http://downloads.sourceforge.net/mingw/mktemp-1.5-MSYS.tar.bz2 (4 Kb)&lt;br /&gt;
# Decompress mktemp.exe from this archive to &amp;lt;code&amp;gt;'''C:\msys\1.0\bin'''&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
===[http://darwinsys.com/file/ file]===&lt;br /&gt;
libtool requires the &amp;quot;file&amp;quot; tool to check filetypes of libraries.&lt;br /&gt;
&lt;br /&gt;
# So we need to download it: http://downloads.sourceforge.net/mingw/file-4.16-MSYS-1.0.11-snapshot.tar.bz2 (236.2 Kb)&lt;br /&gt;
# Decompress content of directory file-4.16 from the archive to &amp;lt;code&amp;gt;'''C:\msys\1.0'''&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===cygpath emulation===&lt;br /&gt;
As far as I read, Cygwin only supports paths like /C/somedir/somefile. MinGW can use native windows paths also. Cygwin has a special tool for this (and some another features). MinGW has not. But several Synfig configure scripts require this tool so it will be better to make it. Just save the following text as &amp;lt;code&amp;gt;C:\msys\1.0\bin\cygpath&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/bin/sh&lt;br /&gt;
# A simple cygpath replacement&lt;br /&gt;
&lt;br /&gt;
until [ -z &amp;quot;$1&amp;quot; ]&lt;br /&gt;
do&lt;br /&gt;
    if [ &amp;quot;${1:0:1}&amp;quot; != &amp;quot;-&amp;quot; ]; then&lt;br /&gt;
        echo $1 | sed -e 's/\\/\//g' -e 's/^\([a-zA-Z]\):/\/\1/g'&lt;br /&gt;
    fi&lt;br /&gt;
    shift&lt;br /&gt;
done&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===[http://www.winterdrache.de/freeware/png2ico/index.html png2ico]===&lt;br /&gt;
Early version of Synfig used [http://www.kernel.org/pub/software/graphics/pngtoico/ pngtoico] tool to produce icons from png files. Unfortunately this tool is broken now. You can see this for youeself by installing the official build of Synfig Studio 0.61.05. The latest versions of Synfig using another tool: png2ico. This tool is not perfect, but it works.&lt;br /&gt;
&lt;br /&gt;
# Download it from: http://www.winterdrache.de/freeware/png2ico/data/png2ico-win-2002-12-08.zip (89.9 Kb)&lt;br /&gt;
# And decompress png2ico.exe file to &amp;lt;code&amp;gt;'''C:\msys\1.0\bin'''&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
==Non MinGW packages==&lt;br /&gt;
===[http://subversion.tigris.org Subversion]===&lt;br /&gt;
&lt;br /&gt;
 Source code is now in GIT&lt;br /&gt;
&lt;br /&gt;
Synfig source is stored in a subversion repository. You will need the svn client to get it. Also the svn client is required by the Synfig build scripts, to receive the revision number of the source.&lt;br /&gt;
You can download the Windows subversion package from this page:&lt;br /&gt;
&lt;br /&gt;
* http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91&lt;br /&gt;
&lt;br /&gt;
When I wrote this the latest version was 1.4.3:&lt;br /&gt;
&lt;br /&gt;
* http://subversion.tigris.org/files/documents/15/36797/svn-1.4.3-setup.exe (3.58 Mb)&lt;br /&gt;
&lt;br /&gt;
But it is best to get the newest available version.&lt;br /&gt;
&lt;br /&gt;
===[http://sourceforge.net/projects/nsis/ NSIS]===&lt;br /&gt;
NSIS is the Nullsoft Scriptable Install System, a free and open source installer for WinAmp, a popular windows music player.&lt;br /&gt;
When I wrote this the latest version was 2.27:&lt;br /&gt;
&lt;br /&gt;
* http://downloads.sourceforge.net/nsis/nsis-2.42-setup.exe (1.4 Mb)&lt;br /&gt;
&lt;br /&gt;
You can use this or any newer version.&lt;br /&gt;
&lt;br /&gt;
===[http://www.imagemagick.org ImageMagick]===&lt;br /&gt;
When I wrote this the latest version was 6.3.4-10:&lt;br /&gt;
&lt;br /&gt;
* http://www.imagemagick.org/download/binaries/ImageMagick-6.4.8-3-Q16-windows-dll.exe (11 MB)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The ''updated'' file has not been tested yet -- try here instead http://www.imagemagick.org/download/www/binary-releases.html#windows&lt;br /&gt;
&lt;br /&gt;
ImageMagick is required to build Studio, also Core has an ImageMagick render target.&lt;br /&gt;
&lt;br /&gt;
==Gtk+/Gtkmm==&lt;br /&gt;
===[http://www.gtk.org/ GTK+]===&lt;br /&gt;
Go to [http://gladewin32.sourceforge.net/modules/news/ this page] and download the latest GTK+ devel package for windows:&lt;br /&gt;
&lt;br /&gt;
* http://gladewin32.sourceforge.net/modules/wfdownloads/visit.php?lid=110 (12 MB)&lt;br /&gt;
&lt;br /&gt;
^^ These links are broken :( Pixelgeek is researching alternate solutions&lt;br /&gt;
&lt;br /&gt;
Though it's not yet tested, you can try either:&lt;br /&gt;
* http://downloads.sourceforge.net/gladewin32/gtk-dev-2.12.9-win32-2.exe (16.7 MB)&lt;br /&gt;
* http://downloads.sourceforge.net/gladewin32/gtk-dev-2.12.9-win32-1.exe (13,313 KB)&lt;br /&gt;
&lt;br /&gt;
You need only install the following components:&lt;br /&gt;
&lt;br /&gt;
* Gtk+ Runtime (required)&lt;br /&gt;
* Register Environment Variables&lt;br /&gt;
* Devel header/libraries&lt;br /&gt;
&lt;br /&gt;
Confirm registration for environment: ''MSYS (C:\msys\1.0)''.&lt;br /&gt;
&lt;br /&gt;
Install GTK+ to &amp;lt;code&amp;gt;C:\GTK&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===[http://www.gtkmm.org/ GTKmm]===&lt;br /&gt;
Go to [http://www.pcpm.ucl.ac.be/~gustin/win32_ports/ this page] and download the latest GTKmm devel package for Windows:&lt;br /&gt;
&lt;br /&gt;
* http://ftp.gnome.org/pub/gnome/binaries/win32/gtkmm/2.10/gtkmm-win32-devel-2.10.8-1.exe (16.1 MB)&lt;br /&gt;
&lt;br /&gt;
If you opted for '''gtk-dev-2.12.9-win32-2.exe''' or '''gtk-dev-2.12.9-win32-1.exe''' pick this instead.&lt;br /&gt;
* ftp://ftp.gnome.org/pub/GNOME/binaries/win32/gtkmm/2.10/gtkmm-win32-devel-2.10.11-1.exe (16.3 MB)&lt;br /&gt;
&lt;br /&gt;
You need only install the following components (footnote 1):&lt;br /&gt;
&lt;br /&gt;
* libsigc++&lt;br /&gt;
* cairomm&lt;br /&gt;
* glibmm&lt;br /&gt;
* gtkmm&lt;br /&gt;
* libxml++&lt;br /&gt;
&lt;br /&gt;
 (1) if you're using gtkmm-win32-devel-2.16.0-4.exe, then pangomm is a required component.  &lt;br /&gt;
&lt;br /&gt;
For each selected component you may keep only&lt;br /&gt;
&lt;br /&gt;
* Runtime&lt;br /&gt;
* Development&lt;br /&gt;
&lt;br /&gt;
subcategories. Install GTKmm to &amp;lt;code&amp;gt;'''C:\GTK'''&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Collision Resolution===&lt;br /&gt;
If you have several Gtk-applications (f.e. InkScape), you can receive a strange errors, like &amp;quot;''the procedure entry point XML_SetDoctypeDeclHandler could not be located in the dynamic link library xmlparse.dll''&amp;quot;. Thats mean you have an old version of this library in windows system32 directory, installed by another program. Just search and rename/delete this old library and all will work perfectly again.&lt;br /&gt;
&lt;br /&gt;
===Troubleshooting===&lt;br /&gt;
Test whether MSYS can find MinGW by running:&lt;br /&gt;
&lt;br /&gt;
$ gcc --version&lt;br /&gt;
&lt;br /&gt;
If it replies command not found, MSYS can't see MinGW. In that case, you will need to edit the text file C:\msys\1.0\etc\fstab so that it includes the line:&lt;br /&gt;
&lt;br /&gt;
c:/MinGW /mingw&lt;/div&gt;</summary>
		<author><name>Milleja46</name></author>	</entry>

	<entry>
		<id>https://www.wiki.synfig.org/index.php?title=Dev:Mingw_installation&amp;diff=13551</id>
		<title>Dev:Mingw installation</title>
		<link rel="alternate" type="text/html" href="https://www.wiki.synfig.org/index.php?title=Dev:Mingw_installation&amp;diff=13551"/>
				<updated>2011-01-24T21:07:47Z</updated>
		
		<summary type="html">&lt;p&gt;Milleja46: /* MinGW */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--Categories--&amp;gt;&lt;br /&gt;
{{Category|Building}}&lt;br /&gt;
{{Category|Windows}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Updated Mingw==&lt;br /&gt;
Welcome to the updated mingw page! As the&lt;br /&gt;
==MinGW(Old and unusable will be replaced as the new information is tested and added to the page)==&lt;br /&gt;
First - download [http://www.mingw.org/ MinGW] installer. You may get version 5.1.3 or higher (recommended).&lt;br /&gt;
&lt;br /&gt;
* https://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/MinGW-5.1.4.exe/download&lt;br /&gt;
&lt;br /&gt;
Run MinGW-5.1.4.exe. Select &amp;quot;Download and install&amp;quot;. Choose &amp;quot;Candidate&amp;quot; package, because &amp;quot;Current&amp;quot; is too old. When the installer asks which packages to install, select:&lt;br /&gt;
&lt;br /&gt;
* MinGW base tools&lt;br /&gt;
* g++ Compiler&lt;br /&gt;
* g77 Compiler&lt;br /&gt;
* MinGW Make&lt;br /&gt;
&lt;br /&gt;
Note: you really do need to install Fortran; even though Synfig does not require it, it is required by the autoconf configuration scripts. These are the minimal required package versions which are needed to successfully build win32 synfig (version numbers from the 5.1.3 package):&lt;br /&gt;
&lt;br /&gt;
* mingw-runtime-3.12.tar.gz (429.7 Kb)&lt;br /&gt;
* w32api-3.9.tar.gz (1.6 Mb)&lt;br /&gt;
* binutils-2.17.50-20060824-1.tar.gz (8.9 Mb)&lt;br /&gt;
* gcc-core-3.4.5-20060117-1.tar.gz (3.3 Mb)&lt;br /&gt;
* gcc-g++-3.4.5-20060117-1.tar.gz (4.5 Mb)&lt;br /&gt;
* gcc-g77-3.4.5-20060117-1.tar.gz (2.0 Mb)&lt;br /&gt;
* mingw32-make-3.81-2.tar.gz (95 Kb)&lt;br /&gt;
&lt;br /&gt;
Confirm default installation path &amp;lt;code&amp;gt;C:\MinGW&amp;lt;/code&amp;gt;. If you install MinGW into another directory, synfig compilation may fail.&lt;br /&gt;
&lt;br /&gt;
(instructions updated from version 5.1.3 to 5.1.4, but untested.  please update the wiki if anything is broken with 5.1.4)&lt;br /&gt;
&lt;br /&gt;
===MSYS===&lt;br /&gt;
Now download and install MSYS - a shell and tools kit.&lt;br /&gt;
&lt;br /&gt;
* http://downloads.sourceforge.net/mingw/MSYS-1.0.10.exe (2.7 Mb)&lt;br /&gt;
&lt;br /&gt;
Run MSYS-1.0.10.exe, confirm default installation path &amp;lt;code&amp;gt;C:\msys\1.0&amp;lt;/code&amp;gt;. Wait until installation completes. Then the installer opens a console and asks some questions.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;'''This is a post install process that will try to normalize between'''&amp;lt;br /&amp;gt;'''your MinGW install if any as well as your previous MSYS installs'''&amp;lt;br /&amp;gt;'''if any. I don't have any traps as aborts will not hurt anything.'''&amp;lt;br /&amp;gt;'''Do you wish to continue with the post install? [yn ]'''&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Answer &amp;quot;&amp;lt;code&amp;gt;'''y'''&amp;lt;/code&amp;gt;&amp;quot; here.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;'''Do you have MinGW installed? [yn ]'''&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Answer &amp;quot;&amp;lt;code&amp;gt;'''y'''&amp;lt;/code&amp;gt;&amp;quot; here.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;'''Please answer following the in the form of c:/foo/bar.'''&amp;lt;br /&amp;gt;'''Where is your MinGW installation?'''&amp;lt;br /&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Answer &amp;quot;&amp;lt;code&amp;gt;'''c:/mingw'''&amp;lt;/code&amp;gt;&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The installer script prints some text and finally writes:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;'''Oh joy, you do not have c:/mingw/bin/make.exe. Keep it that way.'''&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It's OK. The first phase of installation is completed. Press any key.&lt;br /&gt;
&lt;br /&gt;
===MSYS Developer Toolkit===&lt;br /&gt;
Download MSYS Developer Toolkit, which contain such required tools as [http://www.gnu.org/software/autoconf/ autoconf], [http://www.gnu.org/software/automake/ automake], [http://www.gnu.org/software/libtool/ libtool], [http://www.cpan.org/ perl], pkg-tools, etc. Unfortunately, many tools included in MSYS DTK is too old and we need update it manually later.&lt;br /&gt;
&lt;br /&gt;
* http://downloads.sourceforge.net/mingw/msysDTK-1.0.1.exe (9.8 Mb)&lt;br /&gt;
&lt;br /&gt;
Run msysDTK-1.0.1.exe. Confirm your MSYS installation path &amp;lt;code&amp;gt;C:\msys\1.0&amp;lt;/code&amp;gt;. Nothing more. Installation will continue without any additional questions.&lt;br /&gt;
&lt;br /&gt;
===bash===&lt;br /&gt;
The current bash version is not enough for Synfig building and neither is the new 2.05b version. It contains an error and you need to:&lt;br /&gt;
&lt;br /&gt;
# Download 3.1 snapshot: * http://downloads.sourceforge.net/mingw/bash-3.1-MSYS-1.0.11-snapshot.tar.bz2 (538.2 Kb)&lt;br /&gt;
# Make sure that all msys sessions are closed,&lt;br /&gt;
# then just decompress bash-3.1 directory from archive into &amp;lt;code&amp;gt;C:\msys\1.0&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Also, you might want to edit &amp;lt;code&amp;gt;'''C:\msys\1.0\msys.bat'''&amp;lt;/code&amp;gt; file. If so, do the following:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Look into the string which contain !! Find !! Replace&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;code&amp;gt;'''MINGW32BGCOLOR='''&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;'''{Any Color}'''&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;'''Black'''&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;code&amp;gt;'''MINGW32FGCOLOR='''&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;'''{Any Color}'''&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;'''White'''&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
! &amp;lt;code&amp;gt;'''start rxvt -backspacekey'''&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;'''-fn Courier-12'''&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;'''-fn Courier-16'''&amp;lt;/code&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===[http://www.gnu.org/software/autoconf/ autoconf]===&lt;br /&gt;
As written before, some tool are too old for Synfig build. For example, since revision 547 synfig required autoconf and automake, included in MSYS DTK are not acceptible. And we need replace them by new version.&lt;br /&gt;
&lt;br /&gt;
# Download new autoconf from: http://downloads.sourceforge.net/mingw/msys-autoconf-2.59.tar.bz2 (394.7 Kb)&lt;br /&gt;
# Decompress content of archive to &amp;lt;code&amp;gt;'''C:\msys\1.0'''&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
===[http://www.gnu.org/software/automake/ automake]===&lt;br /&gt;
# Download new automake from: http://downloads.sourceforge.net/mingw/msys-automake-1.8.2.tar.bz2 (304 Kb)&lt;br /&gt;
# Decompress content of archive to &amp;lt;code&amp;gt;'''C:\msys\1.0'''&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
===[http://www.gnu.org/software/libtool/ libtool]===&lt;br /&gt;
In Synfig Core bootstrap file we can find that libtool prior to version 1.4.2 has an error in libltdl but msys has only 1.4e. I think - will be better to update it instead of patching.&lt;br /&gt;
&lt;br /&gt;
# Download libtool 1.5 from: http://downloads.sourceforge.net/mingw/msys-libtool-1.5.tar.bz2 (411.3 Kb)&lt;br /&gt;
# Decompress content of archive to &amp;lt;code&amp;gt;'''C:\msys\1.0'''&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
=== [http://www.gnu.org/software/gettext Gettext] ===&lt;br /&gt;
Starting from SVN 1143, Synfig offers support for internationalization (languages translations). For this, Gettext is needed.&lt;br /&gt;
&lt;br /&gt;
# You'll need [http://www.cygwin.com/ Cygwin] project's [http://cygwin.com/packages/gettext-devel/ gettext-devel] package: http://ftp.yz.yamagata-u.ac.jp/pub/cygwin/release/gettext/gettext-devel/&lt;br /&gt;
# Unpack the archive so that everything is under &amp;lt;code&amp;gt;'''/usr/local'''&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;'''/usr'''&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Any binaries that are not from the MinGW project (''or not built specially for MSYS'') cannot be placed in the &amp;lt;code&amp;gt;'''/msys/1.0/bin'''&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;'''/bin'''&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;'''/usr/bin'''&amp;lt;/code&amp;gt; inside MSYS) directory. You then need to:&lt;br /&gt;
# hack the &amp;lt;code&amp;gt;'''/usr/local/bin/autopoint'''&amp;lt;/code&amp;gt; script so that prefix is defined as &amp;lt;code&amp;gt;'''/usr/local'''&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;'''/usr'''&amp;lt;/code&amp;gt;.&lt;br /&gt;
# '''Warning!''' Ugly hack follows&lt;br /&gt;
:: Autopoint expects to find an &amp;lt;code&amp;gt;'''archive.tar.gz'''&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;'''usr/share'''&amp;lt;/code&amp;gt;, so copy gettext (found on &amp;lt;code&amp;gt;'''usr/share/'''&amp;lt;/code&amp;gt; on the archive) file structure to &amp;lt;code&amp;gt;'''/usr/share'''&amp;lt;/code&amp;gt; also.&lt;br /&gt;
&lt;br /&gt;
'''Update:''' If you insist a MSYS-compatible gettext-devel, try: http://downloads.sourceforge.net/mingw/gettext-devel-0.16.1-MSYS-1.0.11-1.tar.bz2&lt;br /&gt;
* As of this post, &amp;lt;code&amp;gt;'''gettext-devel-0.16.1-MSYS'''&amp;lt;/code&amp;gt; is being tested for problem-free Synfig compile.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' If you reload the GTK+ devel environment, make sure that you rename the autopoint script and gettext so that they don't conflict with the ones in msys. GTK\bin tends to show up first in the path, and those versions get picked by default.&lt;br /&gt;
&lt;br /&gt;
===[http://www.mktemp.org/ mktemp]===&lt;br /&gt;
Synfig requires mktemp for building, but for some unknown reason this tool is not installed by default in MinGW.&lt;br /&gt;
&lt;br /&gt;
# Download the MinGW implementation of this tool from: http://downloads.sourceforge.net/mingw/mktemp-1.5-MSYS.tar.bz2 (4 Kb)&lt;br /&gt;
# Decompress mktemp.exe from this archive to &amp;lt;code&amp;gt;'''C:\msys\1.0\bin'''&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
===[http://darwinsys.com/file/ file]===&lt;br /&gt;
libtool requires the &amp;quot;file&amp;quot; tool to check filetypes of libraries.&lt;br /&gt;
&lt;br /&gt;
# So we need to download it: http://downloads.sourceforge.net/mingw/file-4.16-MSYS-1.0.11-snapshot.tar.bz2 (236.2 Kb)&lt;br /&gt;
# Decompress content of directory file-4.16 from the archive to &amp;lt;code&amp;gt;'''C:\msys\1.0'''&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===cygpath emulation===&lt;br /&gt;
As far as I read, Cygwin only supports paths like /C/somedir/somefile. MinGW can use native windows paths also. Cygwin has a special tool for this (and some another features). MinGW has not. But several Synfig configure scripts require this tool so it will be better to make it. Just save the following text as &amp;lt;code&amp;gt;C:\msys\1.0\bin\cygpath&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/bin/sh&lt;br /&gt;
# A simple cygpath replacement&lt;br /&gt;
&lt;br /&gt;
until [ -z &amp;quot;$1&amp;quot; ]&lt;br /&gt;
do&lt;br /&gt;
    if [ &amp;quot;${1:0:1}&amp;quot; != &amp;quot;-&amp;quot; ]; then&lt;br /&gt;
        echo $1 | sed -e 's/\\/\//g' -e 's/^\([a-zA-Z]\):/\/\1/g'&lt;br /&gt;
    fi&lt;br /&gt;
    shift&lt;br /&gt;
done&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===[http://www.winterdrache.de/freeware/png2ico/index.html png2ico]===&lt;br /&gt;
Early version of Synfig used [http://www.kernel.org/pub/software/graphics/pngtoico/ pngtoico] tool to produce icons from png files. Unfortunately this tool is broken now. You can see this for youeself by installing the official build of Synfig Studio 0.61.05. The latest versions of Synfig using another tool: png2ico. This tool is not perfect, but it works.&lt;br /&gt;
&lt;br /&gt;
# Download it from: http://www.winterdrache.de/freeware/png2ico/data/png2ico-win-2002-12-08.zip (89.9 Kb)&lt;br /&gt;
# And decompress png2ico.exe file to &amp;lt;code&amp;gt;'''C:\msys\1.0\bin'''&amp;lt;/code&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
==Non MinGW packages==&lt;br /&gt;
===[http://subversion.tigris.org Subversion]===&lt;br /&gt;
&lt;br /&gt;
 Source code is now in GIT&lt;br /&gt;
&lt;br /&gt;
Synfig source is stored in a subversion repository. You will need the svn client to get it. Also the svn client is required by the Synfig build scripts, to receive the revision number of the source.&lt;br /&gt;
You can download the Windows subversion package from this page:&lt;br /&gt;
&lt;br /&gt;
* http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91&lt;br /&gt;
&lt;br /&gt;
When I wrote this the latest version was 1.4.3:&lt;br /&gt;
&lt;br /&gt;
* http://subversion.tigris.org/files/documents/15/36797/svn-1.4.3-setup.exe (3.58 Mb)&lt;br /&gt;
&lt;br /&gt;
But it is best to get the newest available version.&lt;br /&gt;
&lt;br /&gt;
===[http://sourceforge.net/projects/nsis/ NSIS]===&lt;br /&gt;
NSIS is the Nullsoft Scriptable Install System, a free and open source installer for WinAmp, a popular windows music player.&lt;br /&gt;
When I wrote this the latest version was 2.27:&lt;br /&gt;
&lt;br /&gt;
* http://downloads.sourceforge.net/nsis/nsis-2.42-setup.exe (1.4 Mb)&lt;br /&gt;
&lt;br /&gt;
You can use this or any newer version.&lt;br /&gt;
&lt;br /&gt;
===[http://www.imagemagick.org ImageMagick]===&lt;br /&gt;
When I wrote this the latest version was 6.3.4-10:&lt;br /&gt;
&lt;br /&gt;
* http://www.imagemagick.org/download/binaries/ImageMagick-6.4.8-3-Q16-windows-dll.exe (11 MB)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The ''updated'' file has not been tested yet -- try here instead http://www.imagemagick.org/download/www/binary-releases.html#windows&lt;br /&gt;
&lt;br /&gt;
ImageMagick is required to build Studio, also Core has an ImageMagick render target.&lt;br /&gt;
&lt;br /&gt;
==Gtk+/Gtkmm==&lt;br /&gt;
===[http://www.gtk.org/ GTK+]===&lt;br /&gt;
Go to [http://gladewin32.sourceforge.net/modules/news/ this page] and download the latest GTK+ devel package for windows:&lt;br /&gt;
&lt;br /&gt;
* http://gladewin32.sourceforge.net/modules/wfdownloads/visit.php?lid=110 (12 MB)&lt;br /&gt;
&lt;br /&gt;
^^ These links are broken :( Pixelgeek is researching alternate solutions&lt;br /&gt;
&lt;br /&gt;
Though it's not yet tested, you can try either:&lt;br /&gt;
* http://downloads.sourceforge.net/gladewin32/gtk-dev-2.12.9-win32-2.exe (16.7 MB)&lt;br /&gt;
* http://downloads.sourceforge.net/gladewin32/gtk-dev-2.12.9-win32-1.exe (13,313 KB)&lt;br /&gt;
&lt;br /&gt;
You need only install the following components:&lt;br /&gt;
&lt;br /&gt;
* Gtk+ Runtime (required)&lt;br /&gt;
* Register Environment Variables&lt;br /&gt;
* Devel header/libraries&lt;br /&gt;
&lt;br /&gt;
Confirm registration for environment: ''MSYS (C:\msys\1.0)''.&lt;br /&gt;
&lt;br /&gt;
Install GTK+ to &amp;lt;code&amp;gt;C:\GTK&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===[http://www.gtkmm.org/ GTKmm]===&lt;br /&gt;
Go to [http://www.pcpm.ucl.ac.be/~gustin/win32_ports/ this page] and download the latest GTKmm devel package for Windows:&lt;br /&gt;
&lt;br /&gt;
* http://ftp.gnome.org/pub/gnome/binaries/win32/gtkmm/2.10/gtkmm-win32-devel-2.10.8-1.exe (16.1 MB)&lt;br /&gt;
&lt;br /&gt;
If you opted for '''gtk-dev-2.12.9-win32-2.exe''' or '''gtk-dev-2.12.9-win32-1.exe''' pick this instead.&lt;br /&gt;
* ftp://ftp.gnome.org/pub/GNOME/binaries/win32/gtkmm/2.10/gtkmm-win32-devel-2.10.11-1.exe (16.3 MB)&lt;br /&gt;
&lt;br /&gt;
You need only install the following components (footnote 1):&lt;br /&gt;
&lt;br /&gt;
* libsigc++&lt;br /&gt;
* cairomm&lt;br /&gt;
* glibmm&lt;br /&gt;
* gtkmm&lt;br /&gt;
* libxml++&lt;br /&gt;
&lt;br /&gt;
 (1) if you're using gtkmm-win32-devel-2.16.0-4.exe, then pangomm is a required component.  &lt;br /&gt;
&lt;br /&gt;
For each selected component you may keep only&lt;br /&gt;
&lt;br /&gt;
* Runtime&lt;br /&gt;
* Development&lt;br /&gt;
&lt;br /&gt;
subcategories. Install GTKmm to &amp;lt;code&amp;gt;'''C:\GTK'''&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Collision Resolution===&lt;br /&gt;
If you have several Gtk-applications (f.e. InkScape), you can receive a strange errors, like &amp;quot;''the procedure entry point XML_SetDoctypeDeclHandler could not be located in the dynamic link library xmlparse.dll''&amp;quot;. Thats mean you have an old version of this library in windows system32 directory, installed by another program. Just search and rename/delete this old library and all will work perfectly again.&lt;br /&gt;
&lt;br /&gt;
===Troubleshooting===&lt;br /&gt;
Test whether MSYS can find MinGW by running:&lt;br /&gt;
&lt;br /&gt;
$ gcc --version&lt;br /&gt;
&lt;br /&gt;
If it replies command not found, MSYS can't see MinGW. In that case, you will need to edit the text file C:\msys\1.0\etc\fstab so that it includes the line:&lt;br /&gt;
&lt;br /&gt;
c:/MinGW /mingw&lt;/div&gt;</summary>
		<author><name>Milleja46</name></author>	</entry>

	</feed>