Forum Discussion

ABola2's avatar
ABola2
Icon for New Contributor rankNew Contributor
7 years ago
Solved

In NIOS II, Eclipse tool Unresolved inclusion: "altera_avalon_pio_regs.h" in Eclipse® project Unresolved inclusion: "altera_avalon_uart_regs.h" in Eclipse® project

How to solve these errors? please help

  • Hi @ABola2​ ,

    First check if you have altera_avalon_pio_regs.h & altera_avalon_uart_regs.h files in design directory "<Project>_bsp->drivers->inc" folder. If yes, Clean the project and build the project. If no, You have to add appropriate headers which are available.

    Refer the image attached.

    Let me know if this has helped resolve the issue you are facing or if you need any further assistance.

    Regards

    Anand

3 Replies

  • AnandRaj_S_Intel's avatar
    AnandRaj_S_Intel
    Icon for Regular Contributor rankRegular Contributor

    Hi @ABola2​ ,

    First check if you have altera_avalon_pio_regs.h & altera_avalon_uart_regs.h files in design directory "<Project>_bsp->drivers->inc" folder. If yes, Clean the project and build the project. If no, You have to add appropriate headers which are available.

    Refer the image attached.

    Let me know if this has helped resolve the issue you are facing or if you need any further assistance.

    Regards

    Anand

  • ABola2's avatar
    ABola2
    Icon for New Contributor rankNew Contributor

    Thanks for the advise. I have the correct header files,

    Still seeing the same error, even trying to clean the project, and rebuild. can you give more suggestions?

    • AnandRaj_S_Intel's avatar
      AnandRaj_S_Intel
      Icon for Regular Contributor rankRegular Contributor

      ​Hi @ABola2​ ,

      You can recreate the project if you have .sopcinfo file & add your .c source file to project and check.

      Attach error message.

      Which example design are you using? Can you share it?

      Regards

      Anand