编译OpenJDK8:a microsoft compiler is required

简介: 编译OpenJDK8:a microsoft compiler is required

编译出错,有点束手无策。网上搜索,参考别人的做法,成功解决。


打开文件:common/autoconf/generated-configure.sh

删除或注释类似如下语句。原因是代码判断错了,实际上不影响编译。

as_fn_error $? "GCC compiler is required. Try setting --with-tools-dir." "$LINENO" 5
as_fn_error $? "A $TOOLCHAIN_TYPE compiler is required. Try setting --with-tools-dir." "$LINENO" 5

 这个语句有多个,可以全部删除。

目录
相关文章
|
2月前
|
Java
cxf 动态调用 WebService No compiler detected, make sure you are running on top of a JDK instead of a JRE
cxf 动态调用 WebService No compiler detected, make sure you are running on top of a JDK instead of a JRE
49 0
|
编译器 C++ 计算机视觉
error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools“
error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools“
819 0
|
Java Linux Maven
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
188 0
codeblocks中出现#error This file requires compiler and library support for the错误时的解决方案
codeblocks中出现#error This file requires compiler and library support for the错误时的解决方案
657 0
codeblocks中出现#error This file requires compiler and library support for the错误时的解决方案
|
Java iOS开发
Mac编译OpenJDK8:configure: error: Xcode 4 is required to build JDK 8, the version found was 10.1config
Mac编译OpenJDK8:configure: error: Xcode 4 is required to build JDK 8, the version found was 10.1config
130 0
|
iOS开发
编译OpenJDK8报错:configure: error: Failed to determine Xcode version.
编译OpenJDK8报错:configure: error: Failed to determine Xcode version.
110 0
编译OpenJDK12:a microsoft compiler is required
编译OpenJDK12:a microsoft compiler is required
76 0
MAC编译OpenJDK8:clang: error: unknown argument: ‘-fpch-deps‘
MAC编译OpenJDK8:clang: error: unknown argument: ‘-fpch-deps‘
86 0
|
C++
error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools“:
error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools“:
326 0
error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools“:
编译OpenJDK8:Your cygwin is too old. You are running but at least cygwin 1.7 is required
编译OpenJDK8:Your cygwin is too old. You are running but at least cygwin 1.7 is required
91 0