I am trying to build Qt5 for the RPi board. The compilation worked fine, but I seem to be having problem with the install step. I get the following error:
fatal error: bcm_host.h: No such file or directory compilation terminated.
I don't see the
bcm_host.h in the
/opt/vc/include folder of the RPi file system. Do I need to install a package?
rpi-update. But I'm not sure how to include the directory path for
make keeps failing:
../../../../mkspecs/devices/linux-rasp-pi-g++/qeglfshooks_pi.cpp:50:22: fatal error: bcm_host.h: No such file or directory compilation terminated. make: *** [.obj/release-shared/qeglfshooks_pi.o] Error 1 make: Leaving directory `/home/gagan/src/rpi/qt-everywhere-opensource-src-5.2.0-beta1/qtbase/src/plugins/platforms/eglfs' make: *** [sub-eglfs-make_first] Error 2 make: Leaving directory `/home/gagan/src/rpi/qt-everywhere-opensource-src-5.2.0-beta1/qtbase/src/plugins/platforms' make: *** [sub-platforms-make_first] Error 2 make: Leaving directory `/home/gagan/src/rpi/qt-everywhere-opensource-src-5.2.0-beta1/qtbase/src/plugins' make: *** [sub-plugins-make_first] Error 2 make: Leaving directory `/home/gagan/src/rpi/qt-everywhere-opensource-src-5.2.0-beta1/qtbase/src' make: *** [sub-src-make_first] Error 2 make: Leaving directory `/home/gagan/src/rpi/qt-everywhere-opensource-src-5.2.0-beta1/qtbase' make: *** [module-qtbase-make_first] Error 2