ooot icon indicating copy to clipboard operation
ooot copied to clipboard

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

Open nitrostemp opened this issue 2 years ago • 8 comments

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

nitrostemp avatar Apr 15 '22 07:04 nitrostemp

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

blawar avatar Apr 15 '22 13:04 blawar

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"

nitrostemp avatar Apr 17 '22 01:04 nitrostemp

more detail please it hasnt worked yet

ryzendew avatar Apr 17 '22 16:04 ryzendew

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

nitrostemp avatar Apr 18 '22 01:04 nitrostemp

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

nitrostemp avatar Apr 18 '22 02:04 nitrostemp

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.

ryzendew avatar Apr 18 '22 02:04 ryzendew

@RyzenDew did you get to check the video out?

nitrostemp avatar Apr 20 '22 05:04 nitrostemp

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!

gelson-zord avatar Apr 21 '22 08:04 gelson-zord