<p dir="ltr">As far as I remember it only works if you build from a released tarball. If you have cloned harfbuzz from git, you probably need to first make a new source distribution and then try to build from there.<br>
Hope this helps,<br>
Cheers</p>
<p dir="ltr">Cosimo</p>
<div class="gmail_quote">On 13 Jun 2016 8:53 a.m., "Juha Martikainen" <<a href="mailto:juha.martikainen@anygraaf.fi">juha.martikainen@anygraaf.fi</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello!<br>
<br>
I am working with Windows 10 system and Visual Studio 2012 compiler. I would like to compile harfbuzz library for Scribus. I have taken the new harfbuzz codes with git.<br>
<br>
I have read win32 directory readme file instructions and try to configure project using nmake. I run the following nmake command(in win32 directory):<br>
<br>
nmake /f Makefile.vc CFG=release /P<br>
<br>
Resulting:<br>
NMAKE : fatal error U1073: don't know how to make 'config.h.win32'<br>
Stop.<br>
<br>
Whole output:<br>
<br>
<<<br>
<br>
release\Win32\harfbuzz-gobject:<br>
        flags:<br>
        dependents:<br>
        commands:       @-mkdir $@<br>
<br>
release\Win32\harfbuzz-gobject.lib:<br>
        flags:<br>
        dependents:     release\Win32\harfbuzz-gobject-vs11.dll<br>
        commands:<br>
<br>
help:<br>
        flags:<br>
        dependents:<br>
        commands:       @echo.<br>
                        @echo =============================<br>
                        @echo Building HarfBuzz Using NMake<br>
                        @echo =============================<br>
                        @echo nmake /f Makefile.vc CFG=[release^|debug] ^<PREFIX=PATH^> OPTION=1 ...<br>
                        @echo.<br>
                        @echo Where:<br>
                        @echo ------<br>
                        @echo CFG: Required, use CFG=release for an optimized build and CFG=debug<br>
                        @echo for a debug build.  PDB files are generated for all builds.<br>
                        @echo.<br>
                        @echo PREFIX: Optional, the path where dependent libraries and tools may be<br>
                        @echo found, default is ^$(srcrootdir)\..\vs^$(short_vs_ver)\^$(platform),<br>
                        @echo where ^$(short_vs_ver) is 9 for VS 2008, 10 for VS 2010 and so on; and<br>
                        @echo ^$(platform) is Win32 for 32-bit builds and x64 for x64 builds.<br>
                        @echo.<br>
                        @echo OPTION: Optional, may be any of the following, use OPTION=1 to enable;<br>
                        @echo multiple OPTION's may be used.  If no OPTION is specified, a default<br>
                        @echo HarfBuzz DLL is built with OpenType, fallback and Uniscribe support<br>
                        @echo with a bundled Unicode implementation (UCDN).<br>
                        @echo ======<br>
                        @echo DIRECTWRITE:<br>
                        @echo Enable DirectWrite support, requires a recent enough Windows SDK.<br>
                        @echo.<br>
                        @echo GRAPHITE2:<br>
                        @echo Enable graphite2 support, requires the SIL Graphite2 library<br>
                        @echo.<br>
                        @echo FREETYPE:<br>
                        @echo Enable FreeType2 support, requires the FreeType2 library<br>
                        @echo.<br>
                        @echo GLIB:<br>
                        @echo Enable GLib2 support, with GLib Unicode support, requires the GNOME GLib2<br>
                        @echo library.  Enables the build of utility programs.<br>
                        @echo.<br>
                        @echo ICU:<br>
                        @echo Enable the HarfBuzz-ICU layout library, requires the International<br>
                        @echo Components for Unicode (ICU) libraries.<br>
                        @echo.<br>
                        @echo GOBJECT:<br>
                        @echo Enable the HarfBuzz-GObject library, also implies GLib2 support,<br>
                        @echo requires the GNOME GLib2 libraries and tools, notably the glib-mkenums<br>
                        @echo tool script, which will require a PERL interpretor (use<br>
                        @echo PERL=^$(PATH_TO_PERL_INTERPRETOR)) if it is not already in your PATH).<br>
                        @echo.<br>
                        @echo INTROSPECTION:<br>
                        @echo Enable the build of introspection files, also implies GObject/GLib2 support,<br>
                        @echo requires the GNOME gobject-introspection libraries and tools.  You will need<br>
                        @echo to ensure the pkg-config (.pc) files can be found for GObject-2.0 and the<br>
                        @echo Python interpretor (that was used to build the gobject-introsoection tools)<br>
                        @echo can be found by setting PKG_CONFIG_PATH beforehand, and passing in PYTHON=<br>
                        @echo ^$(PATH_TO_PYTHON_INTERPRETOR) respectively, if python.exe is not already<br>
                        @echo in your PATH.<br>
                        @echo.<br>
                        @echo CAIRO_FT:<br>
                        @echo Enables Cairo-Freetype support, needed for the build of the hb-view utility.<br>
                        @echo Implies FreeType2 support and also requires Cairo built with FreeType2<br>
                        @echo support; GLib2 support must also be enabled.<br>
                        @echo.<br>
                        @echo LIBTOOL_DLL_NAME:<br>
                        @echo Use a libtool-style DLL name to mimic the DLL file naming generated by<br>
                        @echo MinGW builds.<br>
                        @echo.<br>
                        @echo Note that GLib2 support is required for all utility and test programs.<br>
                        @echo ======<br>
                        @echo A 'clean' target is supported to remove all generated files, intermediate<br>
                        @echo object files and binaries for the specified configuration.<br>
                        @echo.<br>
                        @echo A 'tests' target is supported to build the test programs, if GLib2 support<br>
                        @echo is enabled.  Use after building the libraries and utilities.<br>
                        @echo.<br>
                        @echo An 'install' target is supported to copy the build (DLLs, utility programs,<br>
                        @echo LIBs, along with the introspection files if applicable) to appropriate<br>
                        @echo locations under ^$(PREFIX).<br>
                        @echo ======<br>
                        @echo.<br>
