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.
您好!
我遇到下面的编译错误当我尝试构建代码,我得到相同类型的错误的剩余文件,不知道如何解决它.
构建文件:"C:/MCS_HVAD/CODE/PMC_CODE_TRURE/SE-0000-28-5 Rev 004-A Source/AppMsg.c"
调用:C2000编译器
"c:/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000 -v28 -ml -mt --include_path="C:/mcs_HVAD/code/PMC_code_trial/SE-0000-28-5 Rev 004-A Source/PMC"/ti/ccs1230/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/include --include_path="/packages/ti/xdais Release_Flash Release_Flash
备注#24038-D:-output_all_syms 已被弃用,并将在后续版本中删除。 这现在是编译器的默认行为。
>>编译失败
subdir_rules.mk:9:目标"C:/mcs_HVAD/code/PMC_code_trial/SE-0000-28-5 Rev 004-A Source/MCS/AppMsg.obj"的配方 Release_Flash 失败
无法找到 C:\mcs_HVAD\code\PMC_code_trial\SE-0000-28-5 Rev 004-A Source\PMC.hex
"C:/mcs_HVAD/code/PMC_code_trial/SE-0000-28-5 Rev 004-A Source/AppMsg.c"、第29行:致命错误#1965:无法打开源文件"std.h"
#包含
^
1在"C:/mcs_HVAD/code/PMC_code_trial/SE-0000-28-5 Rev 004-A Source/AppMsg.c"的编译中检测到灾难性错误。
编译终止。
gmake[1]:***[C:/mcs_HVAD/code/PMC_code_trial/SE-0000-28-5 Rev 004-A Source/MCS/AppMsg.obj] Release_Flash 错误1
gmake[1]:***正在等待未完成的作业...
您好、Eashwar、
您能否确认 std.h 的文件路径? 这似乎是 错误消息的要点。 是否有任何包含路径或链接文件(包括 std.h 头文件)正确? 您可以在 CCS 工程的工程属性中检查这一点、并查看每个目录。
此致、
阿米尔·奥马尔
您好、Omer:
我已将以下文件包含在 include 选项中。 其中一些直接出现在打开遗留项目上、我在查看一些相关帖子后添加的很少。
旧工程包含如下所示的 std.h 文件
谢谢。
法埃拉
您好!
您是否已检查文件位置以确定是否存在 std.h 文件? 请在继续之前这样做,以确保这不是只有一些缺失的文件的情况。
此致、
阿米尔·奥马尔