[HarfBuzz] Building Harfbuzz with MinGW failed

Stepan Podoskin stepik-777 at mail.ru
Thu Mar 28 01:26:38 PDT 2013

Hi All,

I'm trying to build Harfbuzz (0.9.14) on Windows with MinGW (latest verstion).
'./configure' worked fine, except that it set FreeType font callbacks to false. I have FreeType installed in my mingw directory, but I don't know, should it be found automatically or I need to specify it somewhere.

Anyway, during 'make' I get the following errors:

make[4]: Entering directory `/h/prg/libs-src/harfbuzz/src'
  CXX    libharfbuzz_la-hb-blob.lo
  CXX    libharfbuzz_la-hb-buffer-serialize.lo
  CXX    libharfbuzz_la-hb-buffer.lo
  CXX    libharfbuzz_la-hb-common.lo
hb-common.cc: In function 'hb_language_item_t* lang_find_or_insert(const char*)':
hb-common.cc:213:59: error: 'MemoryBarrier' was not declared in this scope
hb-common.cc: In function 'hb_language_impl_t* hb_language_get_default()':
hb-common.cc:270:44: error: 'MemoryBarrier' was not declared in this scope
make[4]: *** [libharfbuzz_la-hb-common.lo] Error 1

More information about the HarfBuzz mailing list