Most likely you made an error in one of your header files that include eikonenv.h. Possibly you forgot the "};" closing brace and semicolon at the end of one of your include files that also include this file.
hm i dont think so because every programm who i compile before now show the same error... can anyone please upload the eikaufty.h for checking if my is right?
i dont find my problem but i installed sdk new and now this work