Closed esistgut closed 2 years ago
Hmm, it looks like it's finding the bcm_host.h
header under /usr/include
rather than /opt/vc/include
where I'd expect it to be. Please attach CMakeOutput.log from moonlight-embedded/build/CMakeFiles
.
Please also post the output of dpkg -S /usr/include/bcm_host.h
and dpkg -S /opt/vc/include/IL/OMX_Core.h
.
Is this Raspbian Buster?
This is on Raspberry OS Bullseye, not Buster.
pi@raspberrypi:~/moonlight-embedded/build $ dpkg -S /usr/include/bcm_host.h
libraspberrypi-dev: /usr/include/bcm_host.h
pi@raspberrypi:~/moonlight-embedded/build $ dpkg -S /opt/vc/include/IL/OMX_Core.h
dpkg-query: no path found matching pattern /opt/vc/include/IL/OMX_Core.h
pi@raspberrypi:~/moonlight-embedded/build $ md5sum /opt/vc/include/IL/OMX_Core.h
1ac724a2e37d854b76289ed31a15d30d /opt/vc/include/IL/OMX_Core.h
I pulled out my Raspberry Pi 1, flashed the latest Raspberry Pi OS Lite Bullseye image, and it builds (and runs) just fine for me. I don't have any /opt/vc
directory present at all. That matches the behavior of of the Bullseye images on the other Raspberry Pis.
Since there's not a package on your system that provides those /opt/vc
files, I suspect you either upgraded from an older version of Raspberry Pi OS which left the legacy /opt/vc
files there or you installed something manually which put those files there.
If you want to try to make it work, you could try symlinking /opt/vc/include/IL
to /usr/include
by running ln -s /opt/vc/include/IL /usr/include
. Another (more risky) option is to just nuke /opt/vc
entirely.
You are right, something was wrong with my installation, even if I installed it with rpi-imager. This time I blanked the sd witth dd before and was able to compile moonlight-embedded.
I'm trying to compile moonlight-embedded on this ancient piece of history, I'm not really sure if it is expected to compile or run so feel free to close this issue with a "LOL" stamp. I first tested the prebuilt binary but it returns just an
Illegal Instruction
message, so following this issue https://github.com/moonlight-stream/moonlight-embedded/issues/832 I tried to compile it from source.The base OS is Raspberry OS Lite,
Linux raspberrypi 5.10.63+ #1488 Thu Nov 18 16:14:04 GMT 2021 armv6l GNU/Linux
This is my output:
The IL stuff appears to be on my system: