discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Gorm build error


From: Boris D.
Subject: Re: Gorm build error
Date: Tue, 26 Mar 2024 19:01:40 -0700
User-agent: Mozilla Thunderbird

I have the following packages from Ubuntu:

libgnustep-base-dev/jammy 1.28.0-4build1
libgnustep-base1.28/jammy 1.28.0-4build1
libgnustep-gui-dev/jammy 0.29.0-2build1
libgnustep-gui0.29/jammy 0.29.0-2build1

In addition, I have the following (I think from https://github.com/plaurent/gnustep-build):

ls /usr/GNUstep/Local/Library/Libraries/
gnustep-base libgnustep-base.so.1.29 libgnustep-corebase.so.0 libgnustep-gui.so.0 libobjc.so.4.6
gnustep-gui libgnustep-base.so.1.29.0 libgnustep-corebase.so.0.2 libgnustep-gui.so.0.30.0 pkgconfig
libgnustep-base.so libgnustep-corebase.so libgnustep-gui.so libobjc.so
I'm not sure which gets used when I run make. Maybe this is part of the issue.

On 2024-03-26 11:23, Gregory Casamento wrote:
I have added some changes to address this.    I still need the information that I asked for to be fully sure that this will address your issue or that you are using a valid configuration.

Please give it a try and let us know.

Thanks, GC

On Tue, Mar 26, 2024 at 8:05 AM Gregory Casamento <greg.casamento@gmail.com> wrote:
Hey,

This appears to be coming from GormResourceEditor which derives from GormGenericEditor which derives from NSMatrix.  

_selectedCells is a non-private ivar of NSMatrix so it should be okay for it to be accessed directly by a subclass.   Additionally, this builds properly both with clang and GCC on Debian.

I am looking into this.  Could you give any additional information about which version of the base and gui library you’re using?

Thanks,
Gregory Casamento
GNUstep Lead Developer / Black Lotus, Principal Consultant
http://www.gnustep.org - http://heronsperch.blogspot.com
https://www.patreon.com/bePatron?u=352392 - Become a Patron


On Mon, Mar 25, 2024 at 03:07 Fred Kiefer <fredkiefer@gmx.de> wrote:
Looks like Gorm is using the instance variable directly while it should be using the corresponding method. No idea why this is the case but it should be easy to fix.

> Am 25.03.2024 um 04:07 schrieb Boris D. <borisd@gmx.com>:
>
> Hello,
> Trying to build the latest release of Gorm (gorm-1.3.1.tar.gz) on Ubuntu
> 22.04 results in the following error:
>
> Making all for app Gorm...
>  Creating Gorm.app/....
>  Compiling file Gorm.m ...
>  Compiling file main.m ...
>  Linking app Gorm ...
> GormCore/./obj/libGormCore.so: error: undefined reference to
> '__objc_ivar_offset_NSMatrix._selectedCells.^^C'
>
> Any suggestions?
>
>




--
Gregory Casamento
GNUstep Lead Developer / Black Lotus, Principal Consultant
http://www.gnustep.org - http://heronsperch.blogspot.com
https://www.patreon.com/bePatron?u=352392 - Become a Patron

reply via email to

[Prev in Thread] Current Thread [Next in Thread]