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
3
votes
2 answers
error: redefinition of ‘struct StructName’ message when compiling in Objective-C on Linux
I'm trying to compile Objective-C code on Ubuntu 12 Linux.
main.m looks like this:
#import
#import "CEFoo/CEFoo.h"
int main (int argc, const char * argv[])
{
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
…

Geremy
- 2,415
- 1
- 23
- 27
3
votes
3 answers
‘NSAutoreleasePool’ may not respond to ‘-drain’ on Ubuntu
I'm trying to compile the following Objective-C program on Ubuntu Hardy, but for some reasons, I'm getting warnings.
#import
int main (int argc, char *argv[])
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc]…

David Lin
- 5,538
- 4
- 25
- 23
2
votes
1 answer
compiling objective-c code for ios app on Windows
I know objective-c code can be compilied on Windows by gnuStep. GnuStep clone most of the apple libraries but not all. So I am looking smart way find the remaining class since I assume using apple library on other os might be against the apple's…

csk
- 31
- 2
2
votes
4 answers
Unable to Compile Objective C using Gnustep on windows
Hi i am a beginner learning objective c.
i am finding an error "hello.m:1:34: Foundation/Foundation.h: No such file or directory"
i came to know that i need to make a make file
may i know how to make the make file please
Ramu
2
votes
3 answers
How can i use Objective-C's Property feature in GNUstep?
I'm trying to use Objective-C 2.0 feature Property in GNUstep(using Windows).
But i can't use @property sign and @synthesize.
Although All of my codes are correct,compiler can't compile my property code.
Compiler also can't understand "@" sign.
Can…

Fire Fist
- 7,032
- 12
- 63
- 109
2
votes
1 answer
NSPortTimeoutException while using Distributed Object
I am using distributed object for inter process communication. I am running one server and four instance of client but i am getting NSPortTimeoutException. I want to store client object @server for further communication between clients.
//client…

Parag Bafna
- 22,812
- 8
- 71
- 144
2
votes
1 answer
JSON Parser for GNUstep runtime (Objective-c 1.0?)
Is there a JSON Parser Library for GNUstep runtime (Objective-c 1.0)?

Muhammad Hewedy
- 29,102
- 44
- 127
- 219
2
votes
4 answers
Linux Clang and Objective-C base library
I have been experimenting with Objective-C using GCC + GNUstep on an Ubuntu system.
Now regarding the LLVM Clang compiler, what kind of *step library does it offer? Does it use the GNUstep on the Apple Cocoa? I am mostly interested in the base…

Dimitrios Menounos
- 545
- 1
- 6
- 17
2
votes
1 answer
How to debug a GNUstep application?
I'm just starting to learn Objective-C using GNUstep on Windows and I'm wondering what type of debugging options are available? I'm using make to compile and link the code, but once I run the app there doesn't appear to be a way to step through code…

Jason Roberts
- 511
- 4
- 6
- 12
2
votes
2 answers
Does Foundation use Core Foundation?
To me it doesn't seem like it. Of course I don't have sources of Foundation, but in case of GNUStep, take this example.
They have a NSArray code like this
https://github.com/gnustep/libs-base/blob/master/Source/NSArray.m
Nowhere in the source do…

Novellizator
- 13,633
- 9
- 43
- 65
2
votes
1 answer
Objective-C compilation with makefile yielding unexpected errors?
Following "Programming in Objective-C (6th Edition) shows this Hello World
#import
int main(void)
{
@autoreleasepool
{
NSLog(@"Programming is fun!");
}
return 0;
}
When I try to compile the…

dav
- 626
- 4
- 21
2
votes
1 answer
Threading and Sockets in Objective-C
NOTE: I've edited my question. I've got it to connect and perform the first callback, but subsequent callbacks don't go through at all.
This is my first time writing Objective-C (with GNUstep; it's for a homework assignment). I've got the solution…

Vivin Paliath
- 94,126
- 40
- 223
- 295
2
votes
2 answers
Problem compiling gnustep-gui-0.16.0 undefined reference to png_sizeof
I'm trying to compile GNUstep on a linux box but gnustep-gui-0.16.0 package is failing. I downloaded GNUstep Startup stable 0.20.1 (http://wwwmain.gnustep.org/resources/downloads.php)and follow instructions about how to compile (./configure &&…

stefanB
- 77,323
- 27
- 116
- 141
2
votes
1 answer
Makefile Question. [Ubunt, GNUstep, ObjC,]
I just made a makefile follow with online tutorials.
http://www.gnustep.org/resources/documentation/Developer/Base/ProgrammingManual/manual_1.html
include $(GNUSTEP_MAKEFILES)/common.make
TOOL_NAME = LogTest
LogTest_OBJC_FILES = source.m
include…

CCC
- 2,164
- 8
- 27
- 47
2
votes
4 answers
Objective-C 2.0 is not working in GNUstep
[GNUStep installers]
gnustep-system-0.24.2-setup.exe
gnustep-core-0.25.0-setup.exe
gnustep-devel-1.1.1-setup.exe
gnustep-cairo-0.22.1-setup.exe
I installed them to windows 7.
But, it is not able to use Objective-C 2.0 syntax.
Example, @property,…

Shiva
- 596
- 1
- 5
- 12