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.

2407 开根号运算,要不要#include <math.h>

Other Parts Discussed in Thread: CCSTUDIO

1. 2407的程序是CCS2.2上开发的,现在电脑装了CCS3.3.83.20,打开工程文件时报错”找不到文件math.h“,请问这是怎么回事?math.h不是系统自带的吗?

2. CCS里使用开根号等运算时是否需要math.h?(在不用IQmath的情况下),包含了rtsxx.lib。包含了rtsxx.lib的情况下,去掉include <math.h>编译不报错。

3.左侧项目树里”libraries"已经手动添加了rtsxx.lib,为什么编译后还提示*command line*: can't find input file rts2xx.lib?此时在Build Options->Linker->Libraries的"search path 添加“.\lib"就不报错了?rtsxx.lib文件已经放在lib文件夹里。