iT邦幫忙

0

keil uvision main.c要如何修改錯誤

  • 分享至 

  • xImage

https://ithelp.ithome.com.tw/upload/images/20240417/20162024qa3KKpPWZp.png
https://ithelp.ithome.com.tw/upload/images/20240417/20162024OYSOCk3SE6.png
https://ithelp.ithome.com.tw/upload/images/20240417/201620240ndvVf0YlG.png
參考網路,照著打,為什麼我打的就不行
Build started: Project: brian
*** Using Compiler 'V6.21', folder: 'C:\Keil_v5\ARM\ARMCLANG\Bin'
Build target 'Target 1'
ArmClang: error: unable to execute command: Unable to convert command-line to UTF-16: bh鴗?B2>晡堛rXASo Unicode riH鴘?A6>rC (0x459)
assembling startup_stm32f407xx.s...
main.c(1): error: 'stm32f4xx.h' file not found
1 | #include "stm32f4xx.h" // File name depends on device used
| ^~~~~~~~~~~~~
1 error generated.
compiling main.c...
RTE/Device/STM32F407ZGTx/system_stm32f4xx.c(48): error: 'stm32f4xx.h' file not found
48 | #include "stm32f4xx.h"
| ^~~~~~~~~~~~~
1 error generated.
compiling system_stm32f4xx.c...
".\Objects\brian.axf" - 3 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:00

mobone iT邦新手 5 級 ‧ 2024-04-17 16:16:27 檢舉
名字碼一下...,另外看了一下路徑是有中文的,把它改到沒中文的地方在執行
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友回答

立即登入回答