Hi Bob,

Yes, GNUstep Make is built as part of the MSVC toolchain scripts:
https://github.com/gnustep/tools-windows-msvc/blob/improvements/phases/20-gnustep-make.sh

To add libs-gui you’ll probably want to take 30-gnustep-base.sh as a template 
by copying it into e.g. 50-gnustep-gui.sh and update it to build libs-gui.

Regarding Qt/QML, sorry I don’t have a tutorial.

Frederik


> Am 27.07.2021 um 14:42 schrieb [email protected]:
> 
> Frederik,
>  
> Did this improvements branch include gnu-make? I took a peek and could not 
> tell.
>  
> I am trying to get the libs-gui and others compiled, but from what the doc 
> says gnu-make must be the first pkg installed. I would assume but you know 
> how that goes.
>  
> Bob
>  
> From: Frederik Seiffert <[email protected]> 
> Sent: Sunday, July 25, 2021 9:39 AM
> To: Bob Plymale <[email protected]>
> Cc: Discuss-gnustep Discuss <[email protected]>
> Subject: Re: GNUstep Windows MSVC Toolchain Error
>  
> Hi Bob,
>  
> Can you please try building from the „improvements“ branch of 
> tools-windows-msvc?
>  
> Sorry the project is currently a bit in flux as I’ve been working on removing 
> the pthreads dependency and using the Windows-provided ICU library, and these 
> changes have not yet been merged back into Base and CoreBase (the pthreads 
> pull request is a bigger change and still needs to be reviewed).
>  
> Let me know if that gets you any further! GNUstep GUI probably still needs 
> some work to make it work with the MSVC toolchain but hopefully it shouldn’t 
> be too difficult. Would be nice to have the full stack working with this 
> setup.
>  
> Frederik
>  
>  
> Am 24.07.2021 um 11:13 schrieb Bob Plymale <[email protected] 
> <mailto:[email protected]>>:
>>  
>>  
>> I can get this far with the build, but errors out.
>> I guess, has anyone been able to get this to work on Windows?
>>  
>> I sure could use some assistance on getting this to work if possible.
>> 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
>> 
>> c:\Users\bplym\Desktop\tools-windows-msvc>

Reply via email to