红联Linux门户
Linux帮助

Ubuntu Qt arm-linux-androideabi-gcc: Command not found

发布时间:2015-12-05 11:06:22来源:linux网站作者:Sankye

:-1: error: /opt/Qt/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/arm-linux-androideabi-g++: Command not found


更换新pc,重新安装了Ubuntu12.04,Qt5.1,编译shanbaydict过程,出现错误,这是由于You are missing the OpenGL include files. Install the mesa-common-dev package,
../../Qt5.1.0/5.1.0/gcc_64/include/QtGui/qopengl.h:110:21: fatal error: GL/gl.h: No such file or directory


执行
sudo apt-get install mesa-common-dev

编译出现如下错误提示:
/usr/bin/ld: cannot find -lGL
执行下面命令解决:
sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev


行如下代码一次性解决所有依赖:sudo apt-get install libgtk2.0-0:i386


openSUSE下搭配一个完整的Qt开发环境:http://www.linuxdiyf.com/linux/16077.html

linux下Qt环境的搭建:http://www.linuxdiyf.com/linux/13770.html

ubuntu 15.04 64位安装qt4编译环境并进行编译:http://www.linuxdiyf.com/linux/15266.html

Ubuntu下QT4开发环境的搭建及初体验:http://www.linuxdiyf.com/linux/7779.html

迁移Qt4至Qt5的几个主要环节:http://www.linuxdiyf.com/linux/1036.html