GHS Compiler error in S32DS

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

GHS Compiler error in S32DS

1,446件の閲覧回数
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,251件の閲覧回数
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 件の賞賛