S32DS After changing the workspace, compile error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32DS After changing the workspace, compile error

ソリューションへジャンプ
1,483件の閲覧回数
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 件の賞賛
返信
1 解決策
1,464件の閲覧回数
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

元の投稿で解決策を見る

2 返答(返信)
1,465件の閲覧回数
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

1,409件の閲覧回数
liyongfeng
Contributor II

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

0 件の賞賛
返信