OMAPL138 测试程序linking files for incompatible targets问题

[复制链接]
 楼主| slw621 发表于 2013-3-10 19:32 | 显示全部楼层 |阅读模式
---------------------------  test_audio.pjt - Debug  ---------------------------
[main_audio.c] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -q -fr"./Debug/" -i"../inc" -i"../../../../bsl/inc" -d"DEBUG" -mv6740 -mv67p -@"../ccs/Debug.lkf" "main_audio.c"

[test_audio.c] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -q -fr"./Debug/" -i"../inc" -i"../../../../bsl/inc" -d"DEBUG" -mv6740 -mv67p -@"../ccs/Debug.lkf" "test_audio.c"
"test_audio.c", line 210: warning: statement is unreachable

[Linking...] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -@"Debug.lkf"
<Linking>
>>   error: linking files for incompatible targets (library
            '..\..\..\..\bsl\lib\evmomapl138_bsl.lib', member
            'evmomapl138_aic23.obj')
>>   error: linking files for incompatible targets (library
            '..\..\..\..\bsl\lib\evmomapl138_bsl.lib', member
            'evmomapl138_i2c.obj')
>>   error: linking files for incompatible targets (library
            '..\..\..\..\bsl\lib\evmomapl138_bsl.lib', member
            'evmomapl138_mcbsp.obj')
>>   error: linking files for incompatible targets (library
            '..\..\..\..\bsl\lib\evmomapl138_bsl.lib', member
            'evmomapl138_timer.obj')
>>   error: linking files for incompatible targets (library
            '..\..\..\..\bsl\lib\evmomapl138_bsl.lib', member
            'evmomapl138.obj')
>>   error: linking files for incompatible targets (library
            '..\..\..\..\bsl\lib\evmomapl138_bsl.lib', member
            'evmomapl138_i2c_gpio.obj')

>> Compilation failure

Build Complete,
  7 Errors, 1 Warnings, 0 Remarks

在网上找了好久也没解决
hx981423889 发表于 2016-12-9 09:17 | 显示全部楼层
库加的不对吧  我也遇到过这样的错误
chenci2013 发表于 2016-12-9 23:19 | 显示全部楼层
系统不兼容仿真器。
chenci2013 发表于 2016-12-9 23:20 | 显示全部楼层
看看大小端设置怎么样了。
typeof 发表于 2016-12-11 16:31 | 显示全部楼层
没有找到这个的库文件吗?
typeof 发表于 2016-12-11 16:35 | 显示全部楼层
你用的哪个的CCS开发环境?
vivilzb1985 发表于 2016-12-11 22:23 | 显示全部楼层
这个是所用的MCU跟集成开发环境中所选择的MCU型号不匹配的
您需要登录后才可以回帖 登录 | 注册

本版积分规则

1

主题

1

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部