Hi,
when trying to run the install_dependencies.sh script on a Raspberry Pi Zero 2 W with the latest RPi OS based on Debian 12 Bookworm installed, the following error is thrown:
The following packages have unmet dependencies:
libimath-dev : Conflicts: libilmbase-dev
libopenexr-dev : Breaks: libilmbase-dev (< 2.5.7-3~)
E: Unable to correct problems, you have held broken packages.
Failed installing dependencies. Could be a bug in the installer or unsupported platform. Open a bug report over at https://github.com/luxonis/depthai - exitedom/luxonis/depthai - exited with status 100 at line 206
It seems like libilmbase-dev is now part of libimath-dev, see also here.
I would suggest to remove libilmbase-dev (line 82) and libopenexr-dev (line 83) from the debian_arm_pkgs list and add:
libilmbase-dev and libopenexr-dev to debian_pkgs_pre22_04 (line 87) - for Debian 11 Bullseye
libimath-dev and libopenexr-dev to debian_pkgs_post22_04 (line 93) - for Debian 12 Bookworm
With this change the installation works without problems, also on Debian 12 Bookworm.
Hi,
when trying to run the
install_dependencies.shscript on a Raspberry Pi Zero 2 W with the latest RPi OS based on Debian 12 Bookworm installed, the following error is thrown:It seems like libilmbase-dev is now part of libimath-dev, see also here.
I would suggest to remove
libilmbase-dev(line 82) andlibopenexr-dev(line 83) from thedebian_arm_pkgslist and add:libilmbase-devandlibopenexr-devtodebian_pkgs_pre22_04(line 87) - for Debian 11 Bullseyelibimath-devandlibopenexr-devtodebian_pkgs_post22_04(line 93) - for Debian 12 BookwormWith this change the installation works without problems, also on Debian 12 Bookworm.