Open unimatrix099 opened 6 years ago
I had a similiar issue when trying to compile this for the vero4k with osmc.
In my case it was caused by libmoonlight-aml failing to load because llibamcodec.so could not be located which I found out by adding a printf("%s\n,dlerror());
at https://github.com/irtimmer/moonlight-embedded/blob/c52ba9c041329d8cc2620b6014c49e320a4f72a2/src/platform.c#L60
In my case it was located in /usr/osmc/lib
so I added that path to all find_library
PATHS
inside cmake/FindAmlogic.cmake
.
Since you are running Libreelec, things might be different, but maybe this helps.
I compiled Libreelec from repository (master) and also the moonlight.script plugin for Kodi.
When moonlight-embedded was compile Amlogic was detected (I used the master branch including the recent Amlogic fix - "FindAmlogic: don't depend on amadec and amavutils")
But when running the binary, Amlogic is not detected.
Verbose output
-verbose
of Moonlight Embedded:So, it's compiled with AML, but aml is not recognized... any ideas on how to debug this issue? :/
libmoonlight-aml.so is with libmoonlight-common.so, it could be that there is an error when loading it? How can I debug that it's properly loaded?
Also has anyone made moonlight-embedded work with any Libreelec version on an Amlogic device (S912 or S905)?