hairu / freelss

FreeLSS is a laser scanning program for the Raspberry Pi. It allows a Raspberry Pi to function as the core to a complete turn table laser scanning system.
GNU General Public License v3.0
280 stars 133 forks source link

Fatal error during installation: fatal error: mmal/mmal.h #39

Open thesenseo opened 2 years ago

thesenseo commented 2 years ago

Hi I tried to installa freelss but it doesn't work, please help!

im running with a rp pi 4, all packages are installed succesfully

user@raspberrypi:~ $ git clone https://github.com/hairu/freelss fatal: destination path 'freelss' already exists and is not an empty directory. user@raspberrypi:~ $ cd freelss user@raspberrypi:~/freelss $ make make -C contrib make[1]: Entering directory '/home/user/freelss/contrib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/user/freelss/contrib' make -C src make[1]: Entering directory '/home/user/freelss/src' g++ -c -O3 -Wall -Winvalid-pch -fexceptions -fopenmp -I/usr/local/include -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface -I/opt/vc/include/interface/mmal/util -I../contrib -I../contrib/eigen/include/eigen3 Main.h -o Main.h.gch Main.h:35:10: fatal error: mmal/mmal.h: No such file or directory 35 | #include <mmal/mmal.h> | ^~~~~

yvespo56 commented 1 year ago

Hi,

Same problem: missing library.

babouline commented 11 months ago

Hi,

Same problem: missing library.

hi, finally found the solution... doesn't work because of raspbian bulleye... you've got to use a buster img ... i've succed with 2020-05-27-raspios-buster-armhf-img , then " apt update " and upgrade, then you can follow the git freelss instruction, it goes fine ! enjoy :)

babouline commented 11 months ago

Hi I tried to installa freelss but it doesn't work, please help!

im running with a rp pi 4, all packages are installed succesfully

user@raspberrypi:~ $ git clone https://github.com/hairu/freelss fatal: destination path 'freelss' already exists and is not an empty directory. user@raspberrypi:~ $ cd freelss user@raspberrypi:~/freelss $ make make -C contrib make[1]: Entering directory '/home/user/freelss/contrib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/user/freelss/contrib' make -C src make[1]: Entering directory '/home/user/freelss/src' g++ -c -O3 -Wall -Winvalid-pch -fexceptions -fopenmp -I/usr/local/include -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface -I/opt/vc/include/interface/mmal/util -I../contrib -I../contrib/eigen/include/eigen3 Main.h -o Main.h.gch Main.h:35:10: fatal error: mmal/mmal.h: No such file or directory 35 | #include <mmal/mmal.h> | ^~~~~

hi, finally found the solution... doesn't work because of raspbian bulleye... you've got to use a buster img ... i've succed with 2020-05-27-raspios-buster-armhf-img , then " apt update " and upgrade, then you can follow the git freelss instruction, it goes fine ! enjoy :)