<p>Just to isolate the error away from the overarching pharo build, so its easier to iterate on...</p>
<pre><code>$ mkdir -p /tmp/freetype291 && cd /tmp/freetype291

$ cp ~/Repos/freetype291/opensmalltalk-vm/build.win32x86/pharo.cog.spur/builddbg/third-party/freetype-2.9.1/Toolchain-cross-mingw32-cygwin.cmake \
     /tmp/freetype291/Toolchain-cross-mingw32-cygwin.cmake

$ wget http://ftp.igh.cnrs.fr/pub/nongnu/freetype/freetype-2.9.1.tar.gz

$ tar xf freetype-2.9.1.tar.gz && cd freetype-2.9.1

$ mkdir build && cd build

$ cmake ..\
                 -DCMAKE_TOOLCHAIN_FILE=../Toolchain-cross-mingw32-cygwin.cmake \
                 -DCMAKE_INSTALL_PREFIX=/home/Ben/Repos/freetype265/opensmalltalk-vm/.thirdparty-cache/windows/i386 \
                 -DWITH_PNG=OFF \
                 -DBUILD_SHARED_LIBS=ON \
                 -DCMAKE_C_FLAGS="-m32 -static-libgcc -static-libstdc++"
-- The C compiler identification is GNU 6.4.0
-- Check for working C compiler: /usr/bin/i686-w64-mingw32-gcc.exe
-- Check for working C compiler: /usr/bin/i686-w64-mingw32-gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PkgConfig: /usr/bin/pkg-config.exe (found version "0.29.1")
-- Could NOT find harfbuzz (missing:  HARFBUZZ_INCLUDE_DIRS HARFBUZZ_LIBRARIES)
-- Could NOT find ZLIB (missing:  ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Could NOT find PNG (missing:  PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
-- Could NOT find ZLIB (missing:  ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Could NOT find BZip2 (missing:  BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:
    WITH_PNG
-- Build files have been written to: /tmp/freetype291/build/freetype-2.9.1/build

$ make

$ make 
CMake Error at cmake_install.cmake:35 (file):
  file INSTALL cannot find
  "/tmp/freetype291/build/freetype-2.9.1/build/include/freetype/config/ftconfig.h".
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/319#issuecomment-446902772">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AhLyW4cqTr7juO74_cC-ZWsjbaERHCNCks5u4h-mgaJpZM4ZIiVx">mute the thread</a>.<img src="https://github.com/notifications/beacon/AhLyW1KX_34iOhfuebUwgVff8n65oZZAks5u4h-mgaJpZM4ZIiVx.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/OpenSmalltalk/opensmalltalk-vm","title":"OpenSmalltalk/opensmalltalk-vm","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/OpenSmalltalk/opensmalltalk-vm"}},"updates":{"snippets":[{"icon":"PERSON","message":"@bencoman in #319: Just to isolate the error away from the overarching pharo build, so its easier to iterate on...\r\n```\r\n$ mkdir -p /tmp/freetype291 \u0026\u0026 cd /tmp/freetype291\r\n\r\n$ cp ~/Repos/freetype291/opensmalltalk-vm/build.win32x86/pharo.cog.spur/builddbg/third-party/freetype-2.9.1/Toolchain-cross-mingw32-cygwin.cmake \\\r\n     /tmp/freetype291/Toolchain-cross-mingw32-cygwin.cmake\r\n\r\n$ wget http://ftp.igh.cnrs.fr/pub/nongnu/freetype/freetype-2.9.1.tar.gz\r\n\r\n$ tar xf freetype-2.9.1.tar.gz \u0026\u0026 cd freetype-2.9.1\r\n\r\n$ mkdir build \u0026\u0026 cd build\r\n\r\n$ cmake ..\\\r\n                 -DCMAKE_TOOLCHAIN_FILE=../Toolchain-cross-mingw32-cygwin.cmake \\\r\n                 -DCMAKE_INSTALL_PREFIX=/home/Ben/Repos/freetype265/opensmalltalk-vm/.thirdparty-cache/windows/i386 \\\r\n                 -DWITH_PNG=OFF \\\r\n                 -DBUILD_SHARED_LIBS=ON \\\r\n                 -DCMAKE_C_FLAGS=\"-m32 -static-libgcc -static-libstdc++\"\r\n-- The C compiler identification is GNU 6.4.0\r\n-- Check for working C compiler: /usr/bin/i686-w64-mingw32-gcc.exe\r\n-- Check for working C compiler: /usr/bin/i686-w64-mingw32-gcc.exe -- works\r\n-- Detecting C compiler ABI info\r\n-- Detecting C compiler ABI info - done\r\n-- Detecting C compile features\r\n-- Detecting C compile features - done\r\n-- Found PkgConfig: /usr/bin/pkg-config.exe (found version \"0.29.1\")\r\n-- Could NOT find harfbuzz (missing:  HARFBUZZ_INCLUDE_DIRS HARFBUZZ_LIBRARIES)\r\n-- Could NOT find ZLIB (missing:  ZLIB_LIBRARY ZLIB_INCLUDE_DIR)\r\n-- Could NOT find PNG (missing:  PNG_LIBRARY PNG_PNG_INCLUDE_DIR)\r\n-- Could NOT find ZLIB (missing:  ZLIB_LIBRARY ZLIB_INCLUDE_DIR)\r\n-- Could NOT find BZip2 (missing:  BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)\r\n-- Configuring done\r\n-- Generating done\r\nCMake Warning:\r\n  Manually-specified variables were not used by the project:\r\n    WITH_PNG\r\n-- Build files have been written to: /tmp/freetype291/build/freetype-2.9.1/build\r\n\r\n$ make\r\n\r\n$ make \r\nCMake Error at cmake_install.cmake:35 (file):\r\n  file INSTALL cannot find\r\n  \"/tmp/freetype291/build/freetype-2.9.1/build/include/freetype/config/ftconfig.h\".\r\n```"}],"action":{"name":"View Issue","url":"https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/319#issuecomment-446902772"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/319#issuecomment-446902772",
"url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/319#issuecomment-446902772",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>