Re: [Gimp-developer] GIMP-2.99 "No rule to make target 'gimpoperationmaskcomponents.c'"

2019-02-17 Thread Shlomi Fish
On Sun, 17 Feb 2019 14:24:56 -0500
Elle Stone  wrote:

> When compiling GIMP-2.99 updated this morning, I got this error:
> 
> make[4]: *** No rule to make target 'gimpoperationmaskcomponents.c', 
> needed by 'gimpoperationmaskcomponents.o'.  Stop.
> make[4]: *** Waiting for unfinished jobs
> make[3]: *** [Makefile:984: all-recursive] Error 1
> make[2]: *** [Makefile:1266: all-recursive] Error 1
> make[1]: *** [Makefile:854: all-recursive] Error 1
> make: *** [Makefile:755: all] Error 2
> 
> In fact there doesn't seem to be "gimpoperationmaskcomponents.c", though 
> there is "gimpoperationmaskcomponents.cc".
> 
> Renaming the file and typing "make" to continue compiling results in a 
> bunch of other errors, and "make" doesn't finish.
> 

Hi Elle!

Try running "git clean -dxf" and then try a clean build.

> ___
> gimp-developer-list mailing list
> List address:gimp-developer-list@gnome.org
> List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
> List archives:   https://mail.gnome.org/archives/gimp-developer-list



-- 
-
Shlomi Fish   http://www.shlomifish.org/
List of Networking Clients - http://shlom.in/net-clients

Chuck Norris has 0 messages in his E-mail inbox. Including already read ones.
— http://www.shlomifish.org/humour/bits/facts/Chuck-Norris/

Please reply to list if it's a mailing list post - http://shlom.in/reply .
___
gimp-developer-list mailing list
List address:gimp-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list


Re: [Gimp-developer] GIMP-2.99 "No rule to make target 'gimpoperationmaskcomponents.c'"

2019-02-17 Thread Elle Stone

On 2/17/19 2:46 PM, Ell via gimp-developer-list wrote:



On 2/17/19 2:24 PM, Elle Stone wrote:

When compiling GIMP-2.99 updated this morning, I got this error:

make[4]: *** No rule to make target 'gimpoperationmaskcomponents.c',
needed by 'gimpoperationmaskcomponents.o'.  Stop.
make[4]: *** Waiting for unfinished jobs
make[3]: *** [Makefile:984: all-recursive] Error 1
make[2]: *** [Makefile:1266: all-recursive] Error 1
make[1]: *** [Makefile:854: all-recursive] Error 1
make: *** [Makefile:755: all] Error 2



This happens each time we convert a C file to C++.  Since both the old
.c and new .cc files compile into the same .o file, autofoo is too dumb
to smoothly handle that for an existing build.  You need to either do
fresh build, or, in your build directory, edit
app/operations/.deps/gimpoperationmaskcomponents.Po, and change
"gimpoperationmaskcomponents.c" to "gimpoperationmaskcomponents.cc", on
the first or second line.

--
Ell


Ell, thanks! compiling from scratch worked.

Best,
Elle
___
gimp-developer-list mailing list
List address:gimp-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list


Re: [Gimp-developer] GIMP-2.99 "No rule to make target 'gimpoperationmaskcomponents.c'"

2019-02-17 Thread Ell via gimp-developer-list



On 2/17/19 2:24 PM, Elle Stone wrote:
> When compiling GIMP-2.99 updated this morning, I got this error:
> 
> make[4]: *** No rule to make target 'gimpoperationmaskcomponents.c', 
> needed by 'gimpoperationmaskcomponents.o'.  Stop.
> make[4]: *** Waiting for unfinished jobs
> make[3]: *** [Makefile:984: all-recursive] Error 1
> make[2]: *** [Makefile:1266: all-recursive] Error 1
> make[1]: *** [Makefile:854: all-recursive] Error 1
> make: *** [Makefile:755: all] Error 2
> 
> In fact there doesn't seem to be "gimpoperationmaskcomponents.c", though 
> there is "gimpoperationmaskcomponents.cc".
> 
> Renaming the file and typing "make" to continue compiling results in a 
> bunch of other errors, and "make" doesn't finish.

This happens each time we convert a C file to C++.  Since both the old
.c and new .cc files compile into the same .o file, autofoo is too dumb
to smoothly handle that for an existing build.  You need to either do
fresh build, or, in your build directory, edit
app/operations/.deps/gimpoperationmaskcomponents.Po, and change
"gimpoperationmaskcomponents.c" to "gimpoperationmaskcomponents.cc", on
the first or second line.

--
Ell
___
gimp-developer-list mailing list
List address:gimp-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list