Psoc 4.0 Relative Path Issue

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi, I need support about additional include directories and relative path issue in Psoc 4.0. In my project, although I added my header file directory to related place(build setting-compiler-additional inc. dir.), I am taking the error that "No such a file or directory". I take screen shot to show the problem clearly. it is added picture. I find that to include file as: "#include ".../.../.../includingfilename/sourcefilename.h"". But, because of the characteristics of our project, i cannot use that way. I should include the file by the first way. But I could not. Could you give advise about the problem. What it can be reason of it.

0 Likes
4 Replies
Anonymous
Not applicable

  Being an habbit, when I press Ctrl+s the quistion is sent witoud the picture:) The picture is that.

psoc.png

0 Likes
AnkitaS_51
Employee
Employee
100 likes received 50 likes received 25 likes received

Can you just right click the "Source Files" folder in Creator, and add the the particular sourcefilename.h file there by using option of adding Existing Item.

0 Likes
Anonymous
Not applicable

of course I did   It is not a solution for this. But thanks your answer

0 Likes
PSBU_2325551
Level 4
Level 4
First like received