blawar / ooot

GNU General Public License v2.0
698 stars 92 forks source link

add guide/support for visual studio 2022 command line tools to compile #270

Open nitrostemp opened 2 years ago

nitrostemp commented 2 years ago

Possible Implementation

Visual studio tools can be obtained via; https://aka.ms/vs/17/release/vs_BuildTools.exe install its 1:1 of visual studio you can run msbuild vs/oot.sln -p:Configuration=Release -p:Platform=Win32 from the ooot directory with VS build tools this would allow a streamlined compilation with setup.py would also prevent user error in visual studio gui

blawar commented 2 years ago

nice, we'll get it added. @RyzenDew can you help facilitate this?

nitrostemp commented 2 years ago

just to add to this, switching to build tools can be done from within cmd after pulling and running setup.py with %comspec% /k "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\Build\vcvarsx86_amd64.bat"

ryzendew commented 2 years ago

more detail please it hasnt worked yet

nitrostemp commented 2 years ago

@RyzenDew I will spin up a vm and record all the step

nitrostemp commented 2 years ago

@RyzenDew check this video, just went through the entire process and built the app: https://www.youtube.com/watch?v=--2DyCtRUOs

ryzendew commented 2 years ago

I will check it tomorrow it’s late and I’m in bed

Sent from my iPhone

On Apr 17, 2022, at 11:38 PM, nitrostemp @.***> wrote:

 @RyzenDew check this video, just went through the entire process and built the app: https://www.youtube.com/watch?v=--2DyCtRUOs

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.

nitrostemp commented 2 years ago

@RyzenDew did you get to check the video out?

gelson-zord commented 2 years ago

Possible Implementation

you can run msbuild vs/oot.sln -p:Configuration=Release -p:Platform=Win32 from the ooot directory with VS build tools this would allow a streamlined compilation with setup.py would also prevent user error in visual studio gui

This is great, someone could make a script with git commands, invoke setup.py and this msbuild command in the end!