Funkin icon indicating copy to clipboard operation
Funkin copied to clipboard

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]

Open Filename99 opened this issue 4 years ago • 8 comments

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

  • [x] Windows
  • [ ] Mac
  • [ ] Linux
  • [ ] HTML5

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?

Filename99 avatar Nov 20 '21 12:11 Filename99

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

redbluexe0 avatar Nov 21 '21 02:11 redbluexe0

@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.

Filename99 avatar Nov 21 '21 04:11 Filename99

@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

redbluexe0 avatar Nov 22 '21 13:11 redbluexe0

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)

DotWith avatar Nov 26 '21 08:11 DotWith

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

redbluexe1 avatar Nov 26 '21 16:11 redbluexe1

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.

ProjectHSI avatar Jan 10 '22 23:01 ProjectHSI

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

4techguns avatar Apr 09 '22 16:04 4techguns

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

  • VC++ 2017 version 15.9 v14.16 latest v141 tools
  • VC++ 2017 version 15.9 v14.16 Libs for Spectre (ARM)
  • VC++ 2017 version 15.9 v14.16 Libs for Spectre (ARM64)
  • VC++ 2017 version 15.9 v14.16 Libs for Spectre (x86 and x64)

BernardoGP4504 avatar Aug 05 '22 23:08 BernardoGP4504