The problem about compile JDK9 for Android Platform with x86
Bob Vandette
bob.vandette at oracle.com
Fri May 5 19:24:23 UTC 2017
Could you send me your config.log file?
Are you certain that you have an x86 version of your freetype libraries in this directory (/home/linzhiwei/work/freetype-2.6.2/build_android-i686/lib)
and the freetype header files are located here (/home/linzhiwei/work/freetype-2.6.2/build_android-i686/include/freetype2)?
For questions related to the JDK 9 Mobile project, please use this email alias.
mobile-dev at openjdk.java.net
Bob Vandette
> On May 5, 2017, at 4:34 AM, zhiwei lin <cantalou89 at gmail.com> wrote:
>
> Hi all,
> I encounter a problem when compile JDK9 for Android Platform with x86
> arch.I operated from the tutotrial
> http://openjdk.java.net/projects/mobile/android.html, but when I
> execute congifure cmd , I got the error below:
> configure: Found freetype include files at
> /home/linzhiwei/work/freetype-2.6.2/build_android-i686/include/freetype2
> using --with-freetype
> checking for freetype includes...
> /home/linzhiwei/work/freetype-2.6.2/build_android-i686/include/freetype2
> checking for freetype libraries...
> /home/linzhiwei/work/freetype-2.6.2/build_android-i686/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/home/linzhiwei/work/freetype-2.6.2/build_android-i686/include/freetype2
> and FREETYPE_LIBS=-L/home/linzhiwei/work/freetype-2.6.2/build_android-i686/lib
> -lfreetype
> configure: error: Can not continue without freetype. You might be able
> to fix this by running 'sudo apt-get install libfreetype6-dev'.
>
>
> The detail log is in the config.log file.
> Build mechime : Linux ubuntu 4.4.0-75-generic #96-Ubuntu SMP Thu Apr
> 20 09:56:33 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
> NDK:android-ndk-r10c
>
> Please give some me advise to solve the problem
> Thx
More information about the jdk9-dev
mailing list