Link in files not found problem

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

Link in files not found problem

ソリューションへジャンプ
614件の閲覧回数
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

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
465件の閲覧回数
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 件の賞賛
返信
1 返信
466件の閲覧回数
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 件の賞賛
返信