TI中文支持网
TI专业的中文技术问题搜集分享网站

关于MPU9150,使用官方的sensehub里面的例程却出现报错

本人使用的是CCS7.0最新版本。

下面是报错的信息:

Description Resource Path Location Type
unresolved symbol _FDclass, first referenced in C:/ti/TivaWare_C_Series-2.0.1.11577/sensorlib/ccs/Debug/sensorlib.lib<comp_dcm.obj> compdcm_mpu9150 C/C++ Problem
gmake: Target 'all' not remade because of errors. compdcm_mpu9150 C/C++ Problem
gmake: *** [compdcm_mpu9150.out] Error 1 compdcm_mpu9150 C/C++ Problem
<a href="http://processors.wiki.ti.com/index.php/Compiler/diagnostic_messages/10234">#10234-D</a> unresolved symbols remain compdcm_mpu9150 C/C++ Problem
#10010 errors encountered during linking; "compdcm_mpu9150.out" not built compdcm_mpu9150 C/C++ Problem
This project was created using a version of compiler that is not currently installed: 5.0.4 [ARM]. Another version of the compiler will be used during build: 16.9.0.LTS. See 'Help > Check for Updates' or visit <a href="liveaction:OpenAppCenter">CCS App Center</a> to get the latest compilers. See 'Help > Install New Software…' to install older compilers. Alternatively, migrate the project to one of the available compiler versions by adjusting project properties. compdcm_mpu9150 properties Problems

似乎senserlib.lib存在未定义的变量。求解答

LiKent:

怀疑过是CCS7.0的版本过高的原因。翻看论坛里之前有人出现过相同的问题。ti官方攻城狮给出了两种方法

1.换用6.3以下的低版本编译器

2.将lib工程在CCS 7.0中重新编译,生产新的lib file.请问这个lib怎么重新编译啊

LiKent:

回复 LiKent:

有些博客里说把默认的.out输出改为.lib输出。但是根本就没法通过debug,怎么产生lib

Maka Luo:

刚刚测试过了,确实发现和你的问题,具体原因待分析。

CCS7出现此报错,但同时我用CCS6.2编译没有问题。

xyz549040622:

回复 LiKent:

下载了个ccs7,可以的呀。用ccs7导入原来的F:\360data\ti\TivaWare_C_Series-2.1.3.156\sensorlib\ccs下的例程。重新进行编译,编译成功,新的.lib文件在新的workspace下的debug文件夹下,复制替换原来的sensorlib.lib文件就好了吧。

赞(0)
未经允许不得转载:TI中文支持网 » 关于MPU9150,使用官方的sensehub里面的例程却出现报错
分享到: 更多 (0)