Forum Discussion
Thank you for posting in Intel community forum, hope all is well and apologies for the delayed in response.
Just a note, unfortunately for Nios II product it has been deprecated and would advise to move NiosV instead. More details can be found in the link below:
May I know which version of Quartus and Nios II IDE you are using? Also which OS you are having?
Would recommend perhaps to try add the External Source Folder as a Linked Folder:
- Right-click the Application project → New → Folder
- Choose: Advanced → Link to alternate location in filesystem
- Browse to the external source directory you used with --src-rdir
- Click Finish
Note: once linker are added it is good to rebuild the index, Go to Project → C/C++ Index → Rebuild
Best Wishes
BB
I am using:
Quartus Prime Pro 19.3.0
Eclipse Mars.2 Release (4.5.2)
OS Ubuntu 20.04.5 LTS
Adding the link folder did fix the unresolved links. Is there some way to do this from the command line so that when I initially set up the application project using the Nios II SBT the source will automatically be linked?
Also, I am also still noticing that the .elf references are still leaving out certain header files, even with the linked folder. For example, I have certain headers that get sucked in with their associated C file, but others do not. I have not been able to determine any distinguishing characteristic that would cause this between the different headers. This is not breaking the indexer, but this has lead to other issues such as the IDE not realizing a rebuild is necessary when the missing headers get changed. Is there any reason that headers would be missed or ignored?
Thanks,
Devin Marzullo