From GIMP Developer Wiki
Revision as of 18:59, 9 April 2014 by Scl (Talk | contribs)

Jump to: navigation, search

This page will teach you how to set Eclipse IDE to work on the latest source of GIMP from git.

About Eclipse

Why use Eclipse to work on Babl, GEGL and GIMP?

Some of the features that are interesting for C/C++ developers are:

  • cross-referencing: Ctrl click an identifier and it will take you to its definition,
  • call hierarchy,
  • comprehensive search capabilities,
  • built in Git support,
  • Autotools integration,
  • graphical debugger,
  • explore remote systems from within Eclipse,
  • focus on the current task,
  • Bugzilla integration,
  • static code analysis.

and more. Eclipse runs on every platform that can run Java and has a graphical interface.

Why not to use Eclipse to work on GIMP?

Because it's not Emacs :-P


The following steps describe the process for Eclipse 4.3 'Kepler' on Linux. It is assumed that your workspace is /home/user/workspace.

Prepare the build environment

By example of Babl: clone the Babl Git repository into your workspace:

  1. cd /home/user/workspace
  2. git clone git://git.gnome.org/babl

To the same for GEGL and GIMP.

Get Eclipse

The easiest way is simply to download Eclipse IDE for C/C++ Developers). If you already have a working Eclipse installation and want to upgrade it, then download the following plug-ins:

  • CDT (for C/C++ development),
  • EGit (for Git integration).

and optionally

  • Mylyn Task List (for Bugzilla integration and task focused working).
  • Remote Systems Explorer.

Configure Eclipse to work on Babl, GEGL and GIMP

Working with Eclipse





Problems and solutions