ubuntu 12.04 yocto build Qt5.8.0 for imx6Q
2018-02-24 15:25
302 查看
备忘记录:
mkdir ~/bin
PATH=~/bin:$PATH
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
curl https://mirrors.tuna.tsinghua.edu.cn/git/git-repo -o repo
chmod a+x ~/bin/repo
repo的运行过程中会尝试访问官方的git源更新自己,如果想使用tuna的镜像源进行更新,可以将如下内容复制到你的~/.bashrc里
export REPO_URL='https://mirrors.tuna.tsinghua.edu.cn/git/git-repo/'
mkdir fsl-release-bsp
cd fsl-release-bsp
repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-4.1-krogoth
repo sync
遇到一些问题:需要安装python3.4.X版本,tar-1.29版本,gcc4.8.0版本
sudo apt-get install -y build-essential libncursesw5-dev libreadline6-dev \
libssl-dev libgdbm-dev libc6-dev libsqlite3-dev \
tk-dev bzip2 libbz2-dev
https://www.python.org/ftp/python/3.4.3/ 编译python3.4.3
export FORCE_UNSAFE_CONFIGURE=1
./configure
make
make install
安装gcc4.8版本
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
apt-get install gcc-4.8
apt-get install g++-4.8
sudo apt-get install gcc-4.8-multilib
sudo apt-get install g++-4.8-multilib
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 50
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.6 50
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 30
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 30
设置切换gcc4.8和gcc4.6 方法
update-alternatives --config g++
update-alternatives --config gcc
mkdir ~/bin
PATH=~/bin:$PATH
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
curl https://mirrors.tuna.tsinghua.edu.cn/git/git-repo -o repo
chmod a+x ~/bin/repo
repo的运行过程中会尝试访问官方的git源更新自己,如果想使用tuna的镜像源进行更新,可以将如下内容复制到你的~/.bashrc里
export REPO_URL='https://mirrors.tuna.tsinghua.edu.cn/git/git-repo/'
mkdir fsl-release-bsp
cd fsl-release-bsp
repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-4.1-krogoth
repo sync
遇到一些问题:需要安装python3.4.X版本,tar-1.29版本,gcc4.8.0版本
sudo apt-get install -y build-essential libncursesw5-dev libreadline6-dev \
libssl-dev libgdbm-dev libc6-dev libsqlite3-dev \
tk-dev bzip2 libbz2-dev
https://www.python.org/ftp/python/3.4.3/ 编译python3.4.3
export FORCE_UNSAFE_CONFIGURE=1
./configure
make
make install
安装gcc4.8版本
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
apt-get install gcc-4.8
apt-get install g++-4.8
sudo apt-get install gcc-4.8-multilib
sudo apt-get install g++-4.8-multilib
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 50
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.6 50
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 30
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 30
设置切换gcc4.8和gcc4.6 方法
update-alternatives --config g++
update-alternatives --config gcc
相关文章推荐
- How to build Qt 4.8 Libraries for Macintosh : a Rough Note
- Ubuntu 12.04 Qt5.1.0 安装
- Ubuntu QT for Android完整搭建过程
- 2.Ubuntu16.04安装QT5.8.0
- Ubuntu 12.04 for ROS by ExBot iso 发行版集合
- 在Ubuntu 12.04 alternate 64位 中开发Qt程序出现/usr/bin/ld: error: cannot find -lGL
- ubuntu 12.04 install flash for firefox
- Ubuntu 12.04下安装QT 4.0
- ubuntu 12.04 yocto 最近出现的编译问题
- OpenCV installation for Ubuntu 12.04 | Raben Systems, Inc.
- 通过PPA安装最新的mplayer||MPlayer adds daily build PPA for Ubuntu users
- Ubuntu 12.04 3600 GMA Driver for Intel (Cedarview)
- ubuntu 12.04 install flash for firefox
- Warnings during debug-builds of ActiveQt projects, PDB files for ActiveQt libraries not patched during installation
- How to build ubuntu package from source? Useful for debugging ubuntu packages
- ubuntu 安装qt5.9.3 for arm-linux am335x qt开发1
- build freeradius for ubuntu
- ltib - fails to build Busybox in Ubuntu 12.04
- Qt for Android编译报错提示:Install to device:No Buildfile:build.xml does not exist!解决方法
- [原创]QT for Linux(ubuntu)编程常见问题总结