$ brew install -build-from-source libgimp2.0 Updated 3 taps (homebrew/core, homebrew/cask and ryan-robeson/gimp).Īzure-cli ✔ dmd docker-compose dub ejdb icecast mercurial pipx I tried both versions of the config.site file (in terms of whether I set export ACLOCAL_FLAGS with specific flags or not) Side note: I did notice a few different versions than you ( glib/2.62.2 and gettext/0.20.1), which I updated in the config.site file. The config.log file only provides the additional errors: configure:4291: x86_64-apple-darwin13.4.0-clang -V >&5Ĭlang-4.0: error: argument to '-V' is missing (expected 1 value)Ĭonfigure:4291: x86_64-apple-darwin13.4.0-clang -qversion >&5Ĭlang-4.0: error: unknown argument: '-qversion' noĬonfigure: error: in `~/Code/build-gimp/GIMP':Ĭonfigure: error: C compiler cannot create executables autogen.sh -prefix=$PREFIX -without-libxpm see the same warning ( aclocal-1.16: warning: couldn't open directory '~/Code/build-gimp/share/aclocal': No such file or directory) followed by the errors: checking whether the C compiler works. I then cd into GIMP (for me all caps) and upon running. I also should clarify that where I receive the warning aclocal-1.16: warning: couldn't open directory '/share/aclocal': No such file or directory under Step 4 happens after I cd into mypaint-brushes.Ĭontinuing along Step 4 (if I ignore that initial warning), make and make install in the mypaint-brushes directory do not produce warnings/errors.
Hello I can verify that echo $PREFIX shows the expected directory that I set up in Step 1. # Filters > Enhance > Heal Selection and several others should now be available. # open Preferences, expand the folders dropdown, select Plug-ins, and add the plug-ins folder # Now open your system's copy of GIMP (installed by Homebrew Cask in my case), # but I decided to put them in their own directory and tell GIMP about it.Ĭp src/resynthesizer/resynthesizer plug-ins/Ĭp src/resynthesizer-gui/resynthesizer_gui plug-ins/ # If there are no errors, proceed to the next step.ĥ - Install Resynthesizer # You could copy the plugin files to one of GIMP's default plugin directories, # I don't believe `make install` will do what we want here, so skip it. # I do not know what the ramifications of this change are, I only know that it compiled and seems to work. # Without this change I was getting a 'symbol(s) not found' error. # Add 'static' in front of 'inline void'.
# At the end of the file is the definition for swap_vector_elements. # Open lib/engineTypes.h in your editor of choice. # In order to get Resynthesizer to compile on macOS, I had to make a small change in the source. # You should be able to skip editing the Resynthesizer source. # NOTE: found the following change to be unnecessary on their system. # Now's the time to `git checkout` a branch or tag if you don't want to compileģ - Install dependencies # Resynthesizer needs libgimp2.0 to compileĤ - Compile Resynthesizer # We're on the home stretch now Git clone git:///bootchk/resynthesizer.git
# Make sure you've placed 'config.site' in $PREFIX/shareĢ - Acquire sources # Now we're going to get the Resynthesizer source. # to make sure it was used instead of the Homebrew version. # that module which may have worked, I symlinked the system perl into $PREFIX/bin # It did not come with a module Resynthesizer needed to compile, so rather than install # In my case, I had installed perl from Homebrew at some point in the past. Mkdir -p $PREFIX/share # This is where config.site should be placed. # We also need to create a couple other important directories. # We need to create this directory if it does not exist. # Let's refer to this directory with a variable # We will assume that our build directory is '~/Code/build-gimp-plugins'. # However, it's best if it's a new, empty directory unless you know what you're doing. # You can put your build directory wherever is convenient. Overviewġ - Setup build directory # I setup my build directory as recommended by () on. This guide assumes you'll be running Resynthesizer under GIMP 2.10.10 installed with brew cask install gimp. This should simplify the process of compiling GIMP plugins on macOS. Homebrew was used to fulfill as many dependencies as possible.Īfter writing Version 1, I decided to make a Tap available which contains libgimp2.0. The following documents the steps I took to compile the latest version of Resynthesizer on macOS Sierra (10.12.6) for GIMP 2.10.10.