在ubuntu下,如果在编译arm的qt时候,出现这个问题:arm-linux-g++; command not found,请你获得root权限后进入/root目录下,然后vi .bashrc文件:

unbuntu下编译出现:“make: arm-linux-g++: Command not found”解决方法

进入编辑器后shift+G跳转到最后一行,单击“i”进入编辑模式,插入交叉编译路径:

export PATH=$PATH:/usr/local/arm/4.4.1/bin

unbuntu下编译出现:“make: arm-linux-g++: Command not found”解决方法

插入后,“ESC”取消编辑模式,“:wq”保存退出,“source .bashrc”执行更改。

这样再次编译问题得到解决。

相关文章:

  • 2021-10-26
  • 2021-08-10
  • 2021-05-28
  • 2021-07-25
  • 2021-09-08
  • 2021-06-23
  • 2022-02-22
猜你喜欢
  • 2021-12-18
  • 2021-11-13
  • 2022-01-20
  • 2021-12-11
  • 2021-04-29
  • 2022-01-21
相关资源
相似解决方案