Re: [Gimp-developer] Missing include file in current GIMP_2_10 branch





On 11/19/18 9:12 AM, Elle Stone wrote:
On 11/19/2018 06:57 AM, Shlomi Fish wrote:
Hi Carmelo,

On Mon, 19 Nov 2018 10:46:43 +0100
Carmelo DrRaw via gimp-developer-list <gimp-developer-list gnome org> wrote:

Trying to compile some plug-ins against the current GIMP_2_10 branch, I get
errors due to a missing include file:

In file included from
/usr/local/gimp/include/gimp-2.0/libgimp/gimpui.h:24:0, from
print_gimp.h:42, from print-image-gimp.c:27:
/usr/local/gimp/include/gimp-2.0/libgimpwidgets/gimpwidgets.h:78:43: fatal
error: libgimpwidgets/gimpspinbutton.h: No such file or directory #include
<libgimpwidgets/gimpspinbutton.h> 
compilation terminated.


you have a stale installation of the headers under /usr/local. Please remove it.

Hmm, I don't install GIMP in /usr/local but rather in a prefix in my 
home folder.

I removed all the files installed by GIMP before updating and doing "git 
clean -xdf" and recompiling from scratch. Which file/folder in a given 
install prefix actually contains the "stale installation of the headers"?

Looking at the contents of "$PREFIX/include/gimp-2.0/libgimpwidgets/ 
here are the files - I don't see gimpspinbutton.h:

Thanks everyone.  The file was indeed not being installed.  Fixed now,
by commit 46d476869985013ea3e620240eaaf445bb3bc5e3.

--
Ell


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]