problems with freetype.dll, jdk 8 and windows

Hendrik Schreiber hs at tagtraum.com
Mon Mar 7 16:11:40 UTC 2016


>> 
>> Is there any other, easy recommended way how to deal with this on for 8u. I’d like to avoid having to deal at all with JDK9 at this point. Perhaps someone has a correctly built 32 bit dll lying around...?
> 
> You can just clone jdk9 and use the --with-freetype-src to have the configure script for jdk9  build freetype for you. You can then forget about jdk9 and point your jdk8 configure to the newly build freetype.

I really wanted to avoid this, but in the end that’s exactly what I did.

As someone who usually does not build stuff on Windows, I would very much appreciate it, if someone updated the README-builds.html file/s. To provide some feedback, here’s what’s missing from my point of view:

- System Setup: freetype is listed as a requirement for Linux and Solaris. But not for Windows. That’s obviously wrong. Perhaps Magnus’ hint regarding freetype and JDK9 should also be mentioned.
- System Setup > Windows > Visual Studio 2010 Compilers: When using Microsoft Visual Studio C++ 2010 Express, SP1 is required!!
- Build Performance Tips > Building on local disk: “[…] make sure the build directory is situated on local disk” - great advice! And how would I do that? I looked, but wasn’t able to find the switch in the README-builds.html page. Perhaps because of my own blindness.

And for the JDK9 README-builds.html:

- System Setup: freetype is listed as a requirement for Linux and Solaris. But not for Windows.
- Configure > Configure Options: --with-freetype-src is missing (perhaps that should be the recommended option for Windows)

I noted that --with-freetype-src requires msbuild.exe to be in the PATH. Perhaps that’s always the case, when you have VS2013 installed. In my case it wasn’t and I had to add it (lives in .NET framework).

- Build Performance Tips > Building on local disk: see above. How do I make this happen?

Thank you,

-hendrik


More information about the build-dev mailing list