Ok, I have a problem with c++ but since there is this recent thread I don´t want to create another one. I have limited experience in C# with XNA and have to create a game menu in a short timespan. I know I should do some tutorials, but I don´t have the time for that. I´m using Haaf´s Game Engine to create a game in a team. But I can´t get the tutorials to work.
I hope someone has experience with this engine, this is my problem:
I already did the steps mentioned here on this site in setting up a HGE Project:
http://hge.relishgames.com/doc/index.html and am doing in tutorials, tutorial 6 "Creating a Menu".
I don´t know how to include that source code in my project. I replace the text of the cpp file it creates when creating a Win32 Project with the source code from the tutorial, but can´t get it to debug.
I first get this error fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source?
So after I add this I get this error: fatal error C1083: Cannot open include file: 'menuitem.h': No such file or directory
And two warnings that look like that.
I can´t debug then because it says it can´t find an exe file of my project, so how do I make this?
EDIT: According to somebody else I had to put the hge.dll in my debug folder. But if I now include stdafx it will report over hundred error and still give the same message without.