I'm getting an error where a file I am including (#include "board.h") that is in a different directory is included correctly the first time I build and debug. However, when I edit the board.h file, when I subsequently rebuild, I get the error "fatal error: board.h: No such file or directory." Is there a reason this is happening?
Hi Austin,
Hmm, that somehow does not make any sense. Can you check what Alice has posted about the include path settings? But I assume you have not moved that file, correct? Could you post a screenshot or better the failing project?
Thanks,
Erich
Hello Austin Milford-Rosales,
Please check "Include paths", whether includes your board.h file path:
Hope it helps
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------