编译QTmake:arm-linux-g++:Command not found
2013-08-18 17:54
483 查看
编译QT时按开发板的说明手册执行老是出现make:arm-linux-g++:Command not found,可是我明明是安了的单独执行tab 键arm-linux-g+会出现arm-linux-g++,到底是什么问题呢?可能是识别不了环境变量吧。于是编辑/usr/local/Trolltech/QtEmbedded-4.7.3-arm/mkspecs/qws/linux-arm-g++/qmake.conf
/usr/local/Trolltech/QtEmbedded-4.7.3-arm/是QT的安装位置,即-prefix所指定的目录,这里编译时我未指定,即为默认目录。
其中的/work/arm/bin/是我交叉编译工具的安装位置,之后保存果然可以了。不过我不明白的是我所有的编译使用的是root用户,况且即使不是root用户我设置环境变量的位置也可以是任何用户可以执行的,为何就找不到这个命令呢?
/usr/local/Trolltech/QtEmbedded-4.7.3-arm/是QT的安装位置,即-prefix所指定的目录,这里编译时我未指定,即为默认目录。
其中的/work/arm/bin/是我交叉编译工具的安装位置,之后保存果然可以了。不过我不明白的是我所有的编译使用的是root用户,况且即使不是root用户我设置环境变量的位置也可以是任何用户可以执行的,为何就找不到这个命令呢?
相关文章推荐
- qt编译过程中出现错误:arm-linux-g++ could not found
- 提示错误:arm-linux-gcc: Command not found
- [27]_make[2]: arm-hisiv300-linux-gcc: Command not found
- 今天解决了QT Creator交叉编译提示make:arm-linux-g++:Command not found
- Linux PATH---ROOT 下arm-linux-gcc command not found
- [ubuntu 10.04 64bit][android]编译时报错:arm-eabi-gcc command not found
- 我在linux主机用arm-linux-gcc编译后,复制到开发板根目录运行,出现/bin/sh: ./hello not found
- 转载-- Qt Creator编译时make: arm-linux-g++: command not found 错误!
- 提示错误:arm-linux-gcc: Command not found
- 解决QT Creator交叉编译提示make:arm-linux-g++:Command not found 命令找不到
- arm-linux-gcc command not found
- make install时"arm-linux-ranlib command not found"
- make install时"arm-linux-ranlib command not found"
- arm-linux-androideabi-gcc: Command not found
- qtcreator 编译时出现arm-none-linux-gnueabi-g++: Command not found
- make install时"arm-linux-ranlib command not found"
- 孙其功陪你学之--解决QT Creator交叉编译提示make:arm-linux-g++:Command not found 命令找不到
- Qt Creator编译时make: arm-linux-g++: command not found 错误!
- make: arm-linux-gcc: Command not found
- 解决QT Creator交叉编译提示make:arm-linux-g++:Command not found 命令找不到?