Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Report: Compiling error #132

Open
arandomkid1 opened this issue Jul 4, 2023 · 1 comment
Open

Bug Report: Compiling error #132

arandomkid1 opened this issue Jul 4, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@arandomkid1
Copy link

Everytime I try to compile it gives me this:
source/flixel/text/FlxText.hx:1179: characters 1-7 : Warning : (WDeprecated) @:enum abstract is deprecated in favor of enum abstract
C:/HaxeToolkit/haxe/lib/discord_rpc/git/discord_rpc/DiscordRpc.hx:213: characters 1-7 : Warning : (WDeprecated) @:enum abstract is deprecated in favor of enum abstract
source/flixel/addons/transition/FlxTransitionableState.hx:67: lines 67-77 : Warning : switchTo is deprecated, use startOutro
source/states/MusicBeatState.hx:112: lines 112-117 : Warning : switchTo is deprecated, use startOutro
source/states/PlayState.hx:4060: lines 4060-4074 : Warning : switchTo is deprecated, use startOutro
source/states/PlayState.hx:87: characters 25-33 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/states/PlayState.hx:112: characters 21-29 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/states/PlayState.hx:229: characters 17-25 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/Stage.hx:68: characters 25-33 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSoundsource/Main.hx:81: characters 61-65 : Float should be Int
source/Main.hx:81: characters 61-65 : ... For optional function argument 'updateFramerate'
source/Main.hx:81: characters 61-65 : ... For function argument 'child'
export/debug/windows/haxe/ApplicationMain.hx:151: characters 5-36 : ... Called from macro here
source/states/StoryMenuState.hx:377: lines 377-382 : Warning : switchTo is deprecated, use startOutro
source/states/FreeplayState.hx:480: lines 480-485 : Warning : switchTo is deprecated, use startOutro
source/Stage.hx:251: characters 26-34 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/states/ChartingState.hx:131: characters 20-28 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/FNFCamera.hx:135: characters 33-44 : Class<flixel.FlxG> has no field initialZoom
source/states/ChartingState.hx:945: characters 16-24 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/states/ChartingPauseSubstate.hx:128: characters 17-25 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/states/FreeplayState.hx:211: characters 25-28 : Static access to instance field add is not allowed
source/states/FreeplayState.hx:220: characters 25-28 : Static access to instance field add is not allowed
source/states/MainMenuState.hx:211: characters 25-28 : Static access to instance field add is not allowed
source/states/MainMenuState.hx:234: characters 27-30 : Static access to instance field add is not allowed
source/states/MainMenuState.hx:255: characters 27-30 : Static access to instance field add is not allowed
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)
source/states/PlayState.hx:1651: characters 17-25 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/states/PlayState.hx:1654: characters 17-25 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/states/PlayState.hx:1656: characters 14-22 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/states/PauseSubState.hx:33: characters 17-25 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/states/PauseSubState.hx:40: characters 20-28 : Warning : (WDeprecated) flixel.system.FlxSound was moved to flixel.sound.FlxSound

I followed the rules that were in the readme to compile, I even ran the dependencies file, but nothing worked.

@arandomkid1 arandomkid1 added the bug Something isn't working label Jul 4, 2023
@mario2018221
Copy link

Well,

Set flixel to 4.11.0, and flixel-addons to 2.11.0

haxelib set flixel 4.11.0
haxelib set flixel-addons 2.11.0

The deprecation warnings, just ignore them.

Anything else, I don't really know, hopefully this helped(?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants