Thank you very much! That was very easy!
For grins and giggles I tried to build this...
#import <Foundation/Foundation.h>
int main (int argc, const char * argv[])
{
NSLog (@"hello world");
return 0;
}
Then compile with this "clang -I/usr/local/include
-I/usr/GNUstep/System/Library/Headers -L/usr/local/lib
-L/usr/GNUstep/System/Library/Libraries -lgnustep-base -lobjc hello.m -o hello"
When I run that stupid test it core dumps with "Version 2 Objective-C ABI may
not be mixed with earlier versions."
On the plus side, my cmdline app and my hello world window app that caused my
original question now works!
I did notice one issue where the static nstextfield was not centered but was
right justified. I will be happy to look into the issue if you can point me in
the correct direction where to look.
Thanks,
Alexandra
> On Apr 9, 2021, at 1:37 AM, Gregory Casamento <[email protected]>
> wrote:
>
> Alexandra,
>
> On Thu, Apr 8, 2021 at 7:48 PM Alexandra Beebe <[email protected]
> <mailto:[email protected]>> wrote:
> Hello,
>
> I am playing with buildtool and xcode. I have a basic "hello world" window,
> every-time I try to get it I get this error "This is an XCode 5 XIB file". I
> found the error message in
> ./work/libs-gui-gui-0_27_0/Source/GSXibKeyedUnarchiver.m
>
> You are using an older version of the framework. We are about to release a
> new version of the libraries that has XIB v5 support.
>
>
> Looking at the code it looks like its checking in there is a "document"
> defined in the xml.
>
>
> When I go to try and build libs-gui-gui-0_27_0 locally (not using the pkg
> install gnustep-gui) I get the following error
>
> GSCharacterPanel.m:81:10: error: use of undeclared identifier 'TRUE'
> return TRUE;
>
> You should download and build the latest version from github.com
> <http://github.com/>. I have written a script to make this very easy. Make
> sure you have clang installed and execute the following line:
>
> /bin/bash -c "$(curl -fsSL
> https://raw.githubusercontent.com/gnustep/tools-scripts/master/gnustep-web-install
>
> <https://raw.githubusercontent.com/gnustep/tools-scripts/master/gnustep-web-install>)"
>
> That script should download all dependencies and build the frameworks for
> you. I recommend uninstalling any gnustep packages you have downloaded for
> your distro before you run this script.
> Before I was too much time... Is there a tool that will convert the xcode 11
> xib back down to a version that will work with gnustep? Is there a simple
> "hello world" window xib that I could use to see what the differences are?
>
> This is likely a waste of time. There is no tool to convert the xib back to
> a previous version and we have already addressed the issue by implementing
> the newer version.
> Could I install gorm and build the gui using it?
>
> Yes, of course. Gorm is fully functional and has been for some time.
>
> Thanks,
> Alexandra
>
> My pleasure.
>
>
> Yours, GC
> --
> Gregory Casamento
> GNUstep Lead Developer / OLC, Principal Consultant
> http://www.gnustep.org <http://www.gnustep.org/> -
> http://heronsperch.blogspot.com <http://heronsperch.blogspot.com/>
> https://www.patreon.com/bePatron?u=352392
> <https://www.patreon.com/bePatron?u=352392> - Become a Patron
> https://gf.me/u/x8m3sx <https://gf.me/u/x8m3sx> - My GNUstep GoFundMe
> https://teespring.com/stores/gnustep <https://teespring.com/stores/gnustep> -
> Store