FunkinCrew / Funkin

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

Compiling help: (WDeprecatedEnumAbstract) `@:enum abstract` is deprecated in favor of `enum abstract` #2439

Closed CasualCypress closed 5 months ago

CasualCypress commented 6 months 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 keep having trouble with compiling this, I keep removing and installing stuff back and forth and i just need help PLS!!

source/Prebuild.hx:15: Building... WARNING C:/Users/---/Desktop/Friday_Night_Funkin'/Engines/Vanilla/0.3.3/funkin/.haxelib/polymod/git/polymod/Polymod.hx:1005: characters 1-7

1005 | @:enum abstract PolymodErrorOrigin(String) from String to String | ^^^^^^ | (WDeprecatedEnumAbstract) @:enum abstract is deprecated in favor of enum abstract

WARNING C:/Users/---/Desktop/Friday_Night_Funkin'/Engines/Vanilla/0.3.3/funkin/.haxelib/polymod/git/polymod/Polymod.hx:1051: characters 1-7

1051 | @:enum abstract PolymodErrorCode(String) from String to String | ^^^^^^ | (WDeprecatedEnumAbstract) @:enum abstract is deprecated in favor of enum abstract

WARNING C:/Users/---/Desktop/Friday_Night_Funkin'/Engines/Vanilla/0.3.3/funkin/.haxelib/polymod/git/polymod/backends/PolymodAssets.hx:226: characters 1-7

226 | @:enum abstract PolymodAssetType(String) from String to String | ^^^^^^ | (WDeprecatedEnumAbstract) @:enum abstract is deprecated in favor of enum abstract

WARNING C:/Users/---/Desktop/Friday_Night_Funkin'/Engines/Vanilla/0.3.3/funkin/.haxelib/flixel/git/flixel/FlxState.hx:196: lines 196-199

196 public function switchTo(nextState:FlxState):Bool 197 { 198 return true; 199 }
switchTo is deprecated, use startOutro

WARNING C:/Users/---/Desktop/Friday_Night_Funkin'/Engines/Vanilla/0.3.3/funkin/.haxelib/flixel/git/flixel/FlxState.hx:196: lines 196-199

196 public function switchTo(nextState:FlxState):Bool 197 { 198 return true; 199 }
switchTo is deprecated, use startOutro

WARNING C:/Users/---/Desktop/Friday_Night_Funkin'/Engines/Vanilla/0.3.3/funkin/.haxelib/flixel/git/flixel/FlxState.hx:196: lines 196-199

196 public function switchTo(nextState:FlxState):Bool 197 { 198 return true; 199 }
switchTo is deprecated, use startOutro

WARNING C:/Users/---/Desktop/Friday_Night_Funkin'/Engines/Vanilla/0.3.3/funkin/.haxelib/flixel/git/flixel/FlxState.hx:196: lines 196-199

196 public function switchTo(nextState:FlxState):Bool 197 { 198 return true; 199 }
switchTo is deprecated, use startOutro

ERROR source/funkin/modding/PolymodHandler.hx:294: characters 7-24

294 | coreAssetRedirect: CORE_FOLDER, | ^^^^^^^^^^^^^^^^^ | { coreAssetRedirect : Null, assetLibraryPaths : haxe.ds.Map<String, String> } has extra field coreAssetRedirect

amyspark-ng commented 6 months ago

This was talked about before on https://github.com/FunkinCrew/Funkin/issues/2299, had this issue earlier and just had to re install hmm and re install the libraries

EliteMasterEric commented 5 months ago

Duplicate of #2299.