some-fnf-archives / FNF-LegacyPsych

it's Psych Engine 0.6.3 but it compiles with newer flixel versions and also has stuff from 0.7 that is just better
Apache License 2.0
14 stars 6 forks source link

Lots of errors when trying to compile #1

Closed SMB-5 closed 11 months ago

SMB-5 commented 11 months ago

Describe your problem here.

tried to compile for the first time and I got all of these errors:

source/TitleState.hx:31: characters 8-29 : Type not found : flixel.sound.FlxSound
source/Alphabet.hx:10: characters 8-29 : Type not found : flixel.sound.FlxSound
source/editors/ChartingState.hx:33: characters 8-29 : Type not found : flixel.sound.FlxSound
source/editors/ChartingState.hx:150: characters 13-21 : Type not found : FlxSound
source/InitState.hx:9: lines 9-51 : ... Defined in this class
source/CoolUtil.hx:9: characters 8-29 : Type not found : flixel.sound.FlxSound
source/PlayState.hx:30: characters 8-29 : Type not found : flixel.sound.FlxSound
source/FunkinLua.hx:21: characters 8-29 : Type not found : flixel.sound.FlxSound
source/FunkinLua.hx:39: characters 8-46 : Type not found : flixel.addons.display.FlxRuntimeShader
source/PlayState.hx:64: characters 8-46 : Type not found : flixel.addons.display.FlxRuntimeShader
source/PlayState.hx:110: characters 40-48 : Type not found : FlxSound
source/WeekData.hx:31: lines 31-267 : ... Defined in this class
source/TypedAlphabet.hx:9: characters 8-29 : Type not found : flixel.sound.FlxSound
source/FunkinLua.hx:2850: characters 40-56 : Type not found : FlxRuntimeShader
source/WeekData.hx:31: lines 31-267 : ... Defined in this class
source/animateatlas/AtlasFrameMaker.hx:50: characters 14-22 : Class<PlayState> has no field instance
source/Character.hx:370: characters 103-107 : Class<PlayState> has no field SONG
source/editors/MasterEditorMenu.hx:14: characters 8-29 : Type not found : flixel.sound.FlxSound
source/editors/WeekEditorState.hx:14: characters 8-29 : Type not found : flixel.sound.FlxSound
source/editors/MenuCharacterEditorState.hx:14: characters 8-29 : Type not found : flixel.sound.FlxSound
source/editors/DialogueCharacterEditorState.hx:14: characters 8-29 : Type not found : flixel.sound.FlxSound
source/editors/DialogueEditorState.hx:14: characters 8-29 : Type not found : flixel.sound.FlxSound
source/FreeplayState.hx:17: characters 8-29 : Type not found : flixel.sound.FlxSound
source/FreeplayState.hx:235: characters 27-35 : Type not found : FlxSound
source/editors/MasterEditorMenu.hx:21: lines 21-189 : ... Defined in this class
source/MusicBeatState.hx:59: characters 17-21 : Class<PlayState> has no field SONG
source/MusicBeatState.hx:173: characters 16-20 : Class<PlayState> has no field SONG
source/MusicBeatState.hx:173: characters 42-46 : Class<PlayState> has no field SONG
source/MusicBeatState.hx:173: characters 90-94 : Class<PlayState> has no field SONG
source/MusicBeatState.hx:92: characters 27-31 : Class<PlayState> has no field SONG
source/MusicBeatState.hx:94: characters 18-22 : Class<PlayState> has no field SONG
source/LoadingState.hx:140: characters 31-35 : Class<PlayState> has no field SONG
source/LoadingState.hx:145: characters 33-37 : Class<PlayState> has no field SONG
source/MainMenuState.hx:163: characters 21-27 : Class<FreeplayState> has no field vocals
source/MainMenuState.hx:163: characters 51-57 : Class<FreeplayState> has no field vocals
source/ModsMenuState.hx:17: characters 8-29 : Type not found : flixel.sound.FlxSound
source/ModsMenuState.hx:463: characters 22-28 : Class<FreeplayState> has no field vocals
source/ModsMenuState.hx:465: characters 20-26 : Class<FreeplayState> has no field vocals
source/ModsMenuState.hx:466: characters 20-26 : Class<FreeplayState> has no field vocals
source/StoryMenuState.hx:57: characters 13-24 : Class<PlayState> has no field isStoryMode
source/StoryMenuState.hx:410: characters 13-22 : Class<PlayState> has no field storyWeek
source/WeekData.hx:236: characters 46-55 : Class<PlayState> has no field storyWeek
source/CoolUtil.hx:39: characters 35-50 : Class<PlayState> has no field storyDifficulty
source/StoryMenuState.hx:312: characters 14-27 : Class<PlayState> has no field storyPlaylist
source/StoryMenuState.hx:313: characters 14-25 : Class<PlayState> has no field isStoryMode
source/StoryMenuState.hx:319: characters 14-29 : Class<PlayState> has no field storyDifficulty
source/StoryMenuState.hx:321: characters 14-18 : Class<PlayState> has no field SONG
source/StoryMenuState.hx:321: characters 49-62 : Class<PlayState> has no field storyPlaylist
source/StoryMenuState.hx:321: characters 100-113 : Class<PlayState> has no field storyPlaylist
source/StoryMenuState.hx:322: characters 14-27 : Class<PlayState> has no field campaignScore
source/StoryMenuState.hx:323: characters 14-28 : Class<PlayState> has no field campaignMisses
source/StoryMenuState.hx:327: characters 19-40 : Class<FreeplayState> has no field destroyFreeplayVocals
source/FunkinLua.hx:3184: characters 24-32 : Class<PlayState> has no field instance
source/FunkinLua.hx:3219: characters 13-21 : Class<PlayState> has no field instance
source/FunkinLua.hx:3221: characters 13-21 : Class<PlayState> has no field instance
source/FunkinLua.hx:3233: characters 13-21 : Class<PlayState> has no field instance
source/FunkinLua.hx:3233: characters 66-73 : Arrays of mixed types are only allowed if the type is forced to Array<Dynamic>
source/FunkinLua.hx:3233: characters 66-73 : Float should be String
source/FunkinLua.hx:3235: characters 13-21 : Class<PlayState> has no field instance
source/FunkinLua.hx:3235: characters 70-77 : Arrays of mixed types are only allowed if the type is forced to Array<Dynamic>
source/FunkinLua.hx:3235: characters 70-77 : Float should be String
source/FunkinLua.hx:3240: characters 13-21 : Class<PlayState> has no field instance
source/FunkinLua.hx:3268: characters 42-50 : Class<PlayState> has no field instance
source/FunkinLua.hx:3276: characters 44-60 : Unknown identifier : FlxRuntimeShader
source/FunkinLua.hx:3276: characters 44-60 : ... For function argument 'value'
source/FunkinLua.hx:3283: characters 14-22 : Class<PlayState> has no field instance
source/FunkinLua.hx:3288: characters 17-25 : Class<PlayState> has no field instance
source/FunkinLua.hx:3288: characters 69-77 : Class<PlayState> has no field instance
source/FunkinLua.hx:3293: characters 17-25 : Class<PlayState> has no field instance
source/FunkinLua.hx:3295: characters 15-23 : Class<PlayState> has no field instance
source/WeekData.hx:231: characters 30-39 : Class<PlayState> has no field storyWeek
source/psychlua/LuaUtils.hx:96: characters 14-22 : Class<PlayState> has no field instance
source/psychlua/LuaUtils.hx:84: characters 44-52 : Class<PlayState> has no field instance
source/psychlua/LuaUtils.hx:85: characters 48-56 : Class<PlayState> has no field instance
source/psychlua/LuaUtils.hx:86: characters 22-30 : Class<PlayState> has no field instance
source/CoolUtil.hx:55: characters 33-48 : Class<PlayState> has no field storyDifficulty
source/Character.hx:259: characters 37-45 : Class<PlayState> has no field instance
source/Rating.hx:27: characters 30-38 : Class<PlayState> has no field instance
source/Rating.hx:27: characters 73-81 : Class<PlayState> has no field instance
source/StrumNote.hx:49: characters 16-28 : Class<PlayState> has no field isPixelStage
source/StrumNote.hx:57: characters 45-56 : Class<PlayState> has no field daPixelZoom
source/StrumNote.hx:163: characters 57-69 : Class<PlayState> has no field isPixelStage
source/StrumNote.hx:38: characters 16-20 : Class<PlayState> has no field SONG
source/StrumNote.hx:38: characters 52-56 : Class<PlayState> has no field SONG
source/StrumNote.hx:38: characters 96-100 : Class<PlayState> has no field SONG
source/StrumNote.hx:139: characters 56-68 : Class<PlayState> has no field isPixelStage
source/Note.hx:258: characters 21-25 : Class<PlayState> has no field SONG
source/Note.hx:274: characters 16-28 : Class<PlayState> has no field isPixelStage
source/Note.hx:287: characters 45-56 : Class<PlayState> has no field daPixelZoom
source/Note.hx:293: characters 69-80 : Class<PlayState> has no field daPixelZoom
source/Note.hx:123: characters 33-37 : Class<PlayState> has no field SONG
source/Note.hx:217: characters 18-30 : Class<PlayState> has no field isPixelStage
source/Note.hx:225: characters 18-26 : Class<PlayState> has no field instance
source/Note.hx:227: characters 36-44 : Class<PlayState> has no field instance
source/Note.hx:230: characters 18-30 : Class<PlayState> has no field isPixelStage
source/Note.hx:238: characters 17-29 : Class<PlayState> has no field isPixelStage
source/Note.hx:239: characters 26-37 : Class<PlayState> has no field daPixelZoom
source/Conductor.hx:38: characters 38-46 : Class<PlayState> has no field instance
source/TitleState.hx:636: characters 15-23 : Type not found : FlxSound

Are you modding a build from source or with Lua?

Source

What is your build target?

Windows x64

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

no I just tried to compile this for the first time

crowplexus commented 11 months ago

run haxelib update on the terminal then try again

crowplexus commented 11 months ago

awaiting for response

SMB-5 commented 11 months ago

sorry about that I did update everything for this and I got 2 new errors:

source/PlayState.hx:1579: characters 9-18 : hxcodec.flixel._FlxVideo.VideoPlayer has no field playVideo
source/PlayState.hx:1580: characters 9-23 : hxcodec.flixel._FlxVideo.VideoPlayer has no field finishCallback
SMB-5 commented 11 months ago

I set hxCodec back to 2.5.1 and it's compiling

crowplexus commented 11 months ago

sorry about that I did update everything for this and I got 2 new errors:

source/PlayState.hx:1579: characters 9-18 : hxcodec.flixel._FlxVideo.VideoPlayer has no field playVideo
source/PlayState.hx:1580: characters 9-23 : hxcodec.flixel._FlxVideo.VideoPlayer has no field finishCallback

try haxelib set hxCodec 2.6.1 then compile

crowplexus commented 11 months ago

I set hxCodec back to 2.5.1 and it's compiling

oh nice