Forum Discussion

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

How to include header files in Nios IDE?

Hello ,

When I use the example of webserver as mentioned in tt_nios2_MicroC_OSII_tutorial.pdf, there are errors as:

***[obj/http.o]Error 1

lwip/netif.h:No such file or directory

lwip/sockets.h:No such file or directory

arch/sys_arch.h:No such file of directory

Who can help me?

Thanks!

1 Reply

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

    Sounds to me like you have either installed the light install (can't remember the correct name), which does not have MicroC/OS-II or your install is corrupt.

    These files should be in

    altera\kits\nios2\components\altera_lwip\UCOSII\src\downloads\lwip-0.7.2\src\include\lwip

    and

    altera\kits\nios2\components\altera_lwip\UCOSII\src\downloads\lwip4ucosii\ucos-ii\include\arch