Re: [Gimp-developer] trying to compile gimp master on Ubuntu 20.04

Ell via gimp-developer-list <[email protected]>
Newsgroups gmane.comp.video.gimp.devel
Message-ID <[email protected]>

On 8/5/20 10:26 AM, Marco Ciampa via gimp-developer-list wrote:
> On Tue, Aug 04, 2020 at 09:33:56PM +0300, Ell via gimp-developer-list wrote:
>>
>>
>> On 8/4/20 9:16 PM, Marco Ciampa via gimp-developer-list wrote:
>>> Trying to compile gimp master on Ubuntu 20.04 I see this error:
>>>
>>> ake[4]: Entering directory '/home/marco/git/gnome/gimp-master/app/core'
>>> make[4]: *** No rule to make target 'gimppickable-contiguous-region.c', needed by 'gimppickable-contiguous-region.o'.  Stop.
>>> make[4]: Leaving directory '/home/marco/git/gnome/gimp-master/app/core'
>>> make[3]: *** [Makefile:1452: all] Error 2
>>> make[3]: Leaving directory '/home/marco/git/gnome/gimp-master/app/core'
>>> make[2]: *** [Makefile:1305: all-recursive] Error 1
>>> make[2]: Leaving directory '/home/marco/git/gnome/gimp-master/app'
>>> make[1]: *** [Makefile:869: all-recursive] Error 1
>>> make[1]: Leaving directory '/home/marco/git/gnome/gimp-master'
>>> make: *** [Makefile:770: all] Error 2
>>>
>>> Any hint?
>>
>> This happens in existing builds when we convert C files to C++.  A clean
>> rebuild should fix it.
> 
> What do you mean? And make clean did not resolve. 

Yeah, it should be a *completely* clean rebuild, as in, start from an
empty build directory (or, if you build in the source directory, use
"git clean -dxf").

A more surgical approach, if you don't want to do a full rebuild, is to
change "gimppickable-contiguous-region.c" to
"gimppickable-contiguous-region.cc" at the top of
"app/core/.deps/gimppickable-contiguous-region.Po" in your build directory.

--
Ell
_______________________________________________
gimp-developer-list mailing list
List address:    [email protected]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.