Changes between Version 417 and Version 418 of BuildInstructions


Ignore:
Timestamp:
Jan 16, 2022, 8:18:56 PM (2 years ago)
Author:
Grapjas
Comment:

Technically you don't build the solution with F5 in VS 2017 (wiki said F7 before this change which does nothing), but it does pop up a dialog window to make a build and it's easier to remember than SHIFT+CTRL+B, after which you need to press F5 anyway. The default startup project is collada, but the wiki assumed it was pyrogenesis. Also added the SHIFT+F5 combo which force shutdowns the game in case of becoming completely unresponsive (which happens).

Legend:

Unmodified
Added
Removed
Modified
  • BuildInstructions

    v417 v418  
    6666Make sure to select the "Release" configuration to build an optimized, more playable version of the game (the target will be `pyrogenesis.exe`). The "Debug" configuration can be more useful for debugging but has significantly reduced performance (the target will be `pyrogenesis_dbg.exe`). Both "Release" and "Debug" builds include debug symbols, see [wiki:Debugging] and [wiki:DebuggingOnWindows Debugging on Windows] for more details on debugging.
    6767
    68 Now you should be able to build the code from within Visual Studio, using "Build Solution" (F7 in VS 2017 and Ctrl+B in VS 2019).
     68Now you should be able to build the code from within Visual Studio, using "Build Solution" (F5 in VS 2017 and Ctrl+B in VS 2019). 
    6969
    7070=== Building Atlas ===
     
    7474
    7575=== Running ===
    76 Run the game with F5 inside Visual Studio (assuming "pyrogenesis" is set as the startup project, which is default). If you want to run it outside the debugger, run `binaries\system\pyrogenesis_dbg.exe`.
     76Rightclick on "pyrogenesis" in the solution explorer panel on the right hand side and select "Set as !StartUp Project". Run the game with F5 inside Visual Studio. You can close the game with SHIFT + F5 from inside vs studio if it becomes unresponsive. If you want to run it outside the debugger, run `binaries\system\pyrogenesis_dbg.exe`.
    7777
    7878To run the automated tests, run the "test" project. (Right click on "test" and "set as !StartUp Project" and F5; or right click, "Debug", "Start new instance"). In VS's debug output window, ignore any "first-chance exception" messages; it should say ".......OK!" if it succeeded.
     
    141141export WX_CONFIG=wx-config-gtk3
    142142}}}
    143    if not correct, you will get errors about missing "wx/*.h" includes. You can skip building Atlas altogether (and the wxWidgets dependency) by later passing the --disable-atlas option to update-workspaces.sh. 
     143   if not correct, you will get errors about missing "wx/*.h" includes. You can skip building Atlas altogether (and the wxWidgets dependency) by later passing the --disable-atlas option to update-workspaces.sh.
    144144
    145145==== Debian, Ubuntu ====