discuss-gnustep
[Top][All Lists]
Advanced

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

Re: GNUstep - Documentation


From: Fred Kiefer
Subject: Re: GNUstep - Documentation
Date: Sun, 25 Jul 2021 12:00:16 +0200

Bob,

you should not give up too soon. Just ignore the corebase error and go ahead and compile GNUstep gui and core. You will need some extra libraries for these. Not having done a Windows compile in years, I don't remember which ones. But after that you should be able to compile and run your own code.

Cheers,
Fred

On the road

Am 25.07.2021 um 11:23 schrieb Bob Plymale <bplymale@gmail.com>:

It seems all of the documentation for install configuration is dated and no longer works as described, such as the Windows installer, It didn't play well, so I dropoped it. Then it was recommended to follow /tools-windows-msvc at https://github.com/gnustep/tools-windows-msvc. This one had potiential but alas running the build.bat script bombed with the following errors:

1 warning generated.
 Linking library libgnustep-corebase ...
lld-link: error: undefined symbol: __declspec(dllimport) pthread_once
>>> referenced by C:\Users\bplym\Desktop\tools-windows-msvc\src\gnustep-corebase\Source\CFRunLoop.c:436
>>>               obj/libgnustep-corebase.obj/CFRunLoop.c.o:(CFRunLoopGetCurrent)
>>> referenced by C:\Users\bplym\Desktop\tools-windows-msvc\src\gnustep-corebase\Source\CFRunLoop.c:462
>>>               obj/libgnustep-corebase.obj/CFRunLoop.c.o:(CFRunLoopGetMain)

lld-link: error: undefined symbol: __declspec(dllimport) pthread_getspecific
>>> referenced by C:\Users\bplym\Desktop\tools-windows-msvc\src\gnustep-corebase\Source\CFRunLoop.c:438
>>>               obj/libgnustep-corebase.obj/CFRunLoop.c.o:(CFRunLoopGetCurrent)

lld-link: error: undefined symbol: __declspec(dllimport) pthread_setspecific
>>> referenced by C:\Users\bplym\Desktop\tools-windows-msvc\src\gnustep-corebase\Source\CFRunLoop.c:442
>>>               obj/libgnustep-corebase.obj/CFRunLoop.c.o:(CFRunLoopGetCurrent)

lld-link: error: undefined symbol: __declspec(dllimport) pthread_key_create
>>> referenced by C:\Users\bplym\Desktop\tools-windows-msvc\src\gnustep-corebase\Source\CFRunLoop.c:424
>>>               obj/libgnustep-corebase.obj/CFRunLoop.c.o:(_CFRunLoopCreateThreadKey)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [/c/GNUstep/x64/Debug/share/GNUstep/Makefiles/Instance/library.make:307: obj/gnustep-corebase.lib] Error 1
make[3]: *** [/c/GNUstep/x64/Debug/share/GNUstep/Makefiles/Instance/library.make:292: internal-library-all_] Error 2
make[2]: *** [/c/GNUstep/x64/Debug/share/GNUstep/Makefiles/Master/rules.make:297: libgnustep-corebase.all.library.variables] Error 2
make[1]: *** [/c/GNUstep/x64/Debug/share/GNUstep/Makefiles/Master/library.make:37: internal-all] Error 2
make: *** [/c/GNUstep/x64/Debug/share/GNUstep/Makefiles/Master/serial-subdirectories.make:53: internal-all] Error 2
Failed


I have some macOS code that I want to make multiplatform so I was leaning towards rewrite in wxWidgets so my code portable. Basically if I could get objective-c to work on windows and linux that would be my portable code, and to say I really enjoy coding in objective-c regardless of what Apple does with thee version.


Bob


reply via email to

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