S32DS After changing the workspace, compile error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32DS After changing the workspace, compile error

Jump to solution
1,059 Views
liyongfeng
Contributor II

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.

 

0 Kudos
Reply
1 Solution
1,040 Views
mikedoidge
NXP Employee
NXP Employee

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:

mikedoidge_0-1683745264086.png

Best Regards,

Mike

View solution in original post

2 Replies
1,041 Views
mikedoidge
NXP Employee
NXP Employee

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:

mikedoidge_0-1683745264086.png

Best Regards,

Mike

985 Views
liyongfeng
Contributor II

谢谢回复。和你说的一样,更换workspace后编译器路径丢失了,重新配置好就可以了。

0 Kudos
Reply