Compiling GMIC on Linux Mint Debian Edition 2

Running a self compiled version of Gimp in parallel to the version from your distribution works fine until you try to use it with high-bit depth version of GMIC.

The following instructions for GMIC will help you to prevent /get rid of the following error:

Could not execute plug-in "gmic_gimp"
(/home/YOUR HOME DIRECTORY/.config/GIMP/2.9/plug-ins/gmic_gimp)
because it uses an obsolete version of the plug-in protocol.

The instructions are an adaption of David's original description given on pixls.us.

$ cd ~/gimp-2.9 (the directory we used in the Gimp compilation tutorial)
$ export LD_LIBRARY_PATH=~/gimp-2.9/lib (this is the important part)
$ aptitude install git build-essential libcurl4-openssl-dev libfftw3-dev
$ git clone https://github.com/dtschump/gmic-minimal.git
$ cd gmic-minimal/src && make gimp
$ cp gmic_gimp ~/.config/GIMP/2.9/plug-ins

Of course the LD_LIBRARY_PATH must be set any if you run gimp-2.9 from any other terminal. To simplify matters I created the following file
$ touch ~/bin/gimp-2.9/bin/gimp-2.9_gmic
$ chmod +x ~/bin/gimp-2.9/bin/gimp-2.9_gmic

File content:
#!/bin/bash
export LD_LIBRARY_PATH=$HOME/bin/gimp-2.9/lib/
$HOME/bin/gimp-2.9/bin/gimp-2.9


Running this script allows you to use gmic without flaws

Please share the article if you find it useful and/or leave a comment should anything be missing.

 

Add new comment