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.

OMAPL137使用mathlib库的时候,在具体函数头文件预编译时会跳转到#error invalid target错误

Other Parts Discussed in Thread: MATHLIB

也就是例如

#if defined (_TMS320C6600)
#include <ti/mathlib/src/common/c66/common.h>
#elif defined (_TMS320C6740)
#include <ti/mathlib/src/common/c674/common.h>
#else
#error invalid target
#endif

都未通过,请问这两条语句是怎么预处理的?怎么消除这个错误??还有就是lib文件夹里的.a674和.ae674时什么文件,文件类型时A674文件和makefile类型,用包含到工程里吗?

这个问题很困扰,求解答