Altera_Forum
Honored Contributor
20 years agoNios II IDE Projects
Hi everyone
Can anyone help me with what seems like a basic question? How do I use source files in a NiosII project when they are not actually stored in the project directory? For example my main project is located in: C:\Projects\MyProject and C:\Projects\MyProject_syslib But I have another directory: C:\Projects\MyCommonStuff in which I want to store common source files used on several different nois projects. I have two problems: 1. How do I tell the IDE where to find header files e.g.# include <MyCommonFile.h>. I tried adding the path to the project's "Include Paths" but it still says "no such file". 2. How do I tell the IDE I want to add files from my common files folder? I really don't want to have to copy the actual files into project directory since I only want to add improvements to a single file and then just re-compile all projects that reference them.