Build OpenJdk8 from source (win x64). Freetype problem.

Volker Simonis volker.simonis at gmail.com
Mon Jan 27 08:13:43 UTC 2014


Hi Fedor,

here's a short description how to build both, 32- and 64-bit versions
of the Freetype library under Windows:

https://weblogs.java.net/blog/simonis/archive/2011/10/28/yaojowbi-yet-another-openjdk-windows-build-instruction#FreeType

Regards,
Volker

On Fri, Jan 24, 2014 at 3:27 PM, Fedor Bobin <fuudtorrentsru at gmail.com> wrote:
> Trying to build jdk 8 from source under windows.
>
> Get error message
>
> configure: Found freetype using pkg-config, but ignoring since we can not
> bundle that
> configure: Found freetype include files at /cygdrive/c/Program Files
> (x86)/GnuWin32/include using well-known location
> configure: Rewriting POTENTIAL_FREETYPE_INCLUDE_PATH to
> "/cygdrive/c/progra~2/gnuwin32/include"
> configure: Rewriting POTENTIAL_FREETYPE_LIB_PATH to
> "/cygdrive/c/progra~2/gnuwin32/lib"
> checking for freetype includes... /cygdrive/c/progra~2/gnuwin32/include
> checking for freetype libraries... /cygdrive/c/progra~2/gnuwin32/lib
> checking if we can compile and link with freetype... no
> configure: Could not compile and link with freetype. This might be a
> 32/64-bit mismatch.
> configure: Using FREETYPE_CFLAGS=-I/usr/include/freetype2   and
> FREETYPE_LIBS=-lfreetype  -lbz2
> configure: error: Can not continue without freetype. You need to build a
> 64-bit version of freetype.
>
>
>
>
> I built freetype from source (freetype-2.4.7.tar.gz) with Visual Studio
> 2010 U. Generated freetype.dll and freetype.lib was placed to
> /cygdrive/c/progra~2/gnuwin32/lib/
>
> How to build freetype properly? Or may be someone can share already build
> freetype?
>
> Thank you.
>
> Fedor Bobin.
> fuudtorrentsru at gmail.com



More information about the build-dev mailing list