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
26
votes
7 answers
Is Objective-C only used for development on Mac OS/iPhone?
I don't know Objective-C but to me it appears a nice language. But the only context I know it from is everything Apple. But Objective-C is even in the GNU Compiler Collection.
Is there something missing in the open ones? Or is there already a…

Norbert Hartl
- 10,481
- 5
- 36
- 46
14
votes
3 answers
Open File Dialog Box
I'm learning Objective-C and trying to develop a simple zipper application, but I stopped when now, when I need to insert a button at my dialog and this button opens a Open File Dialog that will select a file to compress, but I never used a Open…

Nathan Campos
- 28,769
- 59
- 194
- 300
11
votes
10 answers
Unable to find standard libraries when compiling Objective-C using GNUstep on Windows
I just installed GNUstep on my Windows XP machine and I'm attempting to compile the following Objective-C Hello World program from the command line:
#import
int main(int argc, const char *argv[]) {
NSAutoreleasePool…

Jason Roberts
- 511
- 4
- 6
- 12
10
votes
3 answers
Is it possible to port an iOS app to Windows using GNUstep? (for learning purposes)
I am an Objective-C newbie, who still does not have a Mac, but still I want to practice the language. I heard that in the non-Mac world, GNUstep offers a good alternative to Cocoa, and can be used as a lerning tool for new objective-c developers. My…

xantrus
- 1,975
- 1
- 22
- 44
10
votes
1 answer
Objective-C: How is ARC Enabled Within GNUStep?
Objective-C/ARC/memory managements questions have been done to death on SO, but this one seems slightly different to the existing ones.
I've been trying to use Objective-C with GNUStep and Clang. I've downloaded the libraries
apparently required…

Louis Jackman
- 1,001
- 6
- 16
9
votes
3 answers
Will GNUstep support @property and @synthesize?
I'm working on a Cocoa app with the intention of using it on Windows and Linux using GNUstep. I've been avoiding Objective-C 2.0 features thus far, but I'd really love to start using at least properties. What Google seems to tell me (though I'm…

andyvn22
- 14,696
- 1
- 52
- 74
9
votes
4 answers
Objective-C on Linux Compile Error
There seem to be quite a few tutorials on how to do this, each slightly different. I'm hoping someone can recognize the error messages I'm getting and point me in the right direction.
My code, h.m is:
#import
int main (int…

Geremy
- 2,415
- 1
- 23
- 27
8
votes
1 answer
Issue with extensions in Objective-C
The following is a code snippet which deals with class extensions. What I am trying to do is generate a random ID called internal ID (that is used by the program later on) which is stored in an encrypted form in memory. The code fails to compile…

hecate
- 620
- 1
- 8
- 33
8
votes
3 answers
Does Objective-C have a Standard Library?
Most somewhat modern programming languages have a standard library? It is my impression is that there isn't a decent sized standard library for Obj-C , rather that it relies mostly/all on Cocoa and that (plus people not wanting to use GNUstep) is…

Roman A. Taycher
- 18,619
- 19
- 86
- 141
8
votes
11 answers
Best compiled language for Mac OS X and Linux compatibility
We need to write some software that will compile and run on both an Mac OS X server and Ubuntu. We would love to use Objective-C with all of its Cocoa goodness, however the GNUstep implementations of the parts we are using are broken (in the latest…

corydoras
- 7,130
- 12
- 55
- 58
7
votes
5 answers
Developing web application using Objective-C on FreeBSD
I saw that the Clang 3.0 port includes Objective-C as a development language, and furthermore, I also found this port "libobjc2-1.6" (Replacement Objective-C runtime supporting Obj-C 2 features) and "ofc-0.8.1_5" (The Objective-C Foundation Classes…

ikevin8me
- 4,253
- 5
- 44
- 84
7
votes
2 answers
How does one use Obj-C 2.0 with GNUstep?
I'm aware of the existence of libobjc2, and I gather that I'll need to use clang rather than GCC, but I can't find any basic instructions of what's different about the compilation process.
Can anyone give explicit, step-by-step instructions on…

andyvn22
- 14,696
- 1
- 52
- 74
7
votes
3 answers
clang compiling error (undefined reference to objc_autoreleasepoolpush)
So, I got Ubuntu and clang3.0 installed and a simple program.m:
#include
int main()
{
@autoreleasepool{
NSLog(@"Hi");
}
return 0;
}
and I try to compile it like this:
clang first.m -I…

Manifestor
- 575
- 5
- 19
6
votes
3 answers
Is Objective-C used without Cocoa?
It seems that Cocoa seems to be the main platform for Objective-C. GCC (which Xcode uses) supports Objective-C so it must be available on a wide range of platforms.
Are there any notable cross-platform projects that use Objective-C but not Cocoa…

Joe
- 46,419
- 33
- 155
- 245
6
votes
1 answer
Objective C compiling with clang on Linux Foundation/Foundation.h linking: file not found
I'm trying to compile a program in Objective C on Ubuntu, I have installed GNUstep, set all the GNUSTEP_* environment variables, and installed clang, because I read that gcc can't compile Objective-C code with blocks (Objective-C 'anonymous'…

tonix
- 6,671
- 13
- 75
- 136