Starmapo / FNF-PsychEngine-Extra

Psych Engine fork adding AWESOME and EPIC stuff
Apache License 2.0
4 stars 3 forks source link

Error: could not automatically setup MSVC #24

Open German5wasalreadytaken opened 2 years ago

German5wasalreadytaken commented 2 years ago

Describe your problem here.

I have trouble compiling engine. I don't know what version of VS to use. image

Are you modding a build from source or with Lua?

Source

What is your build target?

Windows x64

Did you edit anything in this build? If so, mention or summarize your changes.

I only edited some values in Discord.hx to match my mod (i did not rewrite any of the code)

MeguminBOT commented 2 years ago

Simplest way to install the correct VS stuff is by entering these commands (in order) on command prompt.

This downloads Visual Studio Installer

curl -# -O https://download.visualstudio.microsoft.com/download/pr/3105fcfe-e771-41d6-9a1c-fc971e7d03a7/8eb13958dc429a6e6f7e0d6704d43a55f18d02a253608351b6bf6723ffdaf24e/vs_Community.exe

Starts the installer and selects the packages you need to compile.

vs_Community.exe --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.Windows10SDK.19041 -p --norestart

Deletes the setup file after you've installed it

del vs_Community.exe