Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 2 and Version 3 of dev/VisualStudio


Ignore:
Timestamp:
Oct 2, 2008, 9:06:38 PM (16 years ago)
Author:
rgrieder
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • dev/VisualStudio

    v2 v3  
    22= Orxonox installation under Windows with Visual Studio =
    33== A Note ==
    4 A note a the beginning: Currently, the visual studio project files generated by CMake don't yet work properly. I will be working on that soon however. [[br]]
    5 The alternative is to use the manually maintained files by Reto for VS 2005 in the visual_studio folder of your source checkout. This however has a certain disadvantage: The project settings are quite complicated to be set (once you get the hang of it, it's easier than the normal way). So if you want to use Visual Studio to develop Orxonox, please contact [wiki:RetoGrieder me] first. [[br]]
    6 This is why we recommend using MinGW and code::blocks when developing under Windows. The debugging is bit more complicated though.
     4A note a the beginning: Currently, the visual studio project files generated by CMake don't yet work properly. If I can find the time, I shall try to make it work, but it's going to be ugly.[[br]]
     5The alternative is to use the manually maintained files by Reto for VS 2005 in the visual_studio folder of your source checkout. This however has a certain disadvantage: The project settings are quite complicated to be set (once you get the hang of it, it's easier than the normal way). It is however not necessary to change these settings to develop orxonox with Visual Studio. So if you want to know more please contact [wiki:RetoGrieder me] first. [[br]]
    76
    87== Preparations ==
    9  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. Once the CMake generators work, it should be possible to use several versions. [[br]][[br]]
     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]]
    109
    11  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 ''below'' 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]]
     10 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]]
    1211
    13  2. Run visual_studio/orxonox_vc8.sln now. When started, you can see all projects of the solution in the left window (otherwise get that window with ''View, Solution Explorer''). Now right click on ''orxonox'' and choose ''Set as StartUp Project''. Unfortunately you still have to specify the output working directory: Right click on ''orxonox'' again and choose ''properties''. Then in the upper left corner under ''configuration'' choose ''All configurations''. Then go to ''Debugging'' section and specify "$(OutDir)" as the ''working directory''. [[br]][[br]]
     12 2. Run visual_studio/vc8/orxonox_vc8.sln now. When started, you can see all projects of the solution in the left window (otherwise get that window with ''View, Solution Explorer''). Now right click on ''orxonox'' and choose ''Set as StartUp Project''. Unfortunately you still have to specify the output working directory: Right click on ''orxonox'' again and choose ''properties''. Then in the upper left corner under ''configuration'' choose ''All configurations''. Then go to ''Debugging'' section and specify "$(OutDir)" as the ''working directory''. [[br]][[br]]
    1413
    1514You should have a directory structure like this:
    1615{{{
    17 dependencies
    18  bin
    19  include
    20  lib
    2116media (repository checkout, you choose the name..)
    2217 ...
     
    2419 bin
    2520 cmake
     21 dependencies
     22  bin
     23  boost-1.35.0
     24  ogre-1.4.9
     25  ...
    2626 src
    2727  audio