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
已解决! 转到解答。
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
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