CANNT能够编译BCC
我尝试过很多次使用LLVM构建BCC,但总是失败。
cmakelists.txt上的cmake错误:99(find_package): 找不到“ llvm”提供的软件包配置文件 以下名称:
LLVMConfig.cmake
llvm-config.cmake
添加“ LLVM”的安装前缀
cmake_prefix_path
或设置 “ llvm_dir”
到包含上述文件之一的目录。如果“ llvm”
提供单独的开发包或SDK,请确保已 安装。
- 配置不完整,发生错误!
See also "/root/bcc/build/CMakeFiles/CMakeOutput.log".
See also "/root/bcc/build/CMakeFiles/CMakeError.log".
I have tried many times to build bcc with LLVM but always failed.
CMake Error at CMakeLists.txt:99 (find_package):
Could not find a package configuration file provided by "LLVM" with any of
the following names:
LLVMConfig.cmake
llvm-config.cmake
Add the installation prefix of "LLVM"
to CMAKE_PREFIX_PATH
or set"LLVM_DIR"
to a directory containing one of the above files. If "LLVM"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring incomplete, errors occurred!
See also "/root/bcc/build/CMakeFiles/CMakeOutput.log".
See also "/root/bcc/build/CMakeFiles/CMakeError.log".
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论