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
0
votes
1 answer
"gnustep-config --objc-flags" no output
I try to do "gnustep-config --objc-flags" inside Docker/ubuntu and it gives me no output.
Dockerfile:
FROM ubuntu
RUN apt-get update && apt-get install -y fp-ide nodejs php5 ruby build-essential gobjc gnustep gnustep-devel
RUN ln -s /usr/bin/nodejs…

Nick Messing
- 494
- 5
- 14
0
votes
1 answer
Apple's Swift implementation on Windows
I came across an open source implementation of the Swift compiler at https://source.ind.ie/project/phoenix. However as you can see from the code, it was build as an Xcode project (Mac). How can I compile it in GNUstep under Windows/Linux/Unix?
If I…

Nederealm
- 447
- 4
- 15
0
votes
3 answers
How to assign Objective-C properties using dot notation?
I'm new to Objective-C. I'm currently testing properties with the following code. Note this is on windows using GNUstep:
#import
@interface Car : NSObject
@property NSString *color;
@end
@implementation Car
@end
int…

Babiker
- 18,300
- 28
- 78
- 125
0
votes
1 answer
Parsing JSON into NSDictionary with GNUStep doesn't work for Booleans
I want to parse a C string into an NSDictionary. The following code works great when compiled under OS X, but leads to an error "JSON Parse error" when used under Ubuntu 14.04 LTS with GNUStep 7.7. The error only occurs for bool values (true,false),…

muffel
- 7,004
- 8
- 57
- 98
0
votes
1 answer
How to pass nonfragile-abi flag to cmake?
I would like to create an install script for objectiveC with arc and dispatch_queue support for Raspberry Pi. This script will be open sourced in github. Right now lots of the progress is working. But while installing libobjc2 the compiler…

JackPearse
- 2,922
- 23
- 31
0
votes
1 answer
Force a GNUstep "bundle" to be executable
Does anybody know how to get GNUstep-make to compile a bundle but make the resulting binary executable?

d11wtq
- 34,788
- 19
- 120
- 195
0
votes
1 answer
Gcc error trying to compile GNUstep objective-c on Windows
I have installed the four GNU packages (GNUstep MSYS System first, GNUstep core second, GNUstep Devel and finally Cairo Backend) into my C drive (I am using it on Windows).
I have created the directory E: /MyProject/ObjectiveC into which I wrote my…

Satyajit Deb
- 21
- 1
0
votes
1 answer
Strange values in registers and call parameters
I have a very old program, that crashed. While debugging the crash with Windbg, that I've installed as the post-mortem debugger, I noticed that one of the registers was set to a strange value:
rdx=00000000deadface
Stack trace of the thread that…

david a.
- 5,283
- 22
- 24
0
votes
1 answer
gcc: gnustep-config: No such file or directory and unrecognized command line option -fobjc-flags
Hi all please provide me solution for this i want to execute objective using command line
1)
command : gcc -o filename 'gnustep-config --objc-flags' 'gnustep-config --base-libs' -o filename.m
error :
gcc: gnustep-config: No such file or…

Nirbhav Gupta
- 106
- 2
- 9
0
votes
1 answer
Configure system proxy in GNUStep to be used by NSURLConnection
I am using Objective C in GNUStep 1.24 with clang 3.4 on Windows 7
From behind our corporate (authenticated) proxy, I'm trying to make a simple NSURLConnection (NSURL->NSURLRequest->NSURLConnection) over HTTP.
However this only results in "Host not…

user4006718
- 16
- 3
0
votes
1 answer
Objective C on Windows - Error - CreateProcess: No such file or directory
I've just installed GNUStep, MSYS, Code and Devel to allow me develop applications in Objective C on Windows. I followed all the instructions and realized that I got a problem.
When I do:
C:\Users\Marcelo> g++ o.m in console, I get the…

Marcelo Camargo
- 2,240
- 2
- 22
- 51
0
votes
1 answer
Creating your own events in side the main event loop in ObjC
I have not done this since long ago in NeXTStep and seem to remember that you could create objects which could be made part of the event loop and could generate events that were co-equal with those from mouse and keyboard events. But... that was 20…

Dale Amon
- 219
- 2
- 5
0
votes
1 answer
What's wrong with this base64 decoding objective-c code?
I'm starting to learn Objective-C, and I've tried to compile this code on Debian Wheezy with GCC (GNUStep):
#import
int main (int argc, const char * argv[])
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc]…

Bartosz Wójcik
- 1,079
- 2
- 13
- 31
0
votes
1 answer
Error when compliling Objective-C program
I am trying to compile my first Objective-C program. It is just the simple "Programming is fun!" code:
#import
int main (int argc, const char * argv[])
{
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc]…

TheGump
- 1
0
votes
1 answer
GNUstep: scanf does not accept char
I have decided to try out Objective C. Since I do not have a Mac laptop, I have installed GNUStep on my computer. And from the very beginning, I have the following issue.
Code:
// First program
#import
int main (int argc,…

Igor Tupitsyn
- 1,193
- 3
- 18
- 45