cmake - 即使我安装了 CMake 也找不到 fortran
问题描述
我一直在尝试通过 ultimaker源代码编辑 cura并尝试使用 CMake 编译它,但即使我安装了 fortran,我似乎也无法做到这一点
(我使用 manjaro linux)
这是我的 CMake 控制台输出
The C compiler identification is GNU 10.1.0
The CXX compiler identification is GNU 10.1.0
Check for working C compiler: /usr/bin/cc
Check for working C compiler: /usr/bin/cc - works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Detecting C compile features
Detecting C compile features - done
Check for working CXX compiler: /usr/bin/c++
Check for working CXX compiler: /usr/bin/c++ - works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Detecting CXX compile features
Detecting CXX compile features - done
Building for Linux
Prepare lib and lib64 on Linux...
ln: failed to create symbolic link 'lib64': Permission denied
CMake Error at /usr/share/cmake-3.17/Modules/CMakeDetermineFortranCompiler.cmake:33 (message):
Could not find compiler set in environment variable FC:
CMAKE_Fortran_COMPILER-NOTFOUND.
Call Stack (most recent call first):
projects/openblas.cmake:3 (enable_language)
CMakeLists.txt:58 (include)
Configuring incomplete, errors occurred!
See also "/home/alsoussi/Projects/NewPrinter/cura/source/cura-build-environment/build/CMakeFiles/CMakeOutput.log".
这是我的 CMakeOutput.log 文件
(日志文件太大所以这里是一个github页面)
解决方案
推荐阅读
- powerbi - 如何合并表并将不匹配的记录包含为 0 而不是 null?
- kubernetes - 在 Kubernetes 中,我们还需要多进程/gunicorn 吗?
- java - 无法使用 VSCode 运行/编译 java 程序
- javascript - 获取彼此最接近的两个单词之间的字符串
- python - Roc 曲线未显示在图表上 (Sklearn-kNN)
- python-3.x - 从 python bytes-str 生成 4 字节校验和
- ruby-on-rails - Rails + Carrierwave + MiniMagick:如何保存 gif 动画?
- c# - 作为集成测试的一部分,为已安装的 ExcelDna 插件调用 Excel 功能区按钮
- html - 使用 powershell 下载文件
- jquery - jquery 不能从外部 symfony 包中工作