cilk.h:没有那个文件或目录

时间:2021-04-27 09:52:09

标签: gcc g++ cilk

我使用 gcc 7.5.0 和 g++ 7.5.0(支持 cilk plus)在 Ubuntu 20.04 中编译,但错误显示“cilk/cilk.h:没有这样的文件或目录”the error is shown in the picture

有人能帮我解决这个问题吗?非常感谢!

1 个答案:

答案 0 :(得分:0)

您的编译器仍然不支持 cilkplus,只需通过 apt-get install 安装即可:

sudo apt-get install -y libcilkrts5

给你,