麒麟V10 SP1 Linux version 5.4.18-53 Ubuntu 9.3.0-10kylin2
报错信息:
Run-time dependency LLVM (modules: bitwriter, core, engine, executionengine, instcombine, mcdisassembler, mcjit, native, scalaropts, transformutils, coroutines, lto) found: NO (tried config-tool)
Looking for a fallback subproject for the dependency llvm
Subproject directory not found and llvm.wrap file not found
Subproject subprojects/llvm is buildable: NO (disabling)
Dependency llvm from subproject subprojects/llvm found: NO
meson.build:1861:2: ERROR: Problem encountered: The following drivers require LLVM: RadeonSI, SWR, Lavapipe. One of these is enabled, but LLVM is disabled.
什么原因?是缺少显卡驱动吗?
望采纳:
根据错误信息,可以看出错误的原因是系统没有安装LLVM(Low Level Virtual Machine),但是启用了LLVM需要的驱动(RadeonSI, SWR, Lavapipe)。因此,需要安装LLVM才能正常使用这些驱动。
参考如下:
这个错误信息是在构建/编译一个项目时出现的,表示在该项目中,有一些驱动(RadeonSI、SWR和Lavapipe)需要 LLVM(Low Level Virtual Machine)的支持,但是 LLVM 却没有被启用。因此,您需要在该系统中启用 LLVM,以便能够编译该项目。
是的,缺少了LLVM,这是必须的。该消息表明,您启用了一个需要LLVM支持的驱动程序,但LLVM被禁用了。您需要启用LLVM才能使这些驱动程序正常工作。
该错误信息表明LLVM(逻辑层虚拟机)没有启用,而其中一些驱动程序(RadeonSI,SWR和Lavapipe)需要LLVM。因此,您需要启用LLVM。您可以在系统设置中对LLVM进行设置,或者通过在命令行中输入相关命令来启用LLVM。
解决方法: