Hi,
compilation fails on updated Raspbian Bookworm 32-bit (Pi Zero 2W), bcm_host.h is missing, included by \include\grabber\dispmanx\DispmanxFrameGrabber.h
bcm_host.h is part of libraspberrypi-dev
CompileHowto.md says:
"on RPI you need the videocore IV headers
sudo apt-get install libraspberrypi-dev"
Doing this results in a long list of packages to be removed including raspi-config and i don't think this is a good idea:
pi@raspberrypi:~ $ sudo apt-get install libraspberrypi-dev
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
agnostics autotouch cups-pk-helper dconf-cli device-tree-compiler dos2unix feedbackd feedbackd-common fio flashrom fonts-gfs-didot-classic fonts-piboto
gir1.2-notify-0.7 gir1.2-secret-1 grim gtk-nop gtk2-engines-pixbuf gtk2-engines-pixflat gui-pkinst gui-updater ibverbs-providers iw labwc-prompt libaio1
libboost-iostreams1.74.0 libcupsimage2 libfdt1 libfeedback-0.0-0 libgfapi0 libgfrpc0 libgfxdr0 libglusterfs0 libgpiolib0 libgsound0 libibverbs1 libliftoff-rpi libnbd0
libnuma1 librados2 librbd1 librdmacm1 libwf-config1 libwf-utils0 libwlroots11 lxplug-batt lxplug-bluetooth lxplug-cpu lxplug-cputemp lxplug-ejecter lxplug-magnifier
lxplug-menu lxplug-netman lxplug-volumepulse mate-polkit-bin pastebinit pi-greeter pi-language-support pi-printer-support pipanel pixflat-icons pixflat-theme
printer-driver-escpr python3-cairo python3-cups python3-cupshelpers python3-pycryptodome python3-smbc python3-v4l2 qt5-gtk2-platformtheme qt5-style-plugin-cleanlooks
qt5-style-plugin-motif qt5-style-plugin-plastique qt5-style-plugins qt5ct raspi-utils-core raspi-utils-eeprom raspi-utils-otp rp-bookshelf rpd-wallpaper rpinters
swaylock system-config-printer-common system-config-printer-udev triggerhappy wayfire wfplug-batt wlopm xmlstarlet xsettingsd
Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
Die folgenden zusätzlichen Pakete werden installiert:
libraspberrypi0
Die folgenden Pakete werden ENTFERNT:
gldriver-test libdtovl0 lxplug-updater pi-bluetooth piwiz raspberrypi-net-mods raspberrypi-sys-mods raspberrypi-ui-mods raspi-config raspi-utils raspi-utils-dt raspinfo
rc-gui rp-prefapps rpd-plym-splash rpi-eeprom squeekboard userconf-pi wfplug-updater
Die folgenden NEUEN Pakete werden installiert:
libraspberrypi-dev libraspberrypi0
0 aktualisiert, 2 neu installiert, 19 zu entfernen und 0 nicht aktualisiert.
Es müssen noch 0 B von 194 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 55,0 MB Plattenplatz freigegeben.
Möchten Sie fortfahren? [J/n]
I've found this issue related to updated version of raspi-utils-dt: https://github.com/raspberrypi/bookworm-feedback/issues/428
-> "Correct; as you're aware the old display interfaces are no longer supported."
Any chance to see this fixed?
How to compile the project without Dispmanx support using cmake?
wbr
Thinner
I would like to check the cropping issue #1908, because i can't confirm this on my (slightly outdated) running system using my threaded version of ImageResampler based on current non-threaded one, not by setting different cropping values, not by looking at the code in ImageResampler. Maybe it's related to grabbers not using ImageResampler only, if there are any. To be sure i did a fresh clone today and ran into issue above.
BTW: Build on Raspian Bullseye will fail too, because of QT5 support has been removed and there is no native QT6 support for Bullseye, only a non-supported backport solution, that's why a had to upgrade (fresh install) to Bookworm. Maybe you want to update SupportedPlatforms.md.
BTW2: Please have a look at CompileHowto.md, sections "The general quick way (without big comments)" and "The detailed way (with many comments)" are different:
"git clone --recursive https..." vs. "git clone --recursive --depth 1 https..."
"cmake --build ." and "cmake --build . -j 2 "vs. "ninja"