×

签到

分享到微信

打开微信,使用扫一扫进入页面后,点击右上角菜单,

点击“发送给朋友”或“分享到朋友圈”完成分享

开放平台中似乎没有cncc 已完结 cjld2021-02-08 16:49:06 回复 1 查看 开发平台 BANG语言
开放平台中似乎没有cncc
分享到:

您好,我是来自清华大学的研究人员,近期为了学习bang语言开发,在开放平台申请了一个容器,但是在编译sample的时候碰到了错误

-- Build in release mode
-- Build target arch MLU270.
-- The C compiler identification is unknown
-- The CXX compiler identification is GNU 5.4.0
CMake Error in CMakeLists.txt:
  No CMAKE_C_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
  the compiler, or to the compiler name if it is in the PATH.


-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring incomplete, errors occurred!
See also "/root/samples/BANG/build/CMakeFiles/CMakeOutput.log".
See also "/root/samples/BANG/build/CMakeFiles/CMakeError.log".
root@localhost:~/samples/BANG#

我检查了一下,似乎是没有找到cncc,请问怎样才能获取到带cncc的测试环境呢?

这是我在开放平台的镜像:


image.png

版权所有 © 2024 寒武纪 Cambricon.com 备案/许可证号:京ICP备17003415号-1
关闭