Compile chaiki rpi4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 2021-08-02 still using qt5-opengl-dev_5.12.5_armhf.deb, need to check if it is still required | |
### update .bashrc with QT_SELECT | |
Add QT_SELECT to your bashrc | |
$ vi ~/.bashrc | |
export QT_SELECT=qt5-openg | |
### install Qt5.12 from https://github.com/koendv/qt5-opengl-raspberrypi | |
$ wget https://github.com/koendv/qt5-opengl-raspberrypi/releases/download/v5.12.5-1/qt5-opengl-dev_5.12.5_armhf.deb | |
# apt install ./qt5-opengl-dev_5.12.5_armhf.deb | |
### install deps | |
# apt install cmake ffmpeg gperf h264 libavcodec-dev libavutil-dev libclang1-7 libcups libcupsfilters-dev libcupsimage2-dev libevdev-dev libinput-dev libjbig-dev libllvm7 liblzma-dev libmtdev-dev libnspr4-dev libnss3-dev libogg-ocaml libopengl-dev libopengl0 libopus-dev libopus-ocaml libprotobuf-dev libprotoc17 libpulse-dev libqt5designer5 libqt5designercomponents5 libqt5help5 libqt5multimedia5 libqt5multimedia5-plugins libqt5multimediagsttools5 libqt5multimediaquick5 libqt5multimediawidgets5 libqt5opengl5 libqt5opengl5-dev libqt5quickwidgets5 libqt5svg5-dev libqt5svg5-dev libqt5test5 libsdl2-dev libssl-dev libswresample-dev libswscale-dev libtiff-dev libtiffxx5 libwacom-dev libxkbcommon-x11-dev mesa-common-dev ocaml-base-nox protobuf-compiler protobuf-compiler python3 python3-pip qdoc-qt5 qt5-assistant qt5-default qt5-default qt5-opengl-dev qt5-qmake qt5-qmake-bin qtbase5-dev qtbase5-dev-tools qtmultimedia5-dev qttools5-dev-tools | |
### clone repo | |
$ mkdir devel && cd devel | |
$ git clone https://git.sr.ht/~thestr4ng3r/chiaki | |
### compile | |
$ cd chiaki | |
$ mkdir build && cd build && cmake .. | |
$ make -j5 | |
### install | |
# make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment