-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Error about compiling #12770
Description
Describe your bug here.
alrig, so i have download all the things that psych engine needs to build, the haxe, the libarys, etc
but when i go try this error that i put right down is happening
and i dont know how to fix, any help will be awesome
thx.
Command Prompt/Terminal logs (if existing)
C:\Users\us\OneDrive\Documentos\FNF-PsychEngine-main>haxelib run lime build windows
source/Achievements.hx:132: characters 30-54 : Warning : `FlxCamera.defaultCameras` is deprecated, use `FlxG.cameras.setDefaultDrawTarget` instead
Error: Could not find haxelib "hxCodec", does it need to be installed?
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.
Yes, i edited the play state, i have added/replaced
''#if VIDEOS_ALLOWED #if (hxCodec >= "3.0.0") import hxcodec.flixel.FlxVideo as VideoHandler; #elseif (hxCodec >= "2.6.1") import hxcodec.VideoHandler as VideoHandler; #elseif (hxCodec == "2.6.0") import VideoHandler as VideoHandler; #else import vlc.VideoHandler; #end #end''
and
''public function startVideo(name:String) { #if VIDEOS_ALLOWED inCutscene = true; var filepath:String = Paths.video(name); #if sys if(!FileSystem.exists(filepath)) #else if(!OpenFlAssets.exists(filepath)) #end { FlxG.log.warn('Couldnt find video file: ' + name); startAndEnd(); return; } var video:VideoHandler = new VideoHandler(); #if (hxCodec >= "3.0.0") // Recent versions video.play(filepath); video.onEndReached.add(function() { video.dispose(); startAndEnd(); return; }, true); #else // Older versions video.playVideo(filepath); video.finishCallback = function() { startAndEnd(); return; } #end #else FlxG.log.warn('Platform not supported!'); startAndEnd(); return; #end }''
just thatlol