<br>
<br>
config.h:<br>
        flags:<br>
        dependents:     config.h.win32<br>
        commands:       @-copy $@.win32 $@<br>
<br>
release\Win32\harfbuzz-vs11.dll:<br>
        flags:<br>
        dependents:     config.h release\Win32\harfbuzz\hb-blob.obj<br>
release\Win32\harfbuzz\hb-buffer-serialize.obj<br>
                        release\Win32\harfbuzz\hb-buffer.obj release\Win32\harfbuzz\hb-common.obj<br>
                        release\Win32\harfbuzz\hb-face.obj release\Win32\harfbuzz\hb-font.obj<br>
                        release\Win32\harfbuzz\hb-ot-tag.obj release\Win32\harfbuzz\hb-set.obj<br>
                        release\Win32\harfbuzz\hb-shape.obj release\Win32\harfbuzz\hb-shape-plan.obj<br>
                        release\Win32\harfbuzz\hb-shaper.obj release\Win32\harfbuzz\hb-unicode.obj<br>
                        release\Win32\harfbuzz\hb-warning.obj release\Win32\harfbuzz\hb-fallback-shape.obj<br>
                        release\Win32\harfbuzz\hb-ot-font.obj release\Win32\harfbuzz\hb-ot-layout.obj<br>
                        release\Win32\harfbuzz\hb-ot-map.obj release\Win32\harfbuzz\hb-ot-shape.obj<br>
