This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

The project can't rebuild in Keil uVision5.

Dear Expert:

In Keil uVision5, when I rebuild the project, it failed and the error message was like:

*** Using Compiler 'V5.06 update 4 (build 422)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Rebuild target 'rom_patch_device'
Before Build - User command #1: python ../../../scripts/map2sct.py ../../../out/obj/tps65988_AppFW.map patch_layout.sct
*** Error: CreateProcess failed, Command: 'python ../../../scripts/map2sct.py ../../../out/obj/tps65988_AppFW.map patch_layout.sct'

compiling patch_header.c...
compiling patch_amdi2cmux.c...
compiling patch_globals.c...

(too many, omit)

compiling patch_adc.c...
compiling patch_flash.c...


"..\out_device\rom_patch_device.axf" - 1 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:13

Maybe the sentences in red is the cause of the failure. Could you please tell me what does it mean and how to solve the problem? 

Many thanks.

Regards,

Bing

Parents
  • Your project is configured with a pre-build step to run a python script to generate a scatter file. The scatter file is used by the linker to create the output image. 

    Does your machine have Python installed? Can you run the command successfully from a command prompt?

    If you need to specify a path to Python or update the before-build command, you can do that from the User tab in the target options. Open the target options dialog with Alt+F7 or use the menu item Project > Options for.... 

Reply
  • Your project is configured with a pre-build step to run a python script to generate a scatter file. The scatter file is used by the linker to create the output image. 

    Does your machine have Python installed? Can you run the command successfully from a command prompt?

    If you need to specify a path to Python or update the before-build command, you can do that from the User tab in the target options. Open the target options dialog with Alt+F7 or use the menu item Project > Options for.... 

Children
No data