主题 : 刚买的micro2440开发板,编译x86-qtopia出错,请教? 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 17739
精华: 0
发帖: 23
金钱: 115 两
威望: 23 点
综合积分: 46 分
注册时间: 2010-04-01
最后登录: 2010-08-01
楼主  发表于: 2010-05-09 13:45

 刚买的micro2440开发板,编译x86-qtopia出错,请教?

linux系统也是安装的fedora 9.0,安装说明书的步骤一步步来,可惜编译x86-qtopia时出错:如下:

You are licensed to use this software under the terms of either
the Q Public License (QPL) or the GNU General Public License (GPL).

Type 'Q' to view the Q Public License.
Type 'G' to view the GNU General Public License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.

Do you accept the terms of either license?
Creating qmake. Please wait...
gmake[1]: Entering directory `/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/dqt/qmake'
g++ -c -o project.o -pipe -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/dqt/include/qmake -I/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/dqt/include -I/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/dqt/include -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/dqt/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP project.cpp
gmake[1]: g++:命令未找到
gmake[1]: *** [project.o] 错误 127
gmake[1]: Leaving directory `/opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/dqt/qmake'
qmake failed to build. Aborting.
* ---------------------------------------------------------------------------
*
*               ERROR: Building Qtopia Tools has failed.
*
* Please investigate the problem by looking at the error messages in the
* make output.
* The Qtopia tools can be build using the separate buildQtopiaTools script
* which can be found in the qtopia/scripts directory of the package. The
* script is also invoked with the command 'make tools' from the package root
* directory.
*
* On most machines the default configuration options in the script works fine.
* In case this doesn't work the configure parameters in the buildQtopiaTools
* script need to be tweaked to fit the environment/compiler used on the machine
* and then run manually from the cmd line.
*
* Please make sure that the following binaries exist before trying to build
* Qtopia:
*   /opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qt2/bin/moc
*   /opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qt2/bin/uic
*   /opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/qt2/bin/qvfb
*   /opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/dqt/bin/lrelease
*   /opt/FriendlyARM/mini2440/x86-qtopia/qtopia-2.2.0-FriendlyARM/dqt/bin/lupdate
*
* As a rule, these tools need to be built only once.
*

这个是最开始出错的地方?
这个g++怎么不对吗??
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2010-05-09 14:08
gmake[1]: g++:命令未找到

如果你连g++是什么都不知道,干嘛还要去编译什么qtopia呢?
楼主留言:
版主,请求把我这篇“刚买的micro2440开发板,编译x86-qtopia出错,请教?”文章删除
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 17739
精华: 0
发帖: 23
金钱: 115 两
威望: 23 点
综合积分: 46 分
注册时间: 2010-04-01
最后登录: 2010-08-01
2楼  发表于: 2010-05-09 14:13
linux系统上没有g++编译器啊??不会把??linux系统我应该是安装步骤来的,就是下载的那个ISO文件。
[ 此帖被whywhg在2010-05-09 14:19重新编辑 ]
级别: 新手上路
UID: 17739
精华: 0
发帖: 23
金钱: 115 两
威望: 23 点
综合积分: 46 分
注册时间: 2010-04-01
最后登录: 2010-08-01
3楼  发表于: 2010-05-09 14:15
版主,是我装的linux系统缺少g++????
晕,原来安装fedora选择安装类型不对导致。
[ 此帖被whywhg在2010-05-09 15:23重新编辑 ]