Could NOT find ClangFormat (missing: ClangFormat_EXECUTABLE ClangFormat_VERSION) (Required is at least version "14")
时间: 2024-05-24 12:10:15 浏览: 12
This error message indicates that the ClangFormat tool, which is used for formatting code, is not installed on your system or cannot be found by the program. The error also suggests that the version of ClangFormat that is installed on your system is too old and does not meet the minimum requirement of version 14.
To resolve this error, you need to install or update ClangFormat to version 14 or higher. You can download and install ClangFormat from the official Clang website or through a package manager for your operating system.
Once you have installed or updated ClangFormat, make sure that the executable path is included in your system's PATH environment variable so that it can be found by the program. You can do this by adding the path to the ClangFormat executable to the PATH environment variable or by updating the program's configuration to point to the correct path.
相关推荐
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)