How add a file path to current project at S32K design studio?

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

How add a file path to current project at S32K design studio?

1,390件の閲覧回数
llyyww00
Contributor I

I create a source folder and file ,but I don't know how to add this file's path to current project,the build result is :no such file or directory,

pastedImage_1.png

0 件の賞賛
返信
2 返答(返信)

1,236件の閲覧回数
ErichStyger
Specialist I

Hi @llyyww00 ,

I don't have S32 installed any more. But you have to tell the compiler where it can find the header files.

Go to the project properties/settings, and there under the compiler settings you find a setting for the include (option -I) directories. Add your folder name there.

Below a screenshot how it looks for the NXP MCUXpresso IDE which is very similar:

ErichStyger_0-1654705386100.png

 

I hope this helps,

Erich

0 件の賞賛
返信

1,241件の閲覧回数
kyf
Contributor V

You can drag and drop the file inside your project in the Ecplise's "Project Explorer".

kyf_0-1654695923121.png

 

0 件の賞賛
返信