This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler can't find linked header file

Guru 15580 points

I have added a "link" to the library header file that I want to use in my project. But CCS4 can't seem to find the "linked" .h file. The only way CCS4 can see the .h file is if I copy the .h file to he project directory (undesirable), or if I include the path to the library file system in the Built Properties->Include Options (also undesirable). Shouldn't CCS4 be able to find the "linked" .h file?

MikeH

  • Hi, Including a path to the library file system in the Built Properties->Include Options would be the most desirrable way of doing it. Not sure about CCS4 but in earlier versions separating paths by ";" allows for multible paths. You should be able to do all that is needed without having to specify too many paths to find linker or pre-processor libraries etc... Hope this helps. Cheers, M
  • M,

    Thanks for the feedback. Just seems logical that adding a link to the .h file in the project root should to the trick. CCS4 seems to be full of these little "illogical behaviours".

    MikeH