-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raspberry Pi4: fatal error: bcm_host.h: No such file or directory #9727
Comments
Have you tried the solution from this post? https://raspberrypi.stackexchange.com/questions/36121/fatal-error-bcm-host-h-no-such-file-or-directory-compilation-terminated |
Yes I have, didn't work. running I managed to get further in the compile process by adding
|
I was able to compile without dispmanx:
Anyone know why dispmanx is giving me issues? |
Pi4 does not support or use dispmanx and proprietary (legacy) firmware based GL* drivers (those from /opt/vc). |
Configure scripts should nowadays handle RPi4 without extra options, guide also available: https://docs.libretro.com/guides/rpi/ |
Description
Fatal error when compiling on Raspbian running on Raspberry Pi 4 4Gb.
Expected behavior
Compiles successfully
Actual behavior
./configure output available on PasteBin
make -j4 output available on PasteBin
Steps to reproduce the bug
git clone https://github.com/libretro/RetroArch.git
sudo apt-get install build-essential libxkbcommon-dev zlib1g-dev libfreetype6-dev libegl1-mesa-dev libgles2-mesa-dev libgbm-dev libavcodec-dev libsdl2-dev libsdl-image1.2-dev libxml2-dev yasm libavformat-dev libavdevice-dev libswresample-dev libavresample-dev libswscale-dev libv4l-dev libgl*-mesa-dev
CFLAGS='-mfpu=neon' ./configure --enable-alsa --enable-udev --enable-floathard --enable-neon --enable-dispmanx --disable-opengl1 --disable-videocore --enable-opengles --enable-opengles3
make -j4
Bisect Results
./configure output available on PasteBin
make -j4 output available on PasteBin
Version/Commit
You can find this information under Information/System Information
Environment information
Solution to get further but to a different error:
Add
-I/opt/vc/include
to CFLAGS:CFLAGS='-mfpu=neon -I/opt/vc/include' ./configure --enable-alsa --enable-udev --enable-floathard --enable-neon --enable-dispmanx --disable-opengl1 --disable-videocore --enable-opengles --enable-opengles3
GIves a different error:
The text was updated successfully, but these errors were encountered: