CW10 - How can I add folders for header files and code files?

cancel
Showing results for 
Search instead for 
Did you mean: 

CW10 - How can I add folders for header files and code files?

Jump to solution
552 Views
Anselmo
Contributor I

I tried clicking right on "Project panel" -> New -> Folder and , after creating it I moved a header file, but it didn't work.

I tried also from "File" menu -> New-> Source Folder. But it didn't work

Labels (1)
Tags (1)
0 Kudos
1 Solution
64 Views
BlackNight
NXP Employee
NXP Employee

You need to make sure that the compiler can find the header (and source) files. If you add a new folder, you need to tell this the compiler.

You can find the settings in

Project > Properties > C/C++ Build > Settings > ColdFire Compiler > Input

resp.

Project > Properties > C/C++ Build > Settings > HCS08 Compiler Input

 

There you find settings for include file path (both system and user includes).

 

Hope that helps,

BK

View solution in original post

0 Kudos
1 Reply
65 Views
BlackNight
NXP Employee
NXP Employee

You need to make sure that the compiler can find the header (and source) files. If you add a new folder, you need to tell this the compiler.

You can find the settings in

Project > Properties > C/C++ Build > Settings > ColdFire Compiler > Input

resp.

Project > Properties > C/C++ Build > Settings > HCS08 Compiler Input

 

There you find settings for include file path (both system and user includes).

 

Hope that helps,

BK

View solution in original post

0 Kudos