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

Error about compiling #12770

Closed
Ve3h opened this issue Jul 20, 2023 · 25 comments
Closed

Error about compiling #12770

Ve3h opened this issue Jul 20, 2023 · 25 comments
Labels
bug Something isn't working

Comments

@Ve3h
Copy link

Ve3h commented Jul 20, 2023

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

@Ve3h Ve3h added the bug Something isn't working label Jul 20, 2023
@moxie-coder
Copy link

you didn’t install hxCodec

@NexIsDumb
Copy link
Contributor

NexIsDumb commented Jul 20, 2023

Okay no, I know why it happens if you have SUCCESSFULLY downloaded all psych's libraries as the readme says

Basically hxCodec 3.0.2 (and older versions too) has a shitty thing which makes it bug
To make it work you have to install it normally (so without using hmm) in your main folder, basically how you would download normally an haxe lib using the command prompt on the desktop: it must BE the same version as the one installed using the hmm method
And then ofc you have to install the same hxCodec with the same version using hmm if you didn't already, so as the readme says

This bug got fixed from hxCodec version 3.0.3

@Ve3h
Copy link
Author

Ve3h commented Jul 22, 2023

Okay no, I know why it happens if you have SUCCESSFULLY downloaded all psych's libraries as the readme says

Basically hxCodec has a shitty thing which makes it bug To make it work u have to install it normally (so without using hmm.json) in your main folder, basically how you would download normally an haxe lib using the command prompt on the desktop: it must BE the same version as the one install using hmm.json And then ofc u have to install the same hxCodec with the same version using hmm.json, so as the readme says

Hopefully they're gonna fix this bug

IT WORKED!!! Thank ya so much now im compiling it!1

@Ve3h Ve3h closed this as completed Jul 22, 2023
@NexIsDumb
Copy link
Contributor

Okay no, I know why it happens if you have SUCCESSFULLY downloaded all psych's libraries as the readme says
Basically hxCodec has a shitty thing which makes it bug To make it work u have to install it normally (so without using hmm.json) in your main folder, basically how you would download normally an haxe lib using the command prompt on the desktop: it must BE the same version as the one install using hmm.json And then ofc u have to install the same hxCodec with the same version using hmm.json, so as the readme says
Hopefully they're gonna fix this bug

IT WORKED!!! Thank ya so much now im compiling it!1

nppp

@RonRazar
Copy link

RonRazar commented Aug 4, 2023

source/psychlua/CallbackHandler.hx:48: characters 18-33 : Class<llua.Lua_helper> has no field sendErrorsToLua
i get this when do lime test windows how do i fix this im dumb

@moxie-coder
Copy link

source/psychlua/CallbackHandler.hx:48: characters 18-33 : Class<llua.Lua_helper> has no field sendErrorsToLua i get this when do lime test windows how do i fix this im dumb

haxelib git linc_luajit https://github.com/superpowers04/linc_luajit master

@RonRazar
Copy link

RonRazar commented Aug 4, 2023

i used haxelib git linc_luajit https://github.com/superpowers04/linc_luajit master and it showed me this what do i do now?
Error: 64bit is not automatically supported for this version of VC. Set HXCPP_MSVC_CUSTOM and manually configure the executable, library and include paths
Error: Error: 64bit is not automatically supported for this version of VC. Set HXCPP_MSVC_CUSTOM and manually configure the executable, library and include paths

@moxie-coder
Copy link

i used haxelib git linc_luajit https://github.com/superpowers04/linc_luajit master and it showed me this what do i do now? Error: 64bit is not automatically supported for this version of VC. Set HXCPP_MSVC_CUSTOM and manually configure the executable, library and include paths Error: Error: 64bit is not automatically supported for this version of VC. Set HXCPP_MSVC_CUSTOM and manually configure the executable, library and include paths

install visual studio

@RonRazar
Copy link

RonRazar commented Aug 4, 2023

image

I did it already

@moxie-coder
Copy link

that's visual studio code bro, not visual studio

@RonRazar
Copy link

RonRazar commented Aug 4, 2023

image

Alr what do I do now?

@moxie-coder
Copy link

image

@RonRazar
Copy link

RonRazar commented Aug 4, 2023

imageimage

What do I do about this how do I set it up?

@moxie-coder
Copy link

MSVC v142 - VS 2019 C++ x64/x86 build tools has to be latest

@RonRazar
Copy link

RonRazar commented Aug 4, 2023

I'm sorry but what do you mean by Latest how will I know its newer?

@RonRazar
Copy link

RonRazar commented Aug 4, 2023

image

image

Where do I see it?

@moxie-coder
Copy link

I'm sorry but what do you mean by Latest how will I know its newer?

latest works

@RonRazar
Copy link

RonRazar commented Aug 4, 2023

Hey I did it and it work I compiled it but for some reason I can't add stuff like images, songs and json like how I can't see my character in the character editor

@RonRazar
Copy link

RonRazar commented Aug 4, 2023

Idk how to work the mod templete idk why I can't add characters or have json being shown in the compiled build

@NexIsDumb
Copy link
Contributor

NexIsDumb commented Aug 4, 2023

Idk how to work the mod templete idk why I can't add characters or have json being shown in the compiled build

please make a new issue for that
this issue was originally just meant to be for the hxCodec compiling problem
This just not goes to you but to anyone else too

@moxie-coder
Copy link

Idk how to work the mod templete idk why I can't add characters or have json being shown in the compiled build

please make a new issue for that this issue was originally just meant to be for the hxCodec compiling problem This just not goes to you but to anyone else too

yea and I’m getting tired of discussing this on a closed issue

@cotne1233
Copy link

Okay no, I know why it happens if you have SUCCESSFULLY downloaded all psych's libraries as the readme says

Basically hxCodec 3.0.2 (and older versions too) has a shitty thing which makes it bug To make it work you have to install it normally (so without using hmm) in your main folder, basically how you would download normally an haxe lib using the command prompt on the desktop: it must BE the same version as the one installed using the hmm method And then ofc you have to install the same hxCodec with the same version using hmm if you didn't already, so as the readme says

This bug got fixed from hxCodec version 3.0.3

it still doesn't work for me

@NexIsDumb
Copy link
Contributor

Okay no, I know why it happens if you have SUCCESSFULLY downloaded all psych's libraries as the readme says

Basically hxCodec 3.0.2 (and older versions too) has a shitty thing which makes it bug To make it work you have to install it normally (so without using hmm) in your main folder, basically how you would download normally an haxe lib using the command prompt on the desktop: it must BE the same version as the one installed using the hmm method And then ofc you have to install the same hxCodec with the same version using hmm if you didn't already, so as the readme says

This bug got fixed from hxCodec version 3.0.3

it still doesn't work for me

then it must be something else
maybe you didnt install properly some libs or else
report it creating a new issue so people can help you

@Aness6040
Copy link

Did'nt Work

@NexIsDumb
Copy link
Contributor

Did'nt Work

then as i said before too, create a new issue and let other ppl help you, dont use this issue

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

6 participants