- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How does I include header files to an project. I did find this in "Referencing a Managed Library Project" :
<div class='quotetop'>QUOTE </div> --- Quote Start --- Set up the include paths to locate headers from your Managed Library project. If your managed library project includes header files you would like to access from your C/C++ application project, you need to specifically enter the paths to the header files. a) On the Tool Settings tab, select Nios II Compiler > General. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/cool.gif In the Include Paths section, click Add Include Path and add the full or relative path to the folder containing the header files.[/b] --- Quote End --- I can't even find this : http://forum.niosforum.com/forum/index.php...wtopic=2498&hl= (http://forum.niosforum.com/forum/index.php?showtopic=2498&hl=) <div class='quotetop'>QUOTE </div> --- Quote Start --- Projects proprerties > c/c++ build > general[/b] --- Quote End --- http://forum.niosforum.com/forum/index.php?showtopic=138&hl= (http://forum.niosforum.com/forum/index.php?showtopic=138&hl=) <div class='quotetop'>QUOTE </div> --- Quote Start --- You can use resources which are located at other places than your project by adding more include paths (Project -> Properties -> C/C++ Build -> Include Paths). Now you can use the resources with an include statement (“#include xyz.h”).[/b] --- Quote End --- I can't find it. I belive I am blind http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gifLink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You have to click on your project in the "C/C++ Projects" or "Navigator" tree view and then select Project / Properties from the menu. Click C/C++ Build in the left pane and Nios II Compiler / General in the "Tool Settings" tab. A box will miraculously appear. click the thing made of 3 +'s and browse away! http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/cool.gif
Eclipse sucks http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks
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