Funkin icon indicating copy to clipboard operation
Funkin copied to clipboard

Compiling help: Compiling for Linux / couldn't find a match for this asset library: (vlc)

Open znemux opened this issue 9 months ago • 7 comments

  • [ ] Windows
  • [ ] Mac
  • [x] Linux
  • [ ] HTML5

(Fedora Linux)

I want to build the game to make a Linux version since it hasn't been updated for years and I want to play offline. After successfully compile the game after reading COMPILING.md, I executed "Funkin" in export/release/linux/bin, the game window appears at loading screen, then it crashes, on terminal this error shows up:

source/funkin/modding/PolymodErrorHandler.hx:84: [ERROR] Your Lime/OpenFL configuration is using custom asset libraries, and you provided frameworkParams in Polymod.init(), but we couldn't find a match for this asset library: (vlc)
source/funkin/modding/PolymodHandler.hx:158: An error occurred! Failed when loading mods!
source/funkin/util/logging/CrashHandler.hx:62: Error while handling crash: Null Object Reference

Command I used to build: lime build linux -release

I thought I had to install vlc and it's development libraries on my OS, so I did it but it had no effect, same crash.

Full logs: crashlog.txt or pastebin

HTML5 build works fine though, I am still able to play offline but I'd prefer a native version for performance reasons.

znemux avatar May 16 '24 04:05 znemux

Do this to fix it https://github.com/FunkinCrew/Funkin/issues/2428#issuecomment-2106080642

NotHyper-474 avatar May 16 '24 12:05 NotHyper-474

Do this to fix it #2428 (comment)

I now have a compile error:

 ERROR  source/funkin/modding/PolymodHandler.hx:294: characters 7-24

  294 |       coreAssetRedirect: CORE_FOLDER,
      |       ^^^^^^^^^^^^^^^^^
      | { coreAssetRedirect : Null<String>, assetLibraryPaths : haxe.ds.Map<String, String> } has extra field coreAssetRedirect

znemux avatar May 16 '24 19:05 znemux

Now it has to do with #2299

NotHyper-474 avatar May 16 '24 19:05 NotHyper-474

Now it has to do with #2299

Didn't fix the issue 😭 Maybe I just better wait until devs fix that

znemux avatar May 17 '24 09:05 znemux

If you just want to play I can give you my build, but I can't guarantee it'll work seamlessly

NotHyper-474 avatar May 17 '24 18:05 NotHyper-474

If you just want to play I can give you my build, but I can't guarantee it'll work seamlessly

Thanks

znemux avatar May 17 '24 20:05 znemux

If you just want to play I can give you my build, but I can't guarantee it'll work seamlessly

Thanks

There you go

NotHyper-474 avatar May 17 '24 20:05 NotHyper-474

Do this to fix it #2428 (comment)

I now have a compile error:

 ERROR  source/funkin/modding/PolymodHandler.hx:294: characters 7-24

  294 |       coreAssetRedirect: CORE_FOLDER,
      |       ^^^^^^^^^^^^^^^^^
      | { coreAssetRedirect : Null<String>, assetLibraryPaths : haxe.ds.Map<String, String> } has extra field coreAssetRedirect

Also seems like this is caused by a bad install of Polymod, so you can try hmm reinstall -f polymod to fix that error.

NotHyper-474 avatar Jun 19 '24 22:06 NotHyper-474

Hyper, do you believe this issue is stale?

Hundrec avatar Nov 03 '24 10:11 Hundrec

I guess so. The hxCodec issue was solved by bumping the version and the other issue was just a bad hmm install.

NotHyper-474 avatar Nov 03 '24 12:11 NotHyper-474