This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ccs5编译程序时报错cannot open source file "system.h": Permission denied

CCS升级过编译器,打开某个project时报错如题"../source/system.c", line 20: fatal error #1966: cannot open source file "system.h": Permission denied

但打开其它project可正常编译

  • Hi fan,

      你的文件的第20行是指向system.h?

    你描述的这个情况倒是挺少遇见的,想问一下,你这个project文件时放在什么路径下面?试着把整个文件换个路径存放,或是说先clean project操作一下,然后在编译试试。

    谢谢

    ken

  • 经过各种尝试发现是编译器版本和include文件搜索路径问题,已解决。谢谢。

  • Hi fan,

       不客气,非常高兴看到你的问题解决了。后续如果有什么关于我们hercules产品的问题,欢迎随时沟通交流。

    谢谢

    ken