Sunday, October 7, 2012

Making Assignment 2 Compile

A few of you have had issues making Assignment 2 compile.  There are a couple of steps to making it work, as follow. (You may need to follow these instructions in addition to this.)

First, you will notice there are issues with some include header files.  The include that has a big long path can just be commented out - the needed header file is already included in the correct way after that line.  You can just remove the include for dxerr9.h as it is not needed.

Second, you'll see issues with the house class.  The files you need exist, but they are not included in the project properly.  If you look under "External Dependencies" in the Solution Explorer, you will find House.h.  You can right click that file and add it to the project.  You'll also need the source file, though.  To get that, right click on the "Source Files" folder in the Solution Explorer, then Add, Existing Item... You'll find House.cpp in the first folder that pops up.

At this point everything should be compiling.  Leave a comment or email me if you are still having issues.

No comments:

Post a Comment