[HarfBuzz] [SPAM] Windows build of harfbuzz with nmake

Nikolay Sivov bunglehead at gmail.com
Tue Jun 14 09:26:50 UTC 2016


On 14.06.2016 12:17, Juha Martikainen wrote:
> So I have VS 2012 compiler. I have harfbuzz 1.2.7 codes. The git version
> did not contain any vcxproj files.
> I find harfbuzz 0.9 codes with Visual Studio project but that was too
> old code for my purpose.
> 
> I have a second build attempt where I build my own vcxproj file:
> 
> There I get the following errors.
> ERROR1:
> 
> hb-coretext.cc
> 1>c:\libraries-vc11\harfbuzz\src\hb-coretext.h(32): fatal error C1083:
> Cannot open include file: 'TargetConditionals.h': No such file or directory
> harfbuzz
> harfbuzz does not contain TargetConditionals.h. Where should this come
> from?

I'm not sure you need to build anything CoreText related on Windows,
since it's a macos only thing.

> 
> ERROR2:
> hb-ot-shape-complex-use.cc
> 1>hb-ot-shape-complex-use-machine.rl(136): error C2065:
> 'consonant_cluster' : undeclared identifier
> 1>hb-ot-shape-complex-use-machine.rl(137): error C2065: 'vowel_cluster'
> : undeclared identifier
> 
> So hb-ot-shape-compllex-use-machine.hh contains the following includes:
> #line 38 "hb-ot-shape-complex-use-machine.rl"
> #line 145 "hb-ot-shape-complex-use-machine.rl"
> 
> hb-ot-shape-complex-use-machine.rl contains the following defines:
> 
> consonant_cluster =
>     R? (B | GB) VS?
>     consonant_modifiers
>     medial_consonants
>     dependent_vowels
>     vowel_modifiers
>     final_consonants
> ;
> vowel_cluster =
>     R? (IV) VS?
>     consonant_modifiers
>     medial_consonants
>     vowel_modifiers
>     final_consonants
> ;
> 
> I don't know what causes this problem?

.rl files needs to be processed with ragel compiler first.

> 
> Regards,
> Juha
> 
> 
> _______________________________________________
> HarfBuzz mailing list
> HarfBuzz at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/harfbuzz



More information about the HarfBuzz mailing list