Replies: 3 comments
-
You mention 'ng' as an issue. That's part of the 'library combo' referring to the selection you made when configuring gnustep-make to decide whether you want a 'traditional' environment (building using the gcc compiler and its objc runtime) or a 'next generation' environment using the llvm/clang compiler and the matching objc runtime (which you can build/install separately). As you 'chose' (it's the default on most systems) the traditional environment, some features (objective-c 2 language) are not available, but the library is still perfectly functional. The automated regression tests should tell you where features are missing because your environment hasn't been set up to support them, but unless you specifically want to use a particular feature, that doesn't matter; only actual test failures indicate a bug/issue. There's no such thing as an 'ng framework' and stack overflow is wrong if it suggests a dependency on apple proprietory libraries. If you actually have build errors (rather than warnings that some features are unsupported etc) you will need to look at the build logs to see what specific issue caused the build to fail. |
Beta Was this translation helpful? Give feedback.
-
I was able to build and install libobjc2 but when I run ./configure on this repo it still says I'm missing ng runtime. I'm unable to determine what this means is there any documentation on how to set this up? |
Beta Was this translation helpful? Give feedback.
-
But to make a guess, you should reconfigure/reinstall gnustep-make using the correct configuration options.
Now, if you want to use libobjc-2 the process is a bit more convoluted. After (2), when your environment is set up, you build/install libobjc2 (which may be tricky, but should use the information set in (2) to decide the correct installation location), and you go back and repeat (1) and (2) again, but this time use the --with-library-combo=ng-gnu-gnu option configuring gnustep-make. When you get to (3) the build will work, unless you didn't succeed in installing libobjc2 correctly, in which case the configure output will most likely end with something like this: That means what it says; so if your libobjc2 is installed in a non-standard location you need to go back to (1) and reconfigure with environment variables set to point to the location where you have installed it. |
Beta Was this translation helpful? Give feedback.
-
Hi! I've been trying to use this library but haven't been able to do so, this is what i've achieved:
On linux I can get the library to build and run tests but a portion of the library doesn't build due to linux missing an "ng framework" but I find no references of this ng framework in the docs. Stackoverflow says these must be the apple proprietary libraries so it will absolutely not work on linux.
On macOS I am able to build but none of the test run, i get errors about duplicate method declaration of the apple stuff but i'm unable to find anyone else getting this issue, am I doing something wrong?
I want to be able to build and have the tests pass.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions