discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Problem with my first app


From: Pascal Bourguignon
Subject: Re: Problem with my first app
Date: Sat, 13 Oct 2001 20:33:58 +0200 (CEST)

> Date: Sat, 13 Oct 2001 10:49:19 -0400
> From: PERON =?iso-8859-1?Q?St=E9phane?= <speron@telys.com>
> 
> 
>  Hi all,
> 
>  I'm trying to make a first app with GNUSTEP.
> 
>  For help, I use the manual "First Steps in GNUSTEP Gui Programming"
>  from
>  Nicola Pero.
> 
>  I have been trying to compile the Firstapp given as example :
> 
> #include <Fondation/Fondation.h>

Fondation se dit Foundation en anglais !

> #include <AppKit/AppKit.h>
> 
> @interface MyDelegate : NSObject
> - (void) applicationWillFinishLaunching: (NSNotification *)not;
> @end
> 
> @implementation MyDelegate
> - (void) applicationWillFinishLaunching: (NSNotification *)not;
> {
>   NSMenu *menu;
>   
>   menu = AUTORELEASE ([NSMenu New]);

The method names all begin with low case. It's [NSMenu new].


> Encod.c:1:33: Fondation/Fondation.h: Aucun fichier ou répertoire de ce type
--> Foundation/Foundation.h

> In file included from /opt/GNUstep/System/Headers/Foundation/Foundation.h:74,
>                  from /opt/GNUstep/System/Headers/AppKit/AppKit.h:36,
>                  from Encod.c:2:
> /opt/GNUstep/System/Headers/Foundation/NSProtocolChecker.h:27:2: warning: 
> #import is obsolete, use an #ifndef wrapper in the header file

Strange,  my   $GNUSTEP_SYSTEM_ROOT/Makefiles/common.make  contains  a
OBJCFLAGS=-Wno-import to  avoid this (fascist) warning.  Are you using
the latest version of GNUstep?


-- 
__Pascal_Bourguignon__              (o_ Software patents are endangering
()  ASCII ribbon against html email //\ the computer industry all around
/\  and Microsoft attachments.      V_/ the world http://lpf.ai.mit.edu/
1962:DO20I=1.100  2001:my($f)=`fortune`;  http://petition.eurolinux.org/

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT d? s++:++(+++)>++ a C+++  UB+++L++++$S+X++++>$ P- L+++ E++ W++
N++ o-- K- w------ O- M++$ V PS+E++ Y++ PGP++ t+ 5? X+ R !tv b++(+)
DI+++ D++ G++ e+++ h+(++) r? y---? UF++++
------END GEEK CODE BLOCK------



reply via email to

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