Altera_Forum
Honored Contributor
16 years ago#include problems
I've recently created a new NIOS II (v7.2) C/C++ Application, and I cannot get the compile to recognize files that are not located in the root project directory. I have existing source code I would like to use that is already organized into a folder hierarchy that I would like to keep. If I type out the long folder name (i.e.# include "existing_source/stats/data_collection/deviation/standard.h"), NIOS will see the header file. Other than that, NIOS IDE will not see it.
I've tried adding folders into the "Include Paths and Preprocessor Symbols" window from the project properties option "C/C++ Include Paths and Symbols," but the IDE still won't see it. This seems like it should be quite simple to include files that aren't in the root directory, but I don't seem to be having any luck. Any suggestions would be appreciated