Add Folder and Include Header Files

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Add Folder and Include Header Files

Jump to solution
1,524 Views
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 Kudos
1 Solution
898 Views
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

View solution in original post

0 Kudos
2 Replies
899 Views
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 Kudos
898 Views
Thommi_Tulpe
Contributor IV

Thank You CrasyCat this helps. :smileyhappy:

0 Kudos