Compiling Inkscape for the Win32 Platform

For either native Windows, or for cross-compiling on Linux, you need to be organized. I would suggest that for organization's sake you make a project directory, like 'ink32' or 'my_project' something. We'll refer to your Inkscape-win32 directory, whatever it is called, as PROJECT.

For either way of building, you will need the bundle of dependent libraries needed to build Inkscape.

Go here and download the latest gtk28-YYMMDD.7z file you find there to your PROJECT directory.

We use 7-zip for the library bundle, because it is so very large. If you don't already have it, you will need to install it on your machine first. It is found here.

How to compile Inkscape on Windows

How to cross-compile Inkscape from Linux

We have provided what you will need to cross-compile from Linux, so it will not be too painful. But, be warned: this is not for the tyro user. Only experienced persons should try this. We will not give you free Unix lessons online! ;-)

You are done!

Note: Dependency problem

Occasionally the win32 Makedep make.* files will be out of sync with the normal Gnu Automake files. This will result in a compile failure complaining about a missing .c or .cpp file for a needed .o. For example, a user recently saw this problem with the 0.43 tarball:

mingw32-make[1]: *** No rule to make target
`dom/js/fdlibm/e_acos.c', needed by
`dom/js/fdlibm/e_acos.o'.  Stop.
This is easily remedied by regenerating make.dep. This is the method for 0.44 and earlier:
cd src
c:\gtk28\bin\perl mkfiles.pl
c:\gtk28\bin\perl mkdep.pl
cd ..
This is the method for the current Subversion trunk:
cd src
g++ -g -Wall -o deptool.exe deptool.cpp
deptool
cd ..
Then you should be able to resume your normal compile.

Last updated: 20 Jun 06
Bob Jamison (ishmal)