Link in files not found problem

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

Link in files not found problem

Jump to solution
760 Views
Jim_P
Contributor III

This is driving me up the wall,  I am using CW10.1, Windows 7 64 bit

 

I have a commom monitor that is used in many projects.

so want to reference the Monitor files in a commom refereced directory.

So when I add the files to the project, I select the option to link the files to the project

thus if I need to enhance or correct something in the monitor the changes will flow across all projects

This seems to work just fine with the C files.

 

but linking in the header files for the related C files - - - I can open and edit the file but

when compiling, these header files are not found.

 

This seems to only be a problem with linked C files

Help this is driving me up the wall.

 

Jim P

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
611 Views
CrasyCat
Specialist III

Hello

 

In order to allow the compiler to find the header files, the paths to the header files needs to be added to the include file paths.

 

If you are building for HCS08 MCU, these are specified in C/C++ Build > Settings > HC08 Compiler > Input > Include File Path edit box.

If you are building for Coldfire MCU these are specified in C/C++ Build > Settings > ColdFilre Compiler > Input > User Path

 

CrasyCat

View solution in original post

0 Kudos
Reply
1 Reply
612 Views
CrasyCat
Specialist III

Hello

 

In order to allow the compiler to find the header files, the paths to the header files needs to be added to the include file paths.

 

If you are building for HCS08 MCU, these are specified in C/C++ Build > Settings > HC08 Compiler > Input > Include File Path edit box.

If you are building for Coldfire MCU these are specified in C/C++ Build > Settings > ColdFilre Compiler > Input > User Path

 

CrasyCat

0 Kudos
Reply