The error message says you need a 64-bit version of the library. Do you have a 32-bit version of freetype? Are you building a 64-bit jdk?
/Magnus 24 jan 2014 kl. 15:27 skrev Fedor Bobin <fuudtorrent...@gmail.com>: > 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. > fuudtorrent...@gmail.com