gnustep

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 && make). I'm getting this error: libgnustep-gui.so: undefined reference to 'png_sizeof' I have ...

Gorm main window does not accept drag-and-drop.

When I try to add any widget (label, button ...) to main application Window in Gorm, the Window does not accept the widget. I try to drag and drop but nothing wants to 'stick'. When I select and left click on button widget in palette window the curson changes to '2 green squares'. When I start dragging it changes to '2 black squares'. A...

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 <Foundation/Foundation.h> int main(int argc, const char *argv[]) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; NSLog(@"Hello world\n"); [pool drain];...

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 and inspect variables, the call stack or whatever. Now this isn't the end of the world if...

Is Objective-C only used for development on Mac OS/iPhone?

The title says it all. 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 broader base for Objective-C? I'm interested if there are companies tha...

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 ...

unable to make the make file

Hi Sir first of all i would like to thank you for answering me . still i am stuck up with an error when i type include $(GNUSTEP_MAKEFILES)/common.make in the MINGW32 shell i am getting the error as follows sh: GNUSTEP_MAKEFILES: command not found sh: include: command not found please tell me whether i should make a make.txtfile an...

Can't build OCUnit in GNUstep/Win32 environment - objc/runtime.h not found

I'm trying to unit test objective-c classes built in the MinGW shell. Since OCUnit has been embraced by Apple for XCode, it seems that the developer, Sen:te, has now focused on that. So, the last source distro that claims to support GNUstep is v27. Anyway, I downloaded the v27 tarball and tried to build in MinGW. You first have to bu...

‘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 <Foundation/Foundation.h> int main (int argc, char *argv[]) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; NSLog (@"Hello"); [pool drain]; return 0; } Output of the compiler: $ gc...

GNUStep Getting Started

I downloaded GNUStep and installed it, however i am not sure where i can find an IDE. does anyone know what programs serve as a GNUStep IDE/where to get them? Failing that, does anyone know of a tutorial on how to create and compile a basic GNUStep program? ...

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 having trouble finding much on the subject) is that currently, no Objective-C 2.0 features wor...

Objective-C on GNUstep AutoReleasePool undeclared problem

I'm new to Objective-C and working in GNUstep and MinGW environment. I am compiling this code but having an error: #import "Foundation/Foundation.h" @interface C : NSObject { float f; } - (void) gamerHell: (NSString *) name : (NSString *) lastName ; @end @implementation C - (void) gamerHell: (NSString *) firstName : (NSString *...

How do I compile a GNUstep application that uses NSApplication on Windows?

I am exploring with compiling an application with GNUstep on Windows. This is my main.m file: #import <???/???.h> int main(int argc, const char *argv[]) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; [NSApplication sharedApplication]; [pool release]; } I realize this is an incomplete fragment to say the le...

GNUStep NSAutoreleasePool incompatibility

According to another Stack Overflow post the drain message is an Apple-only call: NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; NSLog (@"Hello"); [pool drain]; return 0; Is it safe to replace drain with release? I am trying to port an Objective-C application to run on Linux (Ubuntu at the moment). Should I give up even b...

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 Ubuntu package anyway.) In light of this should we use C++ (I would really rather not), C...

Error When Using Make

Hello, 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 = main.m HelloWorld_RESOURCE_FILES = include $(GNUSTEP_MAKEFILES)/application.make But when i run make in ...

Error With Foundation.h

Hello, I learning Objective-C in Linux(Ubuntu), but when i tryed to compile my application that needs the Foundation headers i got an error saying that the file cannot be found, but i have installed the GNUstep development package(gnustep-devel). Here is my code: // Fraction.h #import <Foundation/NSObject.h> @interface Fraction: NSObj...

Character Input In Objective-C

Hello, I'm learning Objective-C using GNUstep, but i searched at Google for some example of character input using Objective-C, like scanf in C and cin at C++, but i didn't found, someone can help me? Thanks. ...

Zipping Things Using Objective-C

Hello, 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? Thanks. ...

Open File Dialog Box

Hello, 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 File Dialog, then how I can open it and store the user selected file in a char*? Than...