lördag 18 juli 2009

Compilation and dependencies

I changed the project settings so that the OPENAL_HOME environment variable is no longer needed; now the OpenAL part is self-contained.

The following is old news for those who were present at the last meeting, but could be a useful summary for anyone else wanting to compile the latest version:

The GUI code is in a separate file and will be integrated better in a future main.cpp, for now we reverted to an older version and saved the new version as mainGUI.cpp.

In the VS menu, go to Project -> Properties (Alt+F7), then to
Configuration Properties -> Debugging
Edit the following fields as follows:
Command: $(ProjectName).exe
Working Directory: bin\debug

If you don't have the DirectX SDK installed, you might get an error that dxguid.lib and dinput8.lib can't be found. If you aren't trying to compile the GUI version, these dependencies can be deleted from Configuration Properties -> Linker -> Input. Perhaps they should be added to the SVN repository, too?
As Michael mentioned, some files from the Ogre3D SDK are also needed for the GUI version, so having that installed is also good.

Inga kommentarer:

Skicka en kommentar