a free implementation of Cocoa (formerly NeXT's OpenStep) Objective-C libraries (called frameworks), widget toolkit, and application development tools. It is part of the GNU Project.
Questions tagged [gnustep]
198 questions
1
vote
1 answer
Simple http request in gnustep's objective c not working
#import
main() {
NSURL *url = [NSURL URLWithString:@"http://www.google.com/"];
NSURLRequest *request = [[NSURLRequest alloc] initWithURL:url
…

sof
- 9,113
- 16
- 57
- 83
1
vote
1 answer
I can't compile Objective-C in GNUStep with Windows 7
I am trying to compile the following simple Objective-C code in GNUStep with Windows 7.
#import
int main (int argc, const char * argv[])
{
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
NSLog…

Fire Fist
- 7,032
- 12
- 63
- 109
1
vote
0 answers
Gnustep with Cmake
I am currently trying to use objective-c with cmake and GNUStep and managed to enable objective c in cmake using mingw compiler but i wanted to know how to use gnustep with cmake so i could program in objective c on windows or linux so how could i…

Miki Miki
- 11
- 2
1
vote
1 answer
GNUstep with QT Creator
Is this possible at all? I don't have a mac but would like to learn the language and use an IDE which I like. Project Center and I don't get along too well.

zeboidlund
- 9,731
- 31
- 118
- 180
1
vote
1 answer
undefined reference to '__objc_class_name_...'
I am building an executable (GNUstep).
It depends on a libLibname.a static lib.
In the GNUmakefile of the executable I am linking libLibname.a like this:
executableToolName_LDFLAGS = /usr/GNUstep/Local/Library/Libraries/libLibname.a
It claims to…

shallowThought
- 19,212
- 9
- 65
- 112
1
vote
1 answer
Is something wrong with my GNUstep compiler?
I tried to compile this code:
// Frist program example
#import Foundation/Foundation.h>
int main (int argc, const char * argv [])
{
NSAutoreleasePool * pool - [[NSAutoreleasePool alloc] init];
NSLog (@"Programming is fun!");
[pool drain];
…

ivy
- 39
- 1
- 1
- 5
1
vote
5 answers
How to get a GNUmakefile to recognize CFLAGS option for -std=c99 or -std=gnu99?
I'm trying to compile a GNUstep program with the compiler option either c99 or gnu99, but it isn't being recognized ... here is my makefile:
include $(GNUSTEP_MAKEFILES)/common.make
TOOL_NAME = triangular
triangular_C_FLAGS =…

Arthur Vanderbilt
- 347
- 2
- 9
1
vote
0 answers
Is there a limit to the types of NSConstantString's allowable in gnustep while loops?
Recently I hit an issue with compiling constant @strings in objective-c.
Below is a reproduction of the issue.
This case is fine.
#import
int main() {
BOOL condition = NO;
while(condition) {
NSLog(@"12345678");
…

Chase Minor
- 11
- 1
1
vote
1 answer
How do I add GNUstep compiler(s) to Qt creator to have them compile .mm files on Windows?
I have a MacOS project that needs to compile on Windows. I've been using win32-clang-msvc compiler which seems to be the only included compiler that supports objective-c compilation. However, my files have #import statements that that compiler does…

Karlovsky120
- 6,212
- 8
- 41
- 94
1
vote
2 answers
GNUstep - fatal error: 'objc/objc.h' file not found on Ubuntu 20.04
I have the following problem:
I am on Ubuntu 20.04 and I am trying to set up GNUstep which is required for certain source binaries I want to build
(for the sake of completion, the program I want to build is called Advanced Rendering Toollḱit,…

sschimper
- 83
- 2
- 8
1
vote
0 answers
How to install gnustep in alpine Linux?
I installed the iSH app which is used the alpine linux.
But apk add gnustep doesn’t exist.
My purpose to install gnustep is compile the objective-c codes on iPad.

Shawn Baek
- 1,928
- 3
- 20
- 34
1
vote
0 answers
Swift Build Linux vs macOS not found
I am trying to use an old Obj-C static library in a Swift package. I am able to get the package compiling successfully on my mac by using compiler flags in the swift build command. However when running on a Dockerfile running 5.1-xenial the header…

Aravind Prabhakaran
- 41
- 3
1
vote
1 answer
Building Xcode Project Using GNUstep Makefile Does Not Open Application Window, buildtool Can't Find English.lproj
I completed the CurrencyConverter example using Xcode 2.5 on Mac OS X Tiger 10.4.11, which I called CurrencyConverter2 since it was my second attempt. Since I've read that GNUstep is compatible with the Mac OS X Tiger version of Cocoa, I wanted to…

linguae
- 85
- 5
1
vote
1 answer
Cant build program on Objective-C using GNUstep
I'm trying to build hello world on Objective-C on Linux (Ubuntu).
main.c
#import
int main(void)
{
NSLog(@"asdasd");
return 0;
}
I don't think there is the error here. Then i'd created…

Deck
- 1,969
- 4
- 20
- 41
1
vote
3 answers
Feasible to switch to objective-c on these platforms and situation?
I've written most of a game engine using C++ that runs on OSX and iOS (Xcode 3.5 so, GCC), Linux (GCC), and Windows (Vis Studio 2010). It uses stl vector for collections of objects. It implements message passing. The engine is using OpenGL on the…

Nektarios
- 10,173
- 8
- 63
- 93