riconuts / FNF-Troll-Engine

43 stars 21 forks source link

Process creation failure : cl.exe On windows 11 #25

Closed octoflix closed 5 months ago

octoflix commented 6 months ago

Describe your bug here.

please somebody help. Also for some reason the compiling worked on windows 10 for me

Command Prompt/Terminal logs (if existing)

C:\Users\spimtv\Downloads\troll-engine-main>haxelib run lime test windows
C:/Users/spimtv/Downloads/troll-engine-main/.haxelib/discord_rpc/git/discord_rpc/DiscordRpc.hx:213: characters 1-7 : Warning : (WDeprecatedEnumAbstract) `@:enum abstract` is deprecated in favor of `enum abstract`
source/flixel/FlxObject.hx:1518: characters 1-7 : Warning : (WDeprecatedEnumAbstract) `@:enum abstract` is deprecated in favor of `enum abstract`
source/Github.hx:78: characters 1-7 : Warning : (WDeprecatedEnumAbstract) `@:enum abstract` is deprecated in favor of `enum abstract`
C:/Users/spimtv/Downloads/troll-engine-main/.haxelib/flixel-addons/3,0,2/flixel/addons/transition/TransitionData.hx:11: characters 1-7 : Warning : (WDeprecatedEnumAbstract) `@:enum abstract` is deprecated in favor of `enum abstract`
C:/Users/spimtv/Downloads/troll-engine-main/.haxelib/flixel-addons/3,0,2/flixel/addons/transition/FlxTransitionSprite.hx:135: characters 1-7 : Warning : (WDeprecatedEnumAbstract) `@:enum abstract` is deprecated in favor of `enum abstract`
source/JudgmentManager.hx:10: characters 1-7 : Warning : (WDeprecatedEnumAbstract) `@:enum abstract` is deprecated in favor of `enum abstract`
source/JudgmentManager.hx:40: characters 1-7 : Warning : (WDeprecatedEnumAbstract) `@:enum abstract` is deprecated in favor of `enum abstract`
source/Note.hx:25: characters 1-7 : Warning : (WDeprecatedEnumAbstract) `@:enum abstract` is deprecated in favor of `enum abstract`
source/flixel/addons/transition/FlxTransitionableState.hx:55: lines 55-64 : Warning : switchTo is deprecated, use startOutro
source/scripts/FunkinHScript.hx:657: lines 657-674 : Warning : switchTo is deprecated, use startOutro
source/modchart/Modifier.hx:16: characters 1-7 : Warning : (WDeprecatedEnumAbstract) `@:enum abstract` is deprecated in favor of `enum abstract`
source/Github.hx:78: characters 1-7 : Warning : (WDeprecatedEnumAbstract) `@:enum abstract` is deprecated in favor of `enum abstract`
source/Main.hx:47: characters 42-70 : Warning : Cannot execute 'git config --get remote.origin.url'
C:/Users/spimtv/Downloads/troll-engine-main/.haxelib/flixel-ui/2,5,0/flixel/addons/ui/FlxUICursor.hx:564: characters 9-11 : Warning : Potential typo detected (expected similar values are flixel.addons.ui.SortMethod.ID)

Compiling group: haxe
cl.exe -Iinclude -IC:/Users/spimtv/Downloads/troll-engine-main/.haxelib/discord_rpc/git/linc/ -IC:/Users/spimtv/Downloads/troll-engine-main/.haxelib/linc_luajit/git//linc/ -nologo -DHX_WINDOWS -GR -O2(optim-std) -Zi(debug) -FdC:\Users\spimtv\Downloads\troll-engine-main\export\release\windows\obj\obj/msvc64-nc/vc.pdb(debug) -Od(debug) -O2(release) -Os(optim-size) -Oy- -c -EHs -GS- -IC:/Users/spimtv/Downloads/troll-engine-main/.haxelib/hxcpp/4,3,2/include -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS(haxe) -DHXCPP_CHECK_POINTER(haxe) -DHXCPP_STACK_TRACE(haxe) -DHXCPP_STACK_LINE(haxe) -DHX_SMART_STRINGS(haxe) -DHXCPP_API_LEVEL=430(haxe) -D_CRT_SECURE_NO_DEPRECATE -D_ALLOW_MSC_VER_MISMATCH -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH -DHX_WIN_MAIN(main) -wd4996 ... tags=[haxe,static]
 - src/flixel/input/actions/_FlxSteamController/FlxSteamControllerMetadata.cpp
 - src/openfl/display/_internal/Context3DElementType.cpp
 - src/flixel/system/debug/interaction/tools/Pointer.cpp
 - src/flixel/input/actions/_FlxSteamController/FlxSteamUpdater.cpp
 - src/openfl/system/SecurityDomain.cpp  [haxe,release]
 - src/sys/io/_Process/Stdout.cpp
 - src/lime/_internal/backend/native/TextEventInfo.cpp
 - src/lime/media/openal/ALC.cpp  [haxe,release]
 - src/flixel/util/FlxPool_flixel_effects_FlxFlicker.cpp
 - src/flixel/tweens/motion/LinearPath.cpp
 - src/flixel/path/FlxPathDrawData.cpp
Process creation failure : cl.exe

Are you modding a build from source or with Lua?

Source

What is your build target?

Windows

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

no

riconuts commented 6 months ago

I'm not sure but it's probably because a new Haxe version got released and we haven't made any fixes for it yet. Try using Haxe 4.3.3

nebulazorua commented 6 months ago

Try haxe 4.2.5 or 4.3.3 (as far as I know 4.3.3 and above have bad performance issues anyway?)

octoflix commented 6 months ago

tried using 4.2.5 same error will try 4.3.3 rn

moxie-coder commented 6 months ago

I think I might know why, you either didn’t install the MSVC compiler needed, or the visual studio installation got corrupted, I would try reinstalling the needed components first, as shown in the screenshot IMG_5650