Re: GIMP Git gimp_too_cursors_get_resource error MacOS

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

 



On Wed, 2018-06-13 at 12:47 -0400, Partha Bagchi wrote:
> On Wed, Jun 13, 2018 at 12:33 PM Michael Natterer <mitch@xxxxxxxx>
> wrote:
> 
> > On Wed, 2018-06-13 at 09:42 -0400, Partha Bagchi wrote:
> > > On Fri, Jun 8, 2018 at 6:42 AM Michael Natterer <mitch@xxxxxxxx>
> > > wrote:
> > > 
> > > > On Fri, 2018-06-08 at 06:36 -0400, Partha Bagchi wrote:
> > > > > On Fri, Jun 8, 2018 at 2:56 AM Michael Natterer <mitch@gimp.o
> > > > > rg>
> > > > > wrote:
> > > > > 
> > > > > > On Thu, 2018-06-07 at 11:28 -0400, Partha Bagchi wrote:
> > > > > > > I get the following:
> > > > > > > 
> > > > > > > Undefined symbols for architecture x86_64:
> > > > > > >   "_gimp_tool_cursors_get_resource", referenced from:
> > > > > > >      -u command line option
> > > > > > > ld: symbol(s) not found for architecture x86_64
> > > > > > > clang: error: linker command failed with exit code 1 (use
> > > > > > > -v
> > > > > > > to
> > > > > > > see
> > > > > > > invocation)
> > > > > > > make[3]: *** [gimp-console-2.99] Error 1
> > > > > > > 
> > > > > > > 
> > > > > > > This is due to this line in ./app/Makefile
> > > > > > > 
> > > > > > > #\
> > > > > > > # -Wl,-u,$(SYMPREFIX)gimp_tool_cursors_get_resource
> > > > > > > 
> > > > > > > 
> > > > > > > I think this should not be there. After I comment it out,
> > > > > > > it
> > > > > > > compiles
> > > > > > > normally.
> > > > > > 
> > > > > > But you probably have no cursors :)
> > > > > > 
> > > > > 
> > > > > How do I verify that? Wouldn't I have had this issue when I
> > > > > was
> > > > > compiling
> > > > > GIMP 2.10? Little confused. :)
> > > > 
> > > > Cursor resource genration was changed in master, we now
> > > > generate
> > > > them in the directory where they are compiled , but they have
> > > > to be linked in by force because nothing in the source
> > > > references
> > > > the symbol.
> > > > 
> > > > Just check if you tools have different cursors.
> > > > 
> > > > Sorry for the late response Mitch. Due to change in the App
> > > > structure, it
> > > 
> > > took me a while to create a MacOS app.
> > > 
> > > Anyway, I'm not exactly sure how to check if the tools have
> > > different
> > > cursors.  Do you mean for instance that If I've selected the
> > > lasso
> > > tool,
> > > then the cursor turns to a lasso? In my case it does.
> > 
> > Then it's good :)
> > 
> 
> That's good to know from my perspective too! :)
> 
> Then we have to remove Line 134 from ./app/Makefile.am. Otherwise,
> GIMP
> won't compile. Do you agree?

If we remove that line, we don't have cursors at all, it simply
won't link in the file that's not referenced from anywhere,
on linux, gcc and standard ld.

Regards,
Mitch

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



[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux