返回信息流今天在linux下准备为jupyter安装cling核心
git下cling仓库之后用chmod +x cpt.py
./cpt.py --check-requirements && ./cpt.py --create-dev-env Debug --with-workdir=./cling-build/
安装的时候就会出现
-- The ASM compiler identification is GNU
-- Didn't find assembler
CMake Error at CMakeLists.txt:54 (project):
No CMAKE_ASM_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "ASM" or the CMake cache entry CMAKE_ASM_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!
See also "/root/cling/tools/packaging/cling-build/builddir/CMakeFiles/CMakeOutput.log".
See also "/root/cling/tools/packaging/cling-build/builddir/CMakeFiles/CMakeError.log".
subprocess.CalledProcessError: Command 'cmake /root/cling/tools/packaging/cling-build/cling-src -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/tmp/cling-obj/ -DLLVM_TARGETS_TO_BUILD=host' returned non-zero exit status 1
问题,查了一下午还是没能解决,恳请论坛大佬帮帮我!
@nuanyangyang
这是一条镜像帖。来源:北邮人论坛 / cpp / #98426同步于 2018/9/29
该镜像源已超过 30 天没有更新,可能在源站已被删除。
CPP机器人发帖
【问题】Linux下Cmake怎么解决CMAKE_ASM_COMPILER could be fou
a68415327
2018/9/29镜像同步3 回复
订阅后,新回复会通过你的通知中心匿名送达。