meson claims Unknown compiler(s): ['c++', 'g++', 'clang++', 'pgc++', 'icpc']
See original GitHub issueThis is kinda weird: I have a very small dummy meson.build which errors out with:
meson.build:7:0: ERROR: Unknown compiler(s): [‘c++’, ‘g++’, ‘clang++’, ‘pgc++’, ‘icpc’]
Whereas it’s correct I don’t have any of those compilers on my system, there is also no indication in my meson.build that this would be needed.
The sample meson.build is:
project('sample',
'c',
version: '1.0.0',
meson_version: '>= 0.47',
)
dep = dependency('doesnotexist', required: false)
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Meson picks the wrong compiler (GCC instead on clang)
I am trying to configure my project to build with LLVM/clang++, however GCC is always picked:
Read more >Doesn't build in Rawhide (meson doesn't find c++ compiler)
Bug 1792630 - Doesn't build in Rawhide (meson doesn't find c++ compiler) ... Unknown compiler(s): ['c++', 'g++', 'clang++', 'pgc++', 'icpc'] ...
Read more >meson build error - Solus Forum
meson.build:2:0: ERROR: Unknown compiler(s): ['cc', 'gcc', 'clang', 'pgcc', 'icc'] The follow exceptions were encountered:
Read more >meson support - Intel Communities
Using oneAPI compiler with meson is giving the following error [1], clang is on the path [2]. I assume this is because oneAPI...
Read more >ERROR: Unknown compiler(s): [['x86_64-pc-linux-gnu-gcc']]
Bug 734098 - x11-base/xorg-proto-2020.1 - meson.build:21:0: ERROR: Unknown compiler(s): [['x86_64-pc-linux-gnu-gcc']].
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
openSUSE Tumbleweed, meson 0.53.1
A first quick check succeeds: