Code Monkey home page Code Monkey logo

Comments (4)

cgutman avatar cgutman commented on August 15, 2024 1

Are you running the 64-bit version of Raspberry Pi OS? I think they only officially support MMAL with the 32-bit version (though it does work for what we use it for). You can try to install libraspberrypi-dev but if it doesn't fix the issue, you will have to build the libraries yourself.

I would recommend just sticking to the official moonlight-embedded packages, which handle all this for you.

But if you really want to compile yourself, you will need to use the static_libs branch of my fork of the Raspberry Pi userland repository, then compile and install it according to the packaging script, and finally try to build again.

from moonlight-embedded.

Legincy avatar Legincy commented on August 15, 2024

Same problem, any news on that?

from moonlight-embedded.

cgutman avatar cgutman commented on August 15, 2024

There is no error in your provided logs. It says it successfully generated build files.

from moonlight-embedded.

BillBallong avatar BillBallong commented on August 15, 2024

That's good then, I was thinking there was a problem with not finding the correct packages to build the files because when I run

"make -j$(nproc)" and "sudo make install"

There are 2 errors including missing some files.

rpi@raspberrypi:~/moonlight-embedded/build $ make -j$(nproc)
[ 1%] Built target docs
[ 56%] Built target moonlight-common
[ 74%] Built target gamestream
[ 75%] Building C object CMakeFiles/moonlight-mmal.dir/src/video/mmal.c.o
[ 98%] Built target moonlight
/home/rpi/moonlight-embedded/src/video/mmal.c:44:10: fatal error: interface/mmal /mmal.h: No such file or directory
44 | #include <interface/mmal/mmal.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/moonlight-mmal.dir/build.make:82: CMakeFiles/moonlight- mmal.dir/src/video/mmal.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:141: CMakeFiles/moonlight-mmal.dir/all] Error 2
make: *** [Makefile:149: all] Error 2

rpi@raspberrypi:~/moonlight-embedded/build $ sudo make install
[ 55%] Built target moonlight-common
[ 72%] Built target gamestream
[ 74%] Building C object CMakeFiles/moonlight-mmal.dir/src/video/mmal.c.o
/home/rpi/moonlight-embedded/src/video/mmal.c:44:10: fatal error: interface/mmal/mmal.h: No such file or directory
44 | #include <interface/mmal/mmal.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/moonlight-mmal.dir/build.make:82: CMakeFiles/moonlight-mmal.dir/src/video/mmal.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:141: CMakeFiles/moonlight-mmal.dir/all] Error 2
make: *** [Makefile:149: all] Error 2

from moonlight-embedded.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.