gpt4 book ai didi

c++ - 未创建 Keil uVision5 .axf 文件

转载 作者:行者123 更新时间:2023-11-28 02:51:31 25 4
gpt4 key购买 nike

我已经使用 Keil uVision5 为目标 STM32F103VE 创建了一个 hex 文件,但我无法生成 hex。这是错误日志。(我已经彻底搜索了答案):

linking...
FromELF: creating hex file...
.\CompileOutput\Main.hex: Error: Q0122E: Could not open file '.\CompileOutput\Main.axf': No such file or directory
Finished: 0 information, 0 warning and 1 error messages.
After Build - User command #1: C:\Keil_v5\ARM\ARMCC\bin\fromelf.exe --bin -o .\Output\Main.bin .\CompileOutput\Main.axf
".\CompileOutput\Main.axf": Error: Q0122E: Could not open file '.\CompileOutput\Main.axf': No such file or directory
Finished: 0 information, 0 warning and 1 error messages.
".\CompileOutput\Main.axf" - 0 Error(s), 0 Warning(s).

谁能帮我解决这个错误?

最佳答案

我们有一个有类似错误的项目,结果证明我们需要在构建选项窗口中禁用跨模块优化。

关于c++ - 未创建 Keil uVision5 .axf 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22931026/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com