Post by Hannes Vilhjalmsson on Jan 16, 2013 10:09:39 GMT -5
We can use this thread to discuss the first lab project on the "Ogre Startup Sequence". There were a few important notes about the project that were made during the class on Tuesday. Here is a summary of those notes:
Feel free to add more notes below or ask questions.
- Regarding definition of the OGRE_HOME operating system environment variable: It is perfectly fine to define it as a "User Variable" (i.e. only available to the current user), it does not have to be a "System Variable" (i.e. available to all users on the system).
- After changing an operating system environment variable like OGRE_HOME, you have to re-start the VC++ development environment for the variable to become available (this is a general rule for all applications and console windows).
- On some computers in the class it seemed like OGRE_HOME stopped being available or could not be used. If you have double-checked that the variable is correctly set and included in the VC++ properties, the work-around (so you can continue with the project) is simply to type in the full absolute paths in the VC++ properties instead of using OGRE_HOME.
- In order to see the C/C++ properties in your VC++ project, you have to have already created a new C++ source file in the project (it can be empty).
- If you receive a "LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt" error, then you can try turning off incremental linking (Linker->General->Enable Incremental Linking=No).
- When you get your application running and you see the Ogre configuration dialog appear, you may want to disable "full-screen" in the properties below the drop-box (after you select a rendering API). This way your application won't completely block your desktop and require being killed through the task manager.
- In Step 2: "Loading the Sinbad Mesh", you should use the full absolute path to the Sinbad zip file, instead of the relative path shown in the hand-out. But remember: You have to stick with the Unix path notation (use forward slashes and skip drive volume).
Feel free to add more notes below or ask questions.