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

Compiling help: [Error: Could not find haxelib "hxCodec"] #2360

Closed
1 of 4 tasks
TheRealJake12 opened this issue May 8, 2024 · 7 comments
Closed
1 of 4 tasks

Compiling help: [Error: Could not find haxelib "hxCodec"] #2360

TheRealJake12 opened this issue May 8, 2024 · 7 comments
Labels
status: stale Issue was made for an old version of the game, which is no longer supported. type: compilation help Involves some issue with compiling the game from source.

Comments

@TheRealJake12
Copy link

Please check for duplicates or similar compiler issues by filtering for 'compiler help'

  • Windows
  • Mac
  • Linux
  • HTML5

Please describe your issue. Provide extensive detail and images if possible.

Error Compiling Latest Develop Commit. After Running All The hmm Stuff, Polymod and hxCodec have been giving trouble compiling.
but it can't find hxCodec at all.

@TheRealJake12 TheRealJake12 added the type: compilation help Involves some issue with compiling the game from source. label May 8, 2024
@METGameDev
Copy link

METGameDev commented May 8, 2024

the solution is here: #2341

but in short
haxelib --global git hxCodec https://github.com/FunkinCrew/hxCodec c0c7f2680cc190c932a549c2e2fdd9b0ba2bd10e
this should work. worked for me.

@TheRealJake12
Copy link
Author

the solution is here: #2341

but in short haxelib --global git hxCodec https://github.com/FunkinCrew/hxCodec c0c7f2680cc190c932a549c2e2fdd9b0ba2bd10e this should work. worked for me.

yeah, fixed it. thanks bro. gonna keep the issue open though.

@METGameDev
Copy link

np, anytime

@NotHyper-474
Copy link
Contributor

Alternatively, if you don't want two separate hxCodec installations occupying disk space you can reutilize the already installed lib like this:

  1. Go to Funkin folder and open it in terminal
  2. Type haxelib libpath hxCodec and if spits out a folder path, copy it. If not that means hmm really didn't install hxCodec properly or you didn't run the command in Funkin repo folder.
  3. Do haxelib --global dev hxCodec (paste the path here)

This will make a globally accessible "link" to the hxCodec in .haxelib folder, to undo it just run haxelib --global dev hxCodec

@AOrangeFruit
Copy link

AOrangeFruit commented Jun 30, 2024

Glad that this issue is still open, I've encountered the same issue now in 0.4.1, do i need to type again haxelib --global git hxCodec https://github.com/FunkinCrew/hxCodec c0c7f2680cc190c932a549c2e2fdd9b0ba2bd10e or not because is outdated?, because i tried typing haxelib --global git hxCodec https://github.com/FunkinCrew/hxCodec 61b98a7a353b7f529a8fec84ed9afc919a2dffdd the new branch and at first it spited Error: Could not clone Git repository. after that it worked but now i've encountered the same issue again. what do i do?
imagen_2024-06-30_141942405

@NotHyper-474
Copy link
Contributor

NotHyper-474 commented Jun 30, 2024

do i need to type again haxelib --global git hxCodec https://github.com/FunkinCrew/hxCodec c0c7f2680cc190c932a549c2e2fdd9b0ba2bd10e or not because is outdated?, because i tried typing haxelib --global git hxCodec https://github.com/FunkinCrew/hxCodec 61b98a7a353b7f529a8fec84ed9afc919a2dffdd the new branch and at first it spited Error: Could not clone Git repository. after that it worked but now i've encountered the same issue again. what do i do?

I think that as long as you don't need to compile for Linux you can use the "outdated" commit ID

@AOrangeFruit
Copy link

Hi, thanks a lot for the response, i needed to be persistent with the installation of the hxcodec never and global by removing it and installing it again (my internet connection is very poor), but ok i think that might work as well, thank you again

@linear linear bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 1, 2025
@AbnormalPoof AbnormalPoof added the status: pending triage Awaiting review. label Jan 22, 2025
@Hundrec Hundrec added status: stale Issue was made for an old version of the game, which is no longer supported. and removed status: pending triage Awaiting review. labels Jan 22, 2025
@Hundrec Hundrec closed this as completed Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: stale Issue was made for an old version of the game, which is no longer supported. type: compilation help Involves some issue with compiling the game from source.
Projects
None yet
Development

No branches or pull requests

7 participants