:-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

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-19
  • 2021-07-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-30
  • 2022-02-06
  • 2022-01-08
  • 2019-02-19
  • 2021-08-23
相关资源
相似解决方案