Help with GameEngine.h
Hey all,
I've had this book for a while Beginning Game Programming by Michael Morrison. It seems a good book. Teaches how to make a game engine, and how to use it (supposedly).
But I'm having a lot of trouble. It doesn't tell me how to use the GameEngine.h header file. I always get an error that there is no file or directory.
What do I do to make GameEngine.h work?
Thanks.
You might be telling the compiler you want the file "GameEngine.h", but you probably aren't telling it where to look for it. You have to add the directory that "GameEngine.h" is in to your compiler's search/include path. It's a simple process, though I don't know what IDE you're using (assuming you're using one), so I can't give you specific instructions. This can usually be done by going into the project's options and then specifying additional include directories you want the compiler to look in.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement