编译openjdk遇到的问题
报错如下
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.
解决方案
在通过vs2010生成freetype的.dll和.lib文件时,默认生成的是32位,所有需要选择版本为64,如图