Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
18 years ago

Add file .h to my Nios2 project

I need some help for my project.

I want to add th library (file .h) of the asmi . But I don't know the exact path to put in the "include" in my file .c.

I wish to add these files "altera_avalon_epcs_flash_controller.h" and "epcs_commands.h" or this file only "epcs_struct.h" but not success.

I have after compilation the message "No File Such..."

thx for your help.

P.S.: screen from my work.

http://www.hiboox.com/vignettes/1407/3c991820.jpg (http://www.hiboox.com/image.php?img=3c991820.jpg)

Exter

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You can add the appropriate path to the projects include path. Search for "include path" within the NIOS IDE for specific details on how to do this.

    As a less preferred alternative you can specify the whole path within the# include.

    Stefan