Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 3 and Version 4 of dev/VisualStudio


Ignore:
Timestamp:
Oct 2, 2008, 9:12:13 PM (12 years ago)
Author:
rgrieder
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • dev/VisualStudio

    v3 v4  
    66
    77== Preparations ==
    8  1. First, you need to see that you are DirectX ready. There is very good wiki [http://www.ogre3d.org/wiki/index.php/Building_From_Source#Visual_C.2B.2B_2005_.28VC8.2FSP1.29 article] on that on the Ogre website. Bear in mind that we '''only support Visual Studio 2005 SP1'''. Once the CMake generators work, it should be possible to use several versions. [[br]][[br]]
     8Bear in mind that we '''only support Visual Studio 2005 SP1'''. Once the CMake generators work, it should be possible to use several versions.
    99
     10=== DirectX SDK ===
     11(The following instructions for DirectX are copied from the OGRE wiki)
     12
     13Download the latest DirectX 9.0 SDK from http://msdn.microsoft.com/directx.
     14
     15The DirectX SDK install should automatically update the Visual Studio include and library paths with the locations of the DX SDK includes and lib paths. If not, you will need to enter the DirectX include and library directories into MSVC so you can compile against the SDK.  It would look something like this:
     16
     17 * Select Tools|Options|Projects|VC++ Directories
     18'''Note''': Path to the folder must be ON TOP of the list or you will get errors during compilation (Example: error LNK2001: unresolved external symbol _IID_IDirect3DBaseTexture9)
     19
     20 * Under library files, set the appropriate library directory for the SDK. E.g.,
     21     C:\Program Files\Microsoft DirectX SDK (August 2007)\Lib\x86
     22
     23 * Under include files, set the appropriate include directory for the SDK. E.g.,
     24     C:\Program Files\Microsoft DirectX SDK (August 2007)\Include
     25
     26=== Configuring the Solution ===
    1027 1. The next thing is getting the external dependencies. We supply these as precompiled [http://svn.orxonox.net/ogre/binaries/VisualStudio8/ archives] (take the newest ones) with the lib, dll and include files all at once. There are also debug symbols, if you want to debug them. Once you got the archive, put it in the directory of your source checkout folder and extract it right there (not in a new folder). This will create a folder named "dependencies" that include everything necessary. You can proceed the same way with the debug symbols.[[br]][[br]]
    1128