FunkinCrew / Funkin

A rhythm game made with HaxeFlixel
https://www.newgrounds.com/portal/view/770371
Other
2.92k stars 2.27k forks source link

Compiling help: [This thing always haunts me in my dreams... / C:\Users\K1\Downloads\Funkin\export\debug\windows\obj>setlocal enabledelayedexpansion Warning: Could not find Visual Studio 2017 VsDevCmd Missing HXCPP_VARS Error: Could not automatically setup MSVC] #1884

Closed Filename99 closed 4 months ago

Filename99 commented 2 years ago

Please check for duplicates or similar compiler issues by filtering for 'compiler help'

Please describe your issue. Provide extensive detail and images if possible.

I'm so tired of this abuse... Okay, let me explain. When I try to compile FNF or FNF mod engines, I always get this: image I don't know what to do. I installed everything that said "MSVC" and "Windows SDK" but I still get this error. Can somebody help me out?

redbluexe0 commented 2 years ago

@Filename99 install visual studio 2019 with MSBuild and Windows sdk [version on readme]. then try again.

Filename99 commented 2 years ago

@redbluexe0 Can you please rewatch the issue? I said "I installed everything that said "MSVC" and "Windows SDK"." That means I downloaded Visual Studio 2019 Community, downloaded MSVC build tools and Windows SDK. But I still get this error. I tried downloading it several times with the pack of individual components that was in README.md but still no results.

redbluexe0 commented 2 years ago

@redbluexe0 Can you please rewatch the issue? I said "I installed everything that said "MSVC" and "Windows SDK"." That means I downloaded Visual Studio 2019 Community, downloaded MSVC build tools and Windows SDK. But I still get this error. I tried downloading it several times with the pack of individual components that was in README.md but still no results.

you need to install Visual Studio Community 2019. with MSVC v142 - VS 2019 C++ x64/x86 build tools Windows SDK (10.0.17763.0)

if you actually did it then re install it i guess

DotWith commented 2 years ago
MSVC v143 - VS 2022 C++ x64/x86 build tools
Windows 10 SDK (10.20348.0)

If on windows 11 install

Windows 11 SDK (10.0.22000.0)
redbluexe1 commented 2 years ago
MSVC v143 - VS 2022 C++ x64/x86 build tools
Windows 10 SDK (10.20348.0)

If on windows 11 install

Windows 11 SDK (10.0.22000.0)
MSVC v143 - VS 2022 C++ x64/x86 build tools
Windows 10 SDK (10.20348.0)

If on windows 11 install

Windows 11 SDK (10.0.22000.0)

ninjamuffin didnt verify if it can compile it on windows 11 yet

ProjectHSI commented 2 years ago

ninjamuffin didnt verify if it can compile it on windows 11 yet

I don't think it should be an issue, Haxe is a cross-platform scripting language anyway. I'm still on Win10 Anyways so I can't confirm.

4techguns commented 2 years ago
MSVC v143 - VS 2022 C++ x64/x86 build tools
Windows 10 SDK (10.20348.0)

If on windows 11 install

Windows 11 SDK (10.0.22000.0)
MSVC v143 - VS 2022 C++ x64/x86 build tools
Windows 10 SDK (10.20348.0)

If on windows 11 install

Windows 11 SDK (10.0.22000.0)

ninjamuffin didnt verify if it can compile it on windows 11 yet

I can confirm compiling on Win 11 works without issue. 11 uses the same kernal version as 10, so there shouldn't be that much difference

BernardoGP4504 commented 2 years ago

install visual studio 2017 (they share the same installer btw) and search for VC and then install: