- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I'm new to nios. i meet a weird problem to me. I create a new project hello_world0. and add a inc folder uder it. then i add a new file test.h in this inc folder. and include it in the hello_world.c. I also add the path to project properties. But when I build the project, it show me that he can't find test.h, does someone knows why ? thank you very much.- Tags:
- Include
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
nios9 IDE sucks!!!!
add include path is not working, it should be add in C/C++ build/tool setting/Nios compiler/General.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I had some trouble with the IDE and include paths too. If you use a relative path from the project folder to the include file (#include "inc/test.h") it should work.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page