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

CCS6.1编译遇到Fatal error #1965: cannot open source file "="问题

gmake: *** [TMS570LS0432_Library/source/can.obj] Error 1
'Building file: D:/work/ETRS-project/ETRS-Hercules-TI/SoftWare/test/SL/TMS570LS0432_NoOS/source/crc.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.6/bin/armcl" -mv7R4 –code_state=32 –abi=eabi –include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.6/include" –include_path="D:/work/ETRS-project/ETRS-Hercules-TI/SoftWare/test/SL/hal/include" –include_path="D:/work/ETRS-project/ETRS-Hercules-TI/SoftWare/test/SL/common/include" –include_path="D:/work/ETRS-project/ETRS-Hercules-TI/SoftWare/test/SL/safety_library/include" –include_path="D:/work/ETRS-project/ETRS-Hercules-TI/SoftWare/test/SL/TMS570LS0432_NoOS/include" –include_path="C:/ti/Hercules/F021 Flash API/02.01.01/include" -g –define=_TMS570LS04x_ –define=_VFP_SUPPORT_ = 0 –diag_warning=225 –display_error_number –diag_wrap=off –enum_type=packed –preproc_with_compile –preproc_dependency="TMS570LS0432_Library/source/crc.pp" –obj_directory="TMS570LS0432_Library/source" "D:/work/ETRS-project/ETRS-Hercules-TI/SoftWare/test/SL/TMS570LS0432_NoOS/source/crc.c"
[=.]
>> WARNING: more than one source file is specified; preprocessor output will be generated for last file only
Fatal error #1965: cannot open source file "="
1 catastrophic error detected in the compilation of "=".
Compilation terminated.

以上只是此类问题的一个,基本上所有的C文件都报了这个错误。不知道什么回事。

gaoyang9992006:

可能编译后代码超过大小限制了,应该是没有破解试用版的。代码大小有限制,你写个简单的两三行的小工程试试看。

junwu chen:

回复 gaoyang9992006:

问题已解决,是设置预编译值的格式不对有问题

zhe Dong1:

回复 junwu chen:

预编译值在哪里设置的,我也是这个问题,谢谢!

Kun Li10:

路径不正确

fen dou:

回复 junwu chen:

请问楼主是怎么设置的呢,可以指导一下吗?

David Bai1:

回复 zhe Dong1:

Hi Zhe Dong,

猜测楼主说的预编译值应该是指的:项目–>Properities–>Build–>ARM Compiler–>Advanced Options–>Predefined Symbols里的预定义的名称。你可以查看一下你的是不是也是这种原因。

user5081183:

回复 David Bai1:

你好请问怎么设置的可以交流下吗 谢谢

user5924858:

回复 junwu chen:

想问下,你所说的预编译值的格式错误具体指的啥,同样问题,很焦急

赞(0)
未经允许不得转载:TI中文支持网 » CCS6.1编译遇到Fatal error #1965: cannot open source file "="问题
分享到: 更多 (0)