GHS Compiler error in S32DS

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

GHS Compiler error in S32DS

1,908 次查看
kiminkim
NXP Employee
NXP Employee

Dear team,

I've installed GHS compiler(2018.5.4) successfully in S32DS R1 and generated a base project for S32R274 to check if compiler works well.

Unfortunately, I've encountered the errors below when I tried to build.

pastedImage_1.png

You can check that GHS toolchain was properly installed and selected.

pastedImage_2.png

Have you ever seen these error using GHS compiler in S32DS?

Please suggest any further guide.

Thank you

BR

Justin

0 项奖励
回复
1 回复

1,713 次查看
stanish
NXP Employee
NXP Employee

Hello Justin,

I suspect you haven't set the environment variable S32DS_GHS_PATH.

Please go to menu Window -> Preferences -> C/C++ -> Build -> Build Variables and enable "Show system variables"

and enter the path to the compiler root folder (e.g. "c:\ghs\comp_201754")

 

pastedImage_2.png

Note:

The environment variables are defined in workspace scope.

If you switch to a new workspace you have to enter the path again or export/import the original workspace into a new one.

Hope it helps.

Stan

0 项奖励
回复