首页| 论坛| 消息

回复: mips架构下如何交叉编译QT?
#6 回 5楼(aichibanli) 的帖子 [wxj120bw 08-03 23:50]
贴多些 这个错误信息没贴完整
#7 [aichibanli 08-04 09:10]
又编了一次还是不行,还是这个错误,我之前有编译成功过,但是内核有问题,又从新编,可现在总是编不过
mips-linux-g++ -c -pipe -mips32 -fno-exceptions -O2 -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DELF_INTERPRETER=\"/lib/ld-linux.so.2\" -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-mips-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-shared-emb-mips -Iglobal -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared-emb-mips -o .obj/release-shared-emb-mips/qsequentialanimationgroup.o animation/qsequentialanimationgroup.cpp
In file included from animation/qsequentialanimationgroup.cpp:81:
animation/qsequentialanimationgroup_p.h:74:35: macro "index" requires 2 arguments, but only 1 given
In file included from animation/qsequentialanimationgroup.cpp:81:
animation/qsequentialanimationgroup_p.h: In constructor `QSequentialAnimationGroupPrivate::AnimationIndex::AnimationIndex()':
animation/qsequentialanimationgroup_p.h:74: error: expected `(' before ',' token
make[1]: *** [.obj/release-shared-emb-mips/qsequentialanimationgroup.o] 错误 1
make[1]: Leaving directory `/opt/qt-4.7.3/src/corelib'
make: *** 错误 2

配置如下,./configure -embedded mips -xplatform qws/linux-mips-g++
我就只写了这些,没写别的
#8 [aichibanli 08-04 09:17]
/****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial Usage
** Licensees holding valid Qt Commercial licenses may use this file in
** accordance with the Qt Commercial License Agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and Nokia.
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 2.1 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPL included in the
** packaging of this file.Please review the following information to
** ensure the GNU Lesser General Public License version 2.1 requirements
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
** rights.These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 3.0 as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file.Please review the following information to
** ensure the GNU General Public License version 3.0 requirements will be
** met: http://www.gnu.org/copyleft/gpl.html.
**
** If you have questions regarding the use of this file, please contact
** Nokia at qt-info@nokia.com.
** $QT_END_LICENSE$
**
**************************************************** ..
#9 回 8楼(aichibanli) 的帖子 [wxj120bw 08-05 22:56]
我发的消息你收到没有 你第一个错误是
In file included from animation/qsequentialanimationgroup.cpp:81:
animation/qsequentialanimationgroup_p.h:74:35: macro "index" requires 2 arguments, but only 1 given
变量index被编译器当场宏。

<< 1 2 >> (2/2)

回复 发表
主题 版块