On Jul 4, 2006, at 3:09 PM, Richard Stonehouse wrote:

> I tried to build emacs-23.0.0_NS-9.0pre3 from the tarball, under
> Linux (SuSE 9.3) using gcc 3.3.5, against gnustep-make/base 1.12.0
> and gui/back 0.10.3 (all built from tarballs, not SVN).
>
> The ./compile failed as follows:
>
> ...
> nsterm.m: In function -[EmacsView initFrameFromEmacs:]':
> nsterm.m:4301: error: SWindowToolbarButton' undeclared (first use in
> this function)

> As some of the identifiers complained of are presumably meant to be
> in the AppKit libraries but, in my case, aren't, I'm wondering
> whether Emacs requires a more up-to-date gnustep-gui etc than the one
> that I'm using?

Hmm, it appears that GNUstep does not define 'NSWindowToolbarButton'.  
This is probably the correct thing given that GNUstep has no equivalent 
to the little oval-shaped button in the upper left that lets the user 
turn the toolbar on and off under OS X.  If you put #ifdef COCOA around 
the three lines around 4301 beginning with 'toggleButton', this should 
allow compilation with no ill effects.

Sorry for this oversight.

Adrian



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Emacs-app-dev- mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-

Reply via email to