release\Win32\harfbuzz\hb-ot-shape-complex-arabic.obj<br>
release\Win32\harfbuzz\hb-ot-shape-complex-default.obj<br>
release\Win32\harfbuzz\hb-ot-shape-complex-hangul.obj<br>
release\Win32\harfbuzz\hb-ot-shape-complex-hebrew.obj<br>
release\Win32\harfbuzz\hb-ot-shape-complex-indic.obj<br>
release\Win32\harfbuzz\hb-ot-shape-complex-indic-table.obj<br>
release\Win32\harfbuzz\hb-ot-shape-complex-myanmar.obj<br>
release\Win32\harfbuzz\hb-ot-shape-complex-thai.obj<br>
release\Win32\harfbuzz\hb-ot-shape-complex-tibetan.obj<br>
release\Win32\harfbuzz\hb-ot-shape-complex-use.obj<br>
release\Win32\harfbuzz\hb-ot-shape-complex-use-table.obj<br>
release\Win32\harfbuzz\hb-ot-shape-normalize.obj<br>
release\Win32\harfbuzz\hb-ot-shape-fallback.obj<br>
                        release\Win32\harfbuzz\hb-uniscribe.obj release\Win32\harfbuzz\hb-ucdn.obj<br>
                        release\Win32\harfbuzz\ucdn.obj release\Win32\harfbuzz<br>
<br>
        commands:       link /DLL $(LDFLAGS) $(HB_DEP_LIBS) /implib:$(CFG)\$(PLAT)\harfbuzz.lib -out:$@ @<<<br>
$(harfbuzz_dll_OBJS)<br>
<<<br>
                        @-if exist $@.manifest mt /manifest $@.manifest /outputresource:$@;2<br>
<br>
release\Win32\hb-shape.exe:<br>
        flags:<br>
        dependents:     release\Win32\harfbuzz.lib release\Win32\util<br>
<br>
        commands:       link $(LDFLAGS) $(CFG)\$(PLAT)\harfbuzz.lib $(HB_UTILS_DEP_LIBS) -out:$@ @<<<br>
$(hb_shape_OBJS)<br>
<<<br>
                        @-if exist $@.manifest mt /manifest $@.manifest /outputresource:$@;1<br>
<br>
release\Win32\harfbuzz-icu-vs11.dll:<br>
        flags:<br>
        dependents:     release\Win32\harfbuzz.lib release\Win32\harfbuzz-icu<br>
<br>
        commands:       link /DLL $(LDFLAGS) $(CFG)\$(PLAT)\harfbuzz.lib $(HB_ICU_DEP_LIBS) /implib:$(CFG)\$(PLAT)\harfbuzz-icu.lib -out:$@ @<<<br>
$(harfbuzz_icu_OBJS)<br>
<<<br>
                        @-if exist $@.manifest mt /manifest $@.manifest /outputresource:$@;2<br>
<br>
release\Win32\util:<br>
        flags:<br>
        dependents:<br>
        commands:       @-mkdir $@<br>
<br>
all-build-info:<br>
        flags:<br>
        dependents:     build-info-hb<br>
        commands:       @echo.<br>
                        @echo ----------------<br>
                        @echo Other build info<br>
                        @echo ----------------<br>
                        @echo Built Libraries: $(BUILT_LIBRARIES)<br>
                        @echo Built Tools: $(BUILT_TOOLS)<br>
                        @echo Introspection: $(BUILD_INTROSPECTION)<br>
<br>
all:<br>
        flags:<br>
        dependents:     release\Win32\harfbuzz.lib all-build-info<br>
        commands:<br>
<br>
release\Win32\hb-ot-shape-closure.exe:<br>
        flags:<br>
        dependents:     release\Win32\harfbuzz.lib release\Win32\util<br>
<br>
        commands:       link $(LDFLAGS) $(CFG)\$(PLAT)\harfbuzz.lib $(HB_UTILS_DEP_LIBS) -out:$@ @<<<br>
$(hb_ot_shape_closure_OBJS)<br>
<<<br>
                        @-if exist $@.manifest mt /manifest $@.manifest /outputresource:$@;1<br>
