Forum Discussion

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

error:includes.h is missing

Guys, I'm trying to get the simple socket server example to work, but failed. First I just created a new application based on "Simple Socket Server" choosing from the listbox. I could not build the _sys file because of some stupid java_error. Okay, this does not work, so I decided to copy all the source files from the C:\altera\90\nios2eds\examples\software.. into my project folder, into the "software" folder, etc. Created a new application again in NIOS, make eat with it the source files, and tried to build. It says about the includes.h in the alt_error_handler.c that no such file or directory. I added the full path (C:\altera\90\nios2eds\components\altera_nios2\UCOSII\inc) in the Project / Options / C/c++ include path, but does not help.

So then I figured out that I may copy that includes.h into my source files folder (though this cannot be a correct solution, just researchung...). So include.h now found then, but after this another new uCOS related include files are missing. So copyng those files makes not too much sense, I have some general error, but don't what.

What the hell is going on? All of my other NIOS applications work well (these are not uCOS based).

1 Reply

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

    I have got the same problem as yours.Waiting for answer.