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

Juha Martikainen juha.martikainen at anygraaf.fi
Tue Jun 14 09:17:23 UTC 2016


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?

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?

Regards,
Juha




More information about the HarfBuzz mailing list