Skip to content
This repository was archived by the owner on Mar 31, 2025. It is now read-only.
This repository was archived by the owner on Mar 31, 2025. It is now read-only.

Error about compiling #12770

@Ve3h

Description

@Ve3h

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions