The Inkscape core depends on several other libraries that you will need install, if they are not already present on your system. The most typical libraries you may need to install are: Boehm-GC, libsigc++, gtkmm.
Make sure you got the submodules code when fetching the code
(either by using --recurse-submodules
on the git clone command, as recommended on the Getting started page, or by running git submodule init && git submodule update
)
Please see the wiki page on compiling Inkscape for the most current dependencies, including links to the source tarballs. For common linux-distributions (Ubuntu, Debian, Fedora) you can use a bash-script for getting required libraries.
For Linux based Free Desktops, Inkscape version 0.92 and newer can be built using CMake:
mkdir build
cd build
cmake ..
make
make install
See CONTRIBUTING.md
for more developer details and the wiki.
For non-linux platforms, please see the Inkscape wiki pages here:
For building on ChromeOS, please click here
For building on Windows, please click here
For building on Mac, please click here
For developers and others who want to run Inkscape without installing it please
see the Building section in the CONTRIBUTING.md
file.
All Inkscape extensions have been moved into their own repository. They can be installed from there and should be packaged into builds directly. Report all bugs and ideas to that sub project.
They are available as a sub-module which can be updated independently:
git submodule update --remote
This will update the module to the latest version and you will see the extensions directory is now changes in the git status. So be mindful of that.
A number of configuration settings can be overridden through CMake. To see a list of the options available for Inkscape, run:
cmake -L
or, for more advanced cmake settings:
cmake --help
For example, to build Inkscape with only SVG 1 support, and no SVG 2, do:
cmake .. -DWITH_SVG2=OFF
Or, to build Inkscape with debugging symbols, do:
cmake -DCMAKE_BUILD_TYPE=Debug ..