<br>
clean:<br>
        flags:<br>
        dependents:<br>
        commands:       @-if exist $(CFG)\$(PLAT)\HarfBuzz-0.0.typelib del /f /q $(CFG)\$(PLAT)\HarfBuzz-0.0.typelib<br>
                        @-if exist $(CFG)\$(PLAT)\HarfBuzz-0.0.gir del /f /q $(CFG)\$(PLAT)\HarfBuzz-0.0.gir<br>
                        @-if exist $(CFG)\$(PLAT)\hb_list del /f /q $(CFG)\$(PLAT)\hb_list<br>
                        @-del /f /q $(CFG)\$(PLAT)\*.pdb<br>
                        @-if exist $(CFG)\$(PLAT)\.exe.manifest del /f /q $(CFG)\$(PLAT)\*.exe.manifest<br>
                        @-if exist $(CFG)\$(PLAT)\.exe del /f /q $(CFG)\$(PLAT)\*.exe<br>
                        @-del /f /q $(CFG)\$(PLAT)\*.dll.manifest<br>
                        @-del /f /q $(CFG)\$(PLAT)\*.dll<br>
                        @-del /f /q $(CFG)\$(PLAT)\*.ilk<br>
                        @-del /f /q $(CFG)\$(PLAT)\*.obj<br>
                        @-if exist $(CFG)\$(PLAT)\util del /f /q $(CFG)\$(PLAT)\util\*.obj<br>
                        @-if exist $(CFG)\$(PLAT)\harfbuzz-gobject del /f /q $(CFG)\$(PLAT)\harfbuzz-gobject\*.obj<br>
                        @-if exist $(CFG)\$(PLAT)\harfbuzz-icu del /f /q $(CFG)\$(PLAT)\harfbuzz-icu\*.obj<br>
                        @-del /f /q $(CFG)\$(PLAT)\harfbuzz\*.obj<br>
                        @-rmdir /s /q $(CFG)\$(PLAT)<br>
                        @-if exist $(CFG)\$(PLAT)\harfbuzz-gobject\hb-gobject-enums.h del $(CFG)\$(PLAT)\harfbuzz-gobject\hb-gobject-enums.h<br>
                        @-if exist $(CFG)\$(PLAT)\harfbuzz-gobject\hb-gobject-enums.cc del $(CFG)\$(PLAT)\harfbuzz-gobject\hb-gobject-enums.cc<br>
                        @-del vc$(VSVER)0.pdb<br>
                        @-del config.h<br>
<br>
release\Win32\harfbuzz-gobject-vs11.dll:<br>
        flags:<br>
        dependents:     release\Win32\harfbuzz.lib release\Win32\harfbuzz-gobject<br>
<br>
        commands:       link /DLL $(LDFLAGS) $(CFG)\$(PLAT)\harfbuzz.lib $(HB_GOBJECT_DEP_LIBS) /implib:$(CFG)\$(PLAT)\harfbuzz-gobject.lib -out:$@ @<<<br>
$(harfbuzz_gobject_OBJS)<br>
<<<br>
                        @-if exist $@.manifest mt /manifest $@.manifest /outputresource:$@;2<br>
<br>
release\Win32\harfbuzz-gobject\hb-gobject-enums.obj:<br>
        flags:<br>
        dependents:     release\Win32\harfbuzz-gobject<br>
        commands:       $(CXX) $(CFLAGS) $(HB_DEFINES) $(HB_LIB_CFLAGS) /I$(CFG)\$(PLAT)\harfbuzz-gobject /Fo$(CFG)\$(PLAT)\harfbuzz-gobject\ /c @<<<br>
$(CFG)\$(PLAT)\harfbuzz-gobject\hb-gobject-enums.cc<br>
<<<br>
<br>
release\Win32\harfbuzz:<br>
        flags:<br>
        dependents:<br>
        commands:       @-mkdir $@<br>
<br>
release\Win32\harfbuzz.lib:<br>
        flags:<br>
        dependents:     release\Win32\harfbuzz-vs11.dll<br>
        commands:<br>
<br>
<br>
NMAKE : fatal error U1073: don't know how to make 'config.h.win32'<br>
Stop.<br>
<br>
C:\Libraries-vc11\harfbuzz\win32><br>
<br>
-- <br>
Juha Martikainen<br>
<br>
_______________________________________________<br>
HarfBuzz mailing list<br>
<a href="mailto:HarfBuzz@lists.freedesktop.org" target="_blank">HarfBuzz@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/harfbuzz" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/harfbuzz</a><br>
</blockquote></div>