discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Building applications with GNUstep make on MacOSX


From: Andreas Hoeschler
Subject: Building applications with GNUstep make on MacOSX
Date: Tue, 23 Dec 2003 15:49:20 +0100

Hi all,

I would like to use GNUstep make not only on GNUstep but also on MacOSX. I am currently trying to get a very basic application to work on MacOSX with the following GNUmakefile.

include $(GNUSTEP_MAKEFILES)/common.make
APP_NAME = MyTestApp
MyTestApp_OBJC_FILES = MyTestApp_main.m
MyTestApp_RESOURCE_FILES =
MyTestApp_LOCALIZED_RESOURCE_FILES = MyTestApp.nib
MyTestApp_LANGUAGES = English
include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/application.make

The application constists of

MyTestApp_main.m:
=====================
#import <AppKit/AppKit.h>
int main(int argc, const char *argv[]) {
return NSApplicationMain(argc, argv);
}

and ./English.lproj/MyTestApp.nib which simply contains an emty window that is configured to be visible at launch time. I can successfully build the application, I get an MyTestApp.app in the source directory. When I do

open MyTestApp.app

the application starts presentingh a minimal menu. I neither get the menu from the nib file nor do I see the window in the nib file. Instead I get

2003-12-23 15:41:11.370 MyTestApp[2558] Could not connect the action buttonPressed: to target of class NSApplication
2003-12-23 15:41:11.371 MyTestApp[2558] Could not connect the action buttonPressed: to target of class NSApplication
2003-12-23 15:41:11.371 MyTestApp[2558] Could not connect the action buttonPressed: to target of class NSApplication

on the console. Any idea why? Shouldn't I be able to make Cocoa applications with GNUstep make on MacOSX? Thanks a lot for any suggestions.

Regards,


Andreas

reply via email to

[Prev in Thread] Current Thread [Next in Thread]