Success! I was able to install, configure, compile a small program.
Nice, that’s great! Questions. 1. I am new to Windows so is it customary to include the dll's (I
do not see static lib's) with the program? On Mac I either include
static lib's or the shared dll's and copy it to the program
directory.
Yes you’ll have to distribute the DLLs alongside your EXE. Static linking is not permitted by the LGPL.
2. To confirm the only frameworks available are GNUstep Base
Library (Foundation) and
GNUstep CoreBase Library (CoreFoundation).
That’s correct as of now. 3. How do you handle the GUI part of the app if it is not a
console only app?
In our project we use Qt/QML for the UI layer on Windows and Android, which integrates nicely using some glue classes that allow us to bind QML elements directly to our ObjC model via KVO.
That being said, I think it shouldn’t be too involved to get gnustep-gui and -back working with the MSVC toolchain. The main thing that needs to be done is annotate all classes with GS_EXPORT_CLASS, and probably some tweaks in Autoconf, mirroring the changes done in Base:
Apart from that we’ll also need to add any dependencies like libtiff to the scripts. I’d very much like to get the complete GNUstep stack working with this setup, and hopefully will be able to spend some time working on it soon, but please feel free to take a look if you want to jump right in.
Frederik
|