Ubuntu20.4系统编译瑞芯微RK3568 SDK
ubuntu20.4系统中编译SDK时,需要安装部分依赖。除了官方给出的依赖之外,要先安装如下依赖,否则会报错
sudo apt-get install libatk-bridge2.0-0=2.34.1-3 -y
sudo apt-get install libgtk-3-dev -y
完整的依赖安装如下:
sudo apt-get install vim
sudo apt-get install libatk-bridge2.0-0=2.34.1-3 -y
sudo apt-get install libgtk-3-dev -y
sudo apt-get install -y git ssh make gcc libssl-dev liblz4-tool expect \
g++ patchelf chrpath gawk texinfo chrpath diffstat binfmt-support \
qemu-user-static live-build bison flex fakeroot cmake gcc-multilib \
g++-multilib unzip device-tree-compiler ncurses-dev libgucharmap-2-90-dev \
bzip2 expat gpgv2 cpp-aarch64-linux-gnu time mtd-utils libgstreamer1.0-dev \
libgstreamer-plugins-base1.0-dev
# install python2.7
sudo apt-get install -y python2.7
sudo ln -s /usr/bin/python2.7 /usr/bin/python2
sudo ln -s /usr/bin/python2.7 /usr/bin/python# install CMake
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | sudo apt-key add -
sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main'
sudo apt-get update
sudo apt install -y cmake
#cmake --versionsudo apt-get install libncurses5-dev
sudo apt-get install libncursesw5-dev