CS 378 Submission InstructionsIn this class you will be developing software for your homework and project. In order to avoid frustration and to streamline the grading process, I will lay down some guidelines for submitting your work. First of all, I expect you to submit your work as a Visual Studio 2005 (VS) project. You can develop your project on any platform using any tool you want. But at the end, you must put it into a VS project that can be compiled without any errors. So please spend some time with VS environment and familiarize yourselves with how to create a clean and organized project. You can take a look at the template project. If you notice, I put all external header files into an "include" directory and all the external libraries into a "lib" directory. I also changed the project settings to tell VS to look into these folders for headers and libraries. These directories include all the external dependencies from my program. So you can download and compile without needing to download anything else. Make sure you're specifying these paths relatively. Do not use absolute paths. This is very important: Do not assume that I have any library if it doesn't come with Visual Studio. If you're in doubt, just be safe and include it in your submission in the appropriate directories. You should always check your submission on another machine and make sure that I can open the solution file, hit build and have everything compile without error. Nate and I will NOT look for or correct your compilation errors. Please spend a few extra minutes to make sure your submission is self contained and it can be compiled on another machine. Finally, out your files in a directory and zip that directory. This zip file is your submission. Here's how you change the external dependencies: Go to the project properties:
Go to the C++ - General section to change the additional include directories:
Go to the Linker - General section to change the additional library directories:
You must also tell the linker to link against the external library in Linker -> Input:
But wait, it's empty for the template project. We know that it is using G3D but it is not linking to it !!! Fortunately, G3D headers automatically tell the linker that the project needs to be linked against the G3D.lib (inside the lib directory). This is a Visual C specific feature. If you wanted to compile this program anywhere else, you would have to tell the linker the libraries that it needs to use explicitly. Okan |