Forum Discussion
Altera_Forum
Honored Contributor
21 years agoheader-file directories
Hi all--
I've built a project and placed two .c files into it. I've also copied-and-pasted a header-file directory, "hdr," into my project. When I build the project, the header files inside the "hdr" directory aren't found. Is there somewhere obvious that I should be setting the include paths for the project? I'd have thought this would be somewhere under the project properties, but I see no such setting. Without it, I'd have assumed that the compiler would look under each of the directories in my project to find them. Apparently not? Is there somewhere within the IDE that I should go, to set up my include directory path(s)? Thanks in advance. Brian2 Replies
- Altera_Forum
Honored Contributor
You have to change project properties.
Projects proprerties > c/c++ build > general add your path - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by bigmickey@Sep 13 2005, 04:20 AM you have to change project properties.projects proprerties > c/c++ build > general
add your path --- Quote End --- Wow; I must've been completely blind yesterday. Not sure why I didn't see the great big box that says "include paths" on it. D'oh! http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/blink.gif Anyway, thanks. Brian