-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
When I followed the tutorial at https://github.com/ARMmbed/DAPLink/blob/v0258/docs/DEVELOPERS-GUIDE.md to compile the project, the compilation failed. What could be the cause of this issue?
The main causes of the failure include:process_begin: CreateProcess(NULL, ......\tools/pre_build_script.py, ...) failed. ......\source\daplink\drag-n-drop/vfs_manager.c:34:10: fatal error: version_git.h: No such file or directory,I use python3.13、gcc version 10.3.1 20210824 (release) (GNU Arm Embedded Toolchain 10.3-2021.10)、DAPLinkv0258.
python tools/progen_compile.py -t make_gcc_arm --clean stm32f103xb_bl stm32f103xb_if process_begin: CreateProcess(NULL, ..\..\..\tools/pre_build_script.py, ...) failed. Preprocessing ..\..\..\source\daplink\daplink.ld Compiling ..\..\..\source\board/stm32f103xb_bl.c Compiling ..\..\..\source\daplink/HardFault_Handler.c Compiling ..\..\..\source\daplink\bootloader/main_bootloader.c Compiling ..\..\..\source\daplink/circ_buf.c Compiling ..\..\..\source\daplink/cortex_m.c Compiling ..\..\..\source\daplink/crc32.c Compiling ..\..\..\source\daplink/daplink_debug.c Compiling ..\..\..\source\daplink\drag-n-drop/file_stream.c Compiling ..\..\..\source\daplink\drag-n-drop/flash_decoder.c Compiling ..\..\..\source\daplink\drag-n-drop/flash_intf.c Compiling ..\..\..\source\daplink\drag-n-drop/flash_manager.c Compiling ..\..\..\source\daplink\drag-n-drop/iap_flash_intf.c Compiling ..\..\..\source\daplink\drag-n-drop/intelhex.c Compiling ..\..\..\source\daplink\drag-n-drop/vfs_manager.c ..\..\..\source\daplink\drag-n-drop/vfs_manager.c:34:10: fatal error: version_git.h: No such file or directory 34 | #include "version_git.h" | ^~~~~~~~~~~~~~~ compilation terminated. make: *** [build/vfs_manager.o] 错误 1 2025-05-07 18:25:00,419 progen.tools.gccarm ERROR Project: errors build failed with the status: projectfiles\make_gcc_arm\stm32f103xb_bl\Makefile 2025-05-07 18:25:00,419 progen_build ERROR Error building project stm32f103xb_bl (venv)