这个错误通常表明 Meson 构建系统在尝试编译项目时未能找到指定的编译器。错误信息 unknown compiler(s): [['icl'], ['cl'], ['cc']] 指出系统无法识别 icl、cl 和cc 这几个编译器。 要解决这个问题,你可以按照以下步骤操作: 确认编译器安装: 确保你的系统上已经安装了至少一个支持的编译器。对于 Windows...
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped Detecting C compile features Detecting C compile features - done Using CMake version: 3.26.3 Krita version: 5.2.0-prealpha Branding selec...
dep_regex = meson.get_compiler('c').find_library('regex', required : false) if not dep_regex.found() dep_regex = declare_dependency(compile_args : ['-DNO_REGEX']) endif else dep_regex = null_dep endif if with_platform_haiku ...
code = 'class breakCCompiler;int main(void) { return 0; }\n' return self._sanity_check_impl(work_dir, environment, 'sanitycheckcpp.cc', code) def get_compiler_check_args(self, mode: CompileCheckMode) -> T.List[str]: # -fpermissive allows non-conforming code to compile whi...
# once a build/compile has generated these sources. #8 changes: 4 additions & 4 deletions 8 mesonbuild/cargo/builder.py Original file line numberDiff line numberDiff line change @@ -133,7 +133,7 @@ def equal(self, lhs: mparser.BaseNode, rhs: mparser.BaseNode) -> mparser.Compari...
description : 'split debug information (-gsplit-dwarf compile flag) and debug information in the gdb index format (--gdb-index)', ) option( 'platforms', type : 'array', value : ['auto'], choices : [ 'auto', 'x11', 'wayland', 'haiku', 'android', 'windows', ], ...
have = cc.compiles(''' #define _GNU_SOURCE 1 #include <langinfo.h> int main(void) { char *str; str = nl_langinfo (ALTMON_1); str = nl_langinfo (ALTMON_2); str = nl_langinfo (ALTMON_3); str = nl_langinfo (ALTMON_4); str = nl_langinfo (ALTMON_5); str...
if cc.compiles('int foo(void) { return 0; } int bar(void) __attribute__((alias("foo")));', name : '__attribute__((alias(...)))') pre_args += '-DHAVE_FUNC_ATTRIBUTE_ALIAS' endif if cc.compiles('int foo(void) __attribute__((__noreturn__));', name : '__...
('objc', native: false, required: true) objcc = meson.get_compiler('objc') add_project_arguments(objcc.get_supported_arguments(warning_objc_args), language: 'objc') # Mac OS X Carbon support glib_have_carbon = objcc.compiles('''#include <Carbon/Carbon.h> #include <CoreServices/...
Panfrost-G610 .github .gitlab-ci .gitlab android bin build-support docs include src subprojects .dir-locals.el .editorconfig .gitattributes .gitignore .gitlab-ci.yml .graphqlrc.yml .mailmap CODEOWNERS README.md VERSION meson.build meson_options.txt ...