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

Imported Keil uVision Project Fails to compile

HI

I imported my Keil uvision project to DS  but it fails to compile

Error:

make all
process_begin: CreateProcess(NULL, echo "Building file: C:/XXX/XXX/Development Studio Workspace/BLE_Dongle/BLE_Dongle/PNG_3RD_Middlewares/ST/STM32_WPAN/utilities/otp.c", ...) failed.
make (e=2): The system cannot find the file specified.

make: *** [utilities/subdir.mk:19: utilities/otp.o] Error 2
"make all" terminated with exit code 2. Build might be incomplete.

I see the file in repo

  • My name is Stephen and I work at Arm.

    This looks like a PATH setup problem.

    Do you have tools like Cygwin, MinGW or Git also installed?  Those tools provide their own "sh.exe" executable.

    If "make" finds an sh.exe on the PATH, it will use this to execute commands. If it picks up a Unix style shell, it is expected that other Unix style utilities (such as echo) will be found too.  If they are not, then you will get the failure seen.

    Arm DS (and its predecessor, DS-5) include a vanilla version of Gnu Make v4.2. "make" will first look for sh.exe (if the SHELL variable is not set), so may pick-up a 3rd-party sh.exe.

    A workaround is to remove those tools from the PATH.  You could also try adding a SHELL env var.

    Hope this helps

    Stephen