即使安装了EasyClang,也找不到我的标头

时间:2019-10-19 15:50:44

标签: c clang

我在Sublime文本和Clang上也安装了EasyClang。我在Windows上工作,并且标题在WSL环境中。我有以下设置:

{
  "common_flags" : [
    // For simple projects, you can add a folder where your current file is
    "-I$file_path",
    "-IC:/Users/username/AppData/Local/Packages/CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgfc/LocalState/rootfs/usr/include/x86_64-linux-gnu/bits",
    "-IC:/Users/username/AppData/Local/Packages/CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgfc/LocalState/rootfs/usr/include/c++/7",

  ]
}

但是,我得到了错误:clang: error error - 'stdio.h' file not found

0 个答案:

没有答案