Questions tagged [gnustep]

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.

198 questions
1
vote
1 answer

What is the standard way of doing IP Networking in GNUstep?

I've looked over the Classes that seem relevant but it is not clear that there is a Class equivalent to Pipe that is for TCP/UDP sockets. The Socket class description seems to not just do what you need to create and bind a port and set up listening.…
Dale Amon
  • 219
  • 2
  • 5
1
vote
0 answers

GNU STEP Objective C NSDecimal Value decimalNumberByDividingBy unexpected result

I'm doing some gnustep programming specifically with NSDecimalNumber and I don't understand the result here, this is a simple division NSDecimalNumber *n = [[NSDecimalNumber one] decimalNumberByDividingBy: [NSDecimalNumber …
1
vote
1 answer

Objective-C Blocks Error

I just start learning Objective-C. I got an error when trying to make very small Objective-c Block example. It always shows "expected identifier or '(' before '^' token" errors?. COULD YOU PLEASE TELL ME WHERE DID I MAKE WRONG? #import…
Toan Tran Van
  • 695
  • 1
  • 7
  • 25
1
vote
2 answers

Segfaulting on a simple program using managed dynamic storage

I've tried asking a couple people I know but they were probably too busy to give me at advice on this. I keep running into walls with the way alloc/dealloc are dealt with. The following one is driving me nuts... this is a boiled down essence of some…
Dale Amon
  • 219
  • 2
  • 5
1
vote
2 answers

Gnustep with Arc and Gui fails INCOMPATIBLE ABIs

Basically, I followed the instructions here: http://wiki.gnustep.org/index.php/GNUstep_under_Ubuntu_Linux With the extra step of building the gui and back. If I build and run a non-gui program, all works well. Only when I add something that uses the…
Lloyd Sargent
  • 599
  • 4
  • 13
1
vote
1 answer

Why GNUstep NSRunLoop quits immediately with ARC?

I am trying GNUstep. If it's working well, I'll try to make a website with it. Anyway, I am stuck from at first. GNUstep NSRunLoop implementation doesn't seem to work well. Here's my code. #import @interface AAA :…
eonil
  • 83,476
  • 81
  • 317
  • 516
1
vote
1 answer

GNUstep Objective-C procedure entry point could not be located

I am new to Objective-C and I am using GNUstep to develop it on Windows. Each time I try to create a file, it compiles successfully but when I try to run the .exe I get a following error: procedure entry point gzdirect could not be located in…
Raghav Malik
  • 751
  • 1
  • 6
  • 20
1
vote
2 answers

Unable to compile Objective-C code on Ubuntu

So I have this piece of code... /** * cdb.m * Copyright (C) 2013 Naveen Mathew. All rights reserved. */ #import #import "cdb.h" #import #import @implementation CDB : Object { } - (int) main { …
1
vote
2 answers

property/synthesize pair - do the getters and setters autorelease objects?

In the getter function (that is automatically generated) for the property name, is the object returned as follows? [self.name autorelease]; return self.name; In the setter function (also automatically generated), is the retained object…
Patt Mehta
  • 4,110
  • 1
  • 23
  • 47
1
vote
2 answers

Zipping Things Using Objective-C

I'm learning Objective-C using GNUstep(because I use Linux). I was thinking in create a simple zipper application only to practice, but how where i can find a tutorial to build it? and which is the common library used to this things in Objective-C?…
Nathan Campos
  • 28,769
  • 59
  • 194
  • 300
1
vote
3 answers

Error When Using Make

I'm learning Objective-C using GNUStep in my Windows(Cygwin) and i have two files, one source and one make file: include $(GNUSTEP_MAKEFILES)/common.make APP_NAME = HelloWorld HelloWorld_HEADERS = HelloWorld_OBJC_FILES =…
Nathan Campos
  • 28,769
  • 59
  • 194
  • 300
1
vote
0 answers

objective c libraries on ubuntu

I installed GNUStep on Ubuntu 12.10, and some tools for Objective-C development. I then tried to compile the following code. #import int main(int *argc, const char *argv[]) { NSAutorelease *pool = [[NSAutorelease alloc]…
Sarah Zeftawy
  • 39
  • 1
  • 3
1
vote
0 answers

error: cannot find interface declaration for ‘NSAttributedString’ with GNUStep

I have been messing around with GNUStep, and I have a simple main.m, which compiles fine. I wanted to see if objective-c libraries (meant for ios/mac) work with GNUStep, so i downloaded JSONKit and tried to compile that, but I keep getting this…
mgrandi
  • 3,389
  • 1
  • 18
  • 17
1
vote
1 answer

How to build GNUstep programs on OpenBSD?

I am trying to build a GNUStep program on OpenBSD. I installed packages gnustep-base and gnustep-make. my main.m: #import int main(void) { NSLog(@"Hello World!"); return 0; } GNUmakefile: include…
Salil
  • 9,534
  • 9
  • 42
  • 56
1
vote
1 answer

How to load dll or lib files in LLVM?

I am new to LLVM. I built LLVM and Clang on windows by GnuStep yesterday. LLVM+CLang:3.2 GCC:4.6.1(GnuStep) OS:Win7 64 I can compile Objective-c source file to both bitcode and exe. The exe works, but when I tried to execute the bitcode, I got this…
neohope
  • 1,822
  • 15
  • 29