adafruit / Raspberry-Pi-Installer-Scripts

379 stars 158 forks source link

pitft-fbcp.sh failed on Ubuntu #89

Open windoze opened 4 years ago

windoze commented 4 years ago

On RPi4B/Ubuntu-arm64, the script failed with the error

/home/ubuntu/repos/rpi-fbcp/main.c:9:10: fatal error: bcm_host.h: No such file or directory

This file is part of Raspbian, but seems it doesn't exist in Ubuntu.

Is there anyway I can use the screen in Ubuntu-arm64?'

Thanks.

ladyada commented 4 years ago

not really - the software is tuned for raspbian kernel, if you find a solution you can submit a PR

craiglink commented 3 years ago

sudo apt-get install libraspberrypi-dev

will fix the issue

WaaromZoMoeilijk commented 3 years ago

Also had to install build-essential on DietPi. PR submitted. Thanks.