Add Folder and Include Header Files

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

Add Folder and Include Header Files

跳至解决方案
1,554 次查看
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 解答
928 次查看
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 回复数
929 次查看
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 项奖励
回复
928 次查看
Thommi_Tulpe
Contributor IV

Thank You CrasyCat this helps. :smileyhappy:

0 项奖励
回复