Add Folder and Include Header Files

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

Add Folder and Include Header Files

ソリューションへジャンプ
1,782件の閲覧回数
Thommi_Tulpe
Contributor IV

Hello,

i added a folder to my project as it was discribed in the CW_MCU_10.1_FAQ.

After that i can see the folder and underfolder in my project.  Thats OK.

In my folder are also header files.(d4d.h ... )

After build the project, I got error massages that the compiler cant

open the header files.

I think I have to add the location of header files to Includes

of my project. How can I do that ?

 

I want to add the D4D to my project.

I located the D4D folder on F:\freescale\

I added the D4D folder to my project

The compiler cant find the header files from the display driver.

What do I have to do?

 

Thanks

Thomas

0 件の賞賛
返信
1 解決策
1,156件の閲覧回数
CrasyCat
Specialist III

Hello

 

You need to add the path to your include folder to the Include Search Paths.

This can be done as follows:

 

  - Click right on the project within the CodeWarrior Projects view

  - Select Properties. The Project Properties is opened.

  - Go to C/C++ Build > Settings> Tool Settings > ARM Compiler > Input page

  - Add the path to your include directory in the Include Search Paths list box.

    Note that you can use ${ProjDirPath} to define a path relative to your project directory here.

 

 

CrasyCat

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,157件の閲覧回数
CrasyCat
Specialist III

Hello

 

You need to add the path to your include folder to the Include Search Paths.

This can be done as follows:

 

  - Click right on the project within the CodeWarrior Projects view

  - Select Properties. The Project Properties is opened.

  - Go to C/C++ Build > Settings> Tool Settings > ARM Compiler > Input page

  - Add the path to your include directory in the Include Search Paths list box.

    Note that you can use ${ProjDirPath} to define a path relative to your project directory here.

 

 

CrasyCat

0 件の賞賛
返信
1,156件の閲覧回数
Thommi_Tulpe
Contributor IV

Thank You CrasyCat this helps. :smileyhappy:

0 件の賞賛
返信