SlightlySimple / FNF-Restructure-Engine

21 stars 4 forks source link

Compiling Error #3

Open Jamextreme140 opened 1 year ago

Jamextreme140 commented 1 year ago

I tried to compile the engine and I got this errors(skipping the warnings):

source/flixel/FlxSprite.hx:1310: characters 10-18 : This expression cannot be accessed for writing source/flixel/FlxSprite.hx:1315: characters 15-23 : This expression cannot be accessed for writing source/flixel/system/FlxSound.hx:712: characters 17-30 : Warning : (WDeprecated) flixel.system.FlxSoundGroup was moved to flixel.sound.FlxSoundGroup source/flixel/system/FlxSound.hx:718: characters 21-25 : flixel.system.FlxSound should be flixel.sound.FlxSound source/flixel/system/FlxSound.hx:718: characters 21-25 : ... For function argument 'sound' source/flixel/system/FlxSound.hx:721: characters 15-19 : flixel.system.FlxSound should be flixel.sound.FlxSound source/flixel/system/FlxSound.hx:721: characters 15-19 : ... For function argument 'sound' C:/HaxeToolkit/haxe/lib/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) C:/HaxeToolkit/haxe/lib/flixel/5,4,1/flixel/input/FlxPointer.hx:88: characters 64-75 : Null<flixel.FlxCamera> has no field viewMarginX C:/HaxeToolkit/haxe/lib/flixel/5,4,1/flixel/input/FlxPointer.hx:89: characters 64-75 : Null<flixel.FlxCamera> has no field viewMarginY source/flixel/addons/display/FlxBackdrop.hx:319: characters 23-31 : This expression cannot be accessed for writing source/flixel/addons/display/FlxBackdrop.hx:322: characters 18-26 : This expression cannot be accessed for writing source/objects/AnimatedSprite.hx:77: characters 14-19 : flixel.util.FlxAxes has no field match source/objects/AnimatedSprite.hx:77: characters 20-21 : flixel.util.FlxAxes should be Int source/objects/AnimatedSprite.hx:77: characters 24-26 : flixel.util.FlxAxes should be Int source/objects/AnimatedSprite.hx:83: characters 14-19 : flixel.util.FlxAxes has no field match source/objects/AnimatedSprite.hx:83: characters 20-21 : flixel.util.FlxAxes should be Int source/objects/AnimatedSprite.hx:83: characters 24-26 : flixel.util.FlxAxes should be Int source/objects/AnimatedSprite.hx:90: characters 13-18 : flixel.util.FlxAxes has no field match source/objects/AnimatedSprite.hx:90: characters 19-20 : flixel.util.FlxAxes should be Int source/objects/AnimatedSprite.hx:90: characters 23-25 : flixel.util.FlxAxes should be Int source/objects/AnimatedSprite.hx:92: characters 13-18 : flixel.util.FlxAxes has no field match source/objects/AnimatedSprite.hx:92: characters 19-20 : flixel.util.FlxAxes should be Int source/objects/AnimatedSprite.hx:92: characters 23-25 : flixel.util.FlxAxes should be Int source/game/ResultsSubState.hx:112: characters 24-33 : flixel.system.FlxSound should be flixel.sound.FlxSound source/game/ResultsSubState.hx:112: characters 24-33 : ... For function argument 'basic' C:/HaxeToolkit/haxe/lib/flixel-addons/3,0,2/flixel/addons/text/FlxTypeText.hx:545: characters 3-44 : flixel.sound.FlxSound should be flixel.system.FlxSound source/menus/PauseSubState.hx:70: characters 24-33 : flixel.system.FlxSound should be flixel.sound.FlxSound source/menus/PauseSubState.hx:70: characters 24-33 : ... For function argument 'basic' source/editors/ChartEditorState.hx:2310: characters 24-32 : flixel.system.FlxSound should be flixel.sound.FlxSound source/editors/ChartEditorState.hx:2310: characters 24-32 : ... For function argument 'basic' source/editors/ChartEditorState.hx:2341: characters 24-32 : flixel.system.FlxSound should be flixel.sound.FlxSound source/editors/ChartEditorState.hx:2341: characters 24-32 : ... For function argument 'basic' source/game/PlayState.hx:350: characters 24-32 : flixel.system.FlxSound should be flixel.sound.FlxSound source/game/PlayState.hx:350: characters 24-32 : ... For function argument 'basic' source/game/PlayState.hx:367: characters 25-33 : flixel.system.FlxSound should be flixel.sound.FlxSound source/game/PlayState.hx:367: characters 25-33 : ... For function argument 'basic' C:/HaxeToolkit/haxe/lib/flixel/5,4,1/flixel/util/FlxSpriteUtil.hx:179: characters 54-68 : Null<flixel.FlxCamera> has no field viewMarginLeft C:/HaxeToolkit/haxe/lib/flixel/5,4,1/flixel/util/FlxSpriteUtil.hx:180: characters 22-31 : Null<flixel.FlxCamera> has no field viewRight (Suggestion: viewHeight) C:/HaxeToolkit/haxe/lib/flixel/5,4,1/flixel/util/FlxSpriteUtil.hx:181: characters 59-74 : Null<flixel.FlxCamera> has no field viewMarginRight C:/HaxeToolkit/haxe/lib/flixel/5,4,1/flixel/util/FlxSpriteUtil.hx:182: characters 22-30 : Null<flixel.FlxCamera> has no field viewLeft C:/HaxeToolkit/haxe/lib/flixel/5,4,1/flixel/util/FlxSpriteUtil.hx:184: characters 53-66 : Null<flixel.FlxCamera> has no field viewMarginTop C:/HaxeToolkit/haxe/lib/flixel/5,4,1/flixel/util/FlxSpriteUtil.hx:185: characters 22-32 : Null<flixel.FlxCamera> has no field viewBottom C:/HaxeToolkit/haxe/lib/flixel/5,4,1/flixel/util/FlxSpriteUtil.hx:186: characters 57-73 : Null<flixel.FlxCamera> has no field viewMarginBottom C:/HaxeToolkit/haxe/lib/flixel/5,4,1/flixel/util/FlxSpriteUtil.hx:187: characters 22-29 : Null<flixel.FlxCamera> has no field viewTop C:/HaxeToolkit/haxe/lib/flixel/5,4,1/flixel/util/FlxSpriteUtil.hx:215: characters 53-67 : Null<flixel.FlxCamera> has no field viewMarginLeft C:/HaxeToolkit/haxe/lib/flixel/5,4,1/flixel/util/FlxSpriteUtil.hx:216: characters 22-30 : Null<flixel.FlxCamera> has no field viewLeft C:/HaxeToolkit/haxe/lib/flixel/5,4,1/flixel/util/FlxSpriteUtil.hx:217: characters 60-75 : Null<flixel.FlxCamera> has no field viewMarginRight C:/HaxeToolkit/haxe/lib/flixel/5,4,1/flixel/util/FlxSpriteUtil.hx:218: characters 22-31 : Null<flixel.FlxCamera> has no field viewRight (Suggestion: viewHeight) C:/HaxeToolkit/haxe/lib/flixel/5,4,1/flixel/util/FlxSpriteUtil.hx:220: characters 50-63 : Null<flixel.FlxCamera> has no field viewMarginTop C:/HaxeToolkit/haxe/lib/flixel/5,4,1/flixel/util/FlxSpriteUtil.hx:221: characters 22-29 : Null<flixel.FlxCamera> has no field viewTop C:/HaxeToolkit/haxe/lib/flixel/5,4,1/flixel/util/FlxSpriteUtil.hx:222: characters 60-76 : Null<flixel.FlxCamera> has no field viewMarginBottom C:/HaxeToolkit/haxe/lib/flixel/5,4,1/flixel/util/FlxSpriteUtil.hx:223: characters 22-32 : Null<flixel.FlxCamera> has no field viewBottom source/flixel/FlxCamera.hx:1084: characters 31-42 : Class<flixel.FlxG> has no field initialZoom source/Main.hx:29: characters 69-72 : Int should be Bool source/Main.hx:29: characters 69-72 : ... For optional function argument 'skipSplash'

I tried to compile using these following versions:

SlightlySimple commented 1 year ago

Restructure Engine uses a lot of outdated versions of libraries, and as such I don't recommend compiling the engine yourself I might go through all my libraries and write down the versions later, but for now, download a release build and use that