User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
install [2018/02/17 20:14]
ybalrid [Get the dependency package]
install [2018/02/17 20:18] (current)
ybalrid [Build the engine via Visual Studio]
Line 73: Line 73:
 ==== Build the engine via Visual Studio ==== ==== Build the engine via Visual Studio ====
  
-In the [[source]] ​repository, navigate to the /​Annwvyn/​msvc/​Annwvyn locationYou'll find a Visual Studio solution file called "Annwvyn.sln", open it. +Use CMake to generate a visual studio solution into the "​build"​ directory on the [[source]] ​installationOpen Annwvyn.sln.
 Make sure that you're set on "​Release/​x64"​ on top on the VS window, and then hit Ctrl+Shift + B to build the entire thing. Make sure that you're set on "​Release/​x64"​ on top on the VS window, and then hit Ctrl+Shift + B to build the entire thing.
  
-If it's done sucessfully,​ you can navigate to the /Annwvyn/msvc/​Test ​directory, and do the same.  +If it's done sucessfully,​ you can navigate to the /Annwvyn/example ​directory, and do the same. (CMake, open .sln, build)
 Then, please run the /​Annwvyn/​example/​getLibs.bat script to copy all the .dlls needed to the correct location. Then, please run the /​Annwvyn/​example/​getLibs.bat script to copy all the .dlls needed to the correct location.
  
-Once you're done with that, you can try to launch the test.exe program in /​Annwvyn/​example. If you don't have a VR system setup, please use the "​novr_launcher.bat"​ script to open it in a debug mode where the game only runs in a standard window, without head-tracking+Once you're done with that, you can try to launch the AnnwvynSamples.exe program in /​Annwvyn/​example/build. If you don't have a VR system setup, please use the "​novr_launcher.bat"​ script to open it in a debug mode where the game only runs in a standard window, without head-tracking.
- +
-If you have a rift or vive setup, go along and open the right launcher ;-). +
- +
-The program will default to the Oculus VR mode if you try to run it directly+
  
-Theses launchers are only there to easily pass the right [[cmdLine|command line arguments]] to the engine.+If you have a rift or vive setup, go along and open the right launcher script ;-).
  
 +Theses launchers are only there to easily pass the right [[cmdLine|command line arguments]] to the game.
 The Annwvyn/​template directory contains a "​Game.sln"​ solution and a similar "​getLibs"​ script you should launch once.  The Annwvyn/​template directory contains a "​Game.sln"​ solution and a similar "​getLibs"​ script you should launch once.