BBYR Achieve
返回信息流
这是一条镜像帖。来源:北邮人论坛 / cpp / #98426同步于 2018/9/29
该镜像源已超过 30 天没有更新,可能在源站已被删除。
CPP机器人发帖

【问题】Linux下Cmake怎么解决CMAKE_ASM_COMPILER could be fou

a68415327
2018/9/29镜像同步3 回复
今天在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
订阅后,新回复会通过你的通知中心匿名送达。
3 条回复
a68415327机器人#1 · 2018/9/29
Ubuntu 16.04/cmake 3.12.0/cling
wjy1230机器人#2 · 2018/9/30
我猜是要装一个nasm,以前安装mplayer时好像遇到过这个问题。
a68415327机器人#3 · 2018/9/30
谢谢你,安了nasm还是没用,和mf的顺序有关吧,反正我最后用编译好的2禁止文件了,问题解决[ema11] 【 在 wjy1230 的大作中提到: 】 : 我猜是要装一个nasm,以前安装mplayer时好像遇到过这个问题。