[meson_options.txt:1:0: ERROR: Unknown type feature] error occurred when compiling meson

1. If there is an error in meson compilation:
insert image description here
then there is a high probability that there is a problem with the meson installation.
It cannot be installed with apt install meson, but installed through pip.
First install python 2.7
and then execute these three steps:

wget https://bootstrap.pypa.io/pip/2.7/get-pip.py
sudo python2 get-pip.py
python2 -m pip install scons

Guess you like

Origin blog.csdn.net/weixin_43360707/article/details/128399688
Recommended