Altera_Forum
Honored Contributor
11 years agoInclude files not found in Altera-SoCFPGA-HelloWorld-Baremetal-GNU
Hello,
I got the example project Altera-SoCFPGA-HelloWorld-Baremetal-GNU to work. I am using DS-5 and the target is Cyclone 5 SoC. I modified the hello.c so that it calls a function from another c file. For some reason on building the project, it says the custom header file (test_func.h) is not found (even when it is right there!). (See attached images) I initially had placed the header file in the root folder (among the c files) but seeing that it didn't work, moved it to the folder 'proj_files' which still doesn't help. This seems like a very simple problem but I can't seem to get around it. Am I supposed to move the include file (test_func.h) someplace else? Any suggestions? Thanks!