On 02/19/2012 09:40 AM, Csanyi Pal wrote: > Sašo Kiselkov <skiselkov...@gmail.com> writes: > >> On 02/19/2012 02:40 AM, German Arias wrote: >>> 2012/2/18 Sašo Kiselkov <skiselkov...@gmail.com>: >>>> It seems to be caused by a change in include dependencies - in the >>>> implementation files I included (for speed of compilation) only a subset >>>> of the Foundation headers needed for compilation. Seems like GNUstep >>>> stopped including NSString.h from the headers included in HKit. You >>>> could simply fix this by replacing all Foundation import lines: >>>> >>>> #import <Foundation/...h> >>>> >>>> with a single: >>>> >>>> #import <Foundation/Foundation.h> >>>> >>>> in files which report compilation errors. > > I did it: > nano HKSyntaxDefinition.m > > <HKSyntaxDefinition.m> > .. > > /* > #import <Foundation/NSArray.h> > #import <Foundation/NSBundle.h> > #import <Foundation/NSDictionary.h> > #import <Foundation/NSFileManager.h> > #import <Foundation/NSPathUtilities.h> > #import <Foundation/NSScanner.h> > #import <Foundation/NSUserDefaults.h> > #import <Foundation/NSValue.h> > */ > > #import <Foundation/Foundation.h> > > .. > </HKSyntaxDefinition.m> > > then run 'make' > > This is gnustep-make 2.6.1. Type 'make print-gnustep-make-help' for help. > Making build-headers for framework HighlighterKit... > Making all for framework HighlighterKit... > Compiling file HKSyntaxDefinition.m ... > HKSyntaxDefinition.m: In function ‘ParseSyntaxGraphics’: > HKSyntaxDefinition.m:47:3: error: cannot find interface declaration for > ‘NXConstantString’
This is your problem, but I'm not sure why it's happening - for all I know, importing Foundation.h should give you all necessary interface declarations... Try running make with "messages=yes" and send the output, your compile flags might be wrong. Also, what compiler are you using? (I tested this with gcc 4.6 without any problems.) -- Saso _______________________________________________ Discuss-gnustep mailing list Discuss-gnustep@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnustep