[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3
From: |
Sašo Kiselkov |
Subject: |
Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3 |
Date: |
Sun, 19 Feb 2012 11:23:20 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 |
On 02/19/2012 09:40 AM, Csanyi Pal wrote:
> Sašo Kiselkov <skiselkov.ml@gmail.com> writes:
>
>> On 02/19/2012 02:40 AM, German Arias wrote:
>>> 2012/2/18 Sašo Kiselkov <skiselkov.ml@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
- [ANN] HighlighterKit 0.1.2 and Gemas 0.3, Germán Arias, 2012/02/14
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3, Ivan Vučica, 2012/02/18
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3, Germán Arias, 2012/02/18
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3, Csanyi Pal, 2012/02/18
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3, Sašo Kiselkov, 2012/02/18
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3, German Arias, 2012/02/18
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3, Csanyi Pal, 2012/02/19
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3, Sašo Kiselkov, 2012/02/19
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3, Csanyi Pal, 2012/02/19
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3,
Sašo Kiselkov <=
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3, Csanyi Pal, 2012/02/19
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3, Csanyi Pal, 2012/02/19
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3, Sašo Kiselkov, 2012/02/19
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3, Csanyi Pal, 2012/02/19
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3, Csanyi Pal, 2012/02/19
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3, Sašo Kiselkov, 2012/02/19
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3, Csanyi Pal, 2012/02/19
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3 - Gemas, Csanyi Pal, 2012/02/19
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3 - Gemas, Sašo Kiselkov, 2012/02/19
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3 - Gemas, Csanyi Pal, 2012/02/19