After changing S32DS the workspace, compile and report the error:
make all
Building file: ../src/main.c
Invoking: GHS C Compiler for ARM Standalone
ccarm -preprocess_assembly_files -c99 --gnu_asm -g -dwarf2 -Onone -DSTART_FROM_FLASH -DINIT_STDBY_RAM -DARMCM7_SP -D__ITCM_INIT -D__DTCM_INIT -I"D:/D/FS_BmsProject/DEMO123/include" -cpu=cortexm7 -thumb -MD -c -o "src/main.o" "../src/main.c"
/bin/sh: ccarm: command not found
make: *** [src/subdir.mk:20: src/main.o] Error 127
"make all" terminated with exit code 2. Build might be incomplete.
Solved! Go to Solution.
Hello,
Could you please provide more details about what you mean by changing the workspace?
Did you create a new workspace and then open the project from another workspace? Or did you copy the project directory to the new workspace and then load existing project?
Did you use the import existing project wizard?
Did you try a Clean Build command first? It might be trying to perform an incremental build from the previous workspace.
Please check the path variable is set correctly for the project:
Best Regards,
Mike
Hello,
Could you please provide more details about what you mean by changing the workspace?
Did you create a new workspace and then open the project from another workspace? Or did you copy the project directory to the new workspace and then load existing project?
Did you use the import existing project wizard?
Did you try a Clean Build command first? It might be trying to perform an incremental build from the previous workspace.
Please check the path variable is set correctly for the project:
Best Regards,
Mike
谢谢回复。和你说的一样,更换workspace后编译器路径丢失了,重新配置好就可以了。