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.

求助用CCS3.3开发2407的程序,出现找不到math.h ([E045] cannot open include file <math.h>)

公司很早的一个项目,之前不是用CCS3.3写的代码,现在都装了CCS3.3,把源代码整个项目文件拷过来在CCS3.3下打开,打开时报找不到math.h的文件,然后点“忽略”,编译后,出现[E045] cannot open include file <math.h>。

源代码里有#include <math.h>语句

项目设置如下

LIB也包含了,如下图

另外如果我在include路径里添加math.h的绝对路径,如下图

编译后出现如下错误

但原来的程序都是正确的,请问问题出在哪,是不是设置的问题?求助!