![]() |
Здравствуйте, гость ( Вход | Регистрация )
![]() |
niXman |
![]()
Сообщение
#1
|
![]() Участник ![]() ![]() Группа: Участник Сообщений: 169 Регистрация: 18.6.2008 Пользователь №: 204 Спасибо сказали: 1 раз(а) Репутация: ![]() ![]() ![]() |
Здравствуйте!
Есть надобность скомпилить Qt4 в Cygwin. Пробовал по разному. Устанавливал QMAKESPEC как win32-g++, linux-g++, cygwin-g++. Не в какую! Куча ошибок при компиляции. При каждом варианте разные. Помогите. Очень надо! Спасибо! |
|
|
![]() |
ViGOur |
![]()
Сообщение
#2
|
![]() Мастер ![]() ![]() ![]() ![]() ![]() ![]() Группа: Модератор Сообщений: 3296 Регистрация: 9.10.2007 Из: Москва Пользователь №: 4 Спасибо сказали: 231 раз(а) Репутация: ![]() ![]() ![]() |
А если попробовать настроить все, чтобы компилилось в винде, а потом запустить в сигвине?
И какие ошибки хоть? Небольшой пример приведи. |
|
|
niXman |
![]()
Сообщение
#3
|
![]() Участник ![]() ![]() Группа: Участник Сообщений: 169 Регистрация: 18.6.2008 Пользователь №: 204 Спасибо сказали: 1 раз(а) Репутация: ![]() ![]() ![]() |
А если попробовать настроить все, чтобы компилилось в винде Это невозможно! Для того я и пытаюсь Qt4 скомпилить в Cygwin. Программа которую я хочу скомпилировать, написана для KDE. Все ее компоненты, кроме GUI, я скомпилировал. Пришло время "мордочку" собрать. А без Qt4 это невозможно! И какие ошибки хоть? Небольшой пример приведи. Сейчас начну с начала. Покажу на что ругается. |
|
|
Litkevich Yuriy |
![]()
Сообщение
#4
|
![]() разработчик РЭА ![]() ![]() ![]() ![]() ![]() ![]() ![]() Группа: Сомодератор Сообщений: 9669 Регистрация: 9.1.2008 Из: Тюмень Пользователь №: 64 Спасибо сказали: 807 раз(а) Репутация: ![]() ![]() ![]() |
niXman, ну SABROG вроде без проблем в нём Qt компилирует
|
|
|
niXman |
![]()
Сообщение
#5
|
![]() Участник ![]() ![]() Группа: Участник Сообщений: 169 Регистрация: 18.6.2008 Пользователь №: 204 Спасибо сказали: 1 раз(а) Репутация: ![]() ![]() ![]() |
|
|
|
niXman |
![]()
Сообщение
#6
|
![]() Участник ![]() ![]() Группа: Участник Сообщений: 169 Регистрация: 18.6.2008 Пользователь №: 204 Спасибо сказали: 1 раз(а) Репутация: ![]() ![]() ![]() |
Собираю qt-all-opensource-src-4.5.2, QMAKESPEC=linux-g++
configure - успешно. qmake - успешно. Ошибка вот где: Цитата /qt4/src/tools/bootstrap Сообщение: Цитата In file included from ../../corelib/io/qfileinfo.cpp:46: ../../corelib/io/qfsfileengine_p.h:119: error: field `st' has incomplete type следующая.... |
|
|
niXman |
![]()
Сообщение
#7
|
![]() Участник ![]() ![]() Группа: Участник Сообщений: 169 Регистрация: 18.6.2008 Пользователь №: 204 Спасибо сказали: 1 раз(а) Репутация: ![]() ![]() ![]() |
Собираю qt-all-opensource-src-4.5.2, QMAKESPEC=cygwin-g++
configure - успешно. qmake - успешно. Ошибка вот где: Цитата ../../corelib/io/qtemporaryfile.cpp: In function `int _gettemp(char*, int*, int, int)':
../../corelib/io/qtemporaryfile.cpp:228: error: `QT_OPEN_LARGEFILE' undeclared (first use this function) ../../corelib/io/qtemporaryfile.cpp:228: error: (Each undeclared identifier is reported only once for each function it appears in.) |
|
|
trdm |
![]()
Сообщение
#8
|
Дмитрий Трошин ![]() ![]() ![]() ![]() Группа: Участник Сообщений: 575 Регистрация: 12.1.2008 Пользователь №: 68 Спасибо сказали: 21 раз(а) Репутация: ![]() ![]() ![]() |
ну и пишет "undeclared" - незадекларирован/необъявлен.
Смотри пути к сорцам/заголовочникам. |
|
|
niXman |
![]()
Сообщение
#9
|
![]() Участник ![]() ![]() Группа: Участник Сообщений: 169 Регистрация: 18.6.2008 Пользователь №: 204 Спасибо сказали: 1 раз(а) Репутация: ![]() ![]() ![]() |
ну и пишет "undeclared" - незадекларирован/необъявлен. Это шутка, да? Не смешно! Исправил. Дело в том, что для Cygwin нет поддержки больших фалов. Но есть конфигурация для Cygwin. Cygwin-ов я знаю всего две версии. Одна от РэдХат, вторая хз от кого. Любопытно для какой из них эта конфигурация. Все еще собирается. Пока успешно. Жду финала. Кстати. Длл-ки по объему меньше чем в Мингв-е. |
|
|
niXman |
![]()
Сообщение
#10
|
![]() Участник ![]() ![]() Группа: Участник Сообщений: 169 Регистрация: 18.6.2008 Пользователь №: 204 Спасибо сказали: 1 раз(а) Репутация: ![]() ![]() ![]() |
Ошибка при компиляции QtWebKit.
Раскрывающийся текст In file included from ../JavaScriptCore/wtf/unicode/Unicode.h:28, from ../JavaScriptCore/pcre/pcre.h:45, from ../JavaScriptCore/pcre/pcre_internal.h:82, from ../JavaScriptCore/pcre/pcre_compile.cpp:46: ../JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h: In function `UChar32 WTF::Unicode::toLower(UChar32)': ../JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h:184: error: call of overloaded `toLower(UChar32&)' is ambiguous ../../../../include/QtCore/../../src/corelib/tools/qchar.h:316: note: candidates are: static uint QChar::toLower(uint) ../../../../include/QtCore/../../src/corelib/tools/qchar.h:317: note: static ushort QChar::toLower(ushort) ../JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h: In function `UChar32 WTF::Unicode::toUpper(UChar32)': ../JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h:242: error: call of overloaded `toUpper(UChar32&)' is ambiguous ../../../../include/QtCore/../../src/corelib/tools/qchar.h:318: note: candidates are: static uint QChar::toUpper(uint) ../../../../include/QtCore/../../src/corelib/tools/qchar.h:319: note: static ushort QChar::toUpper(ushort) ../JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h: In function `int WTF::Unicode::toTitleCase(UChar32)': ../JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h:300: error: call of overloaded `toTitleCase(UChar32&)' is ambiguous ../../../../include/QtCore/../../src/corelib/tools/qchar.h:320: note: candidates are: static uint QChar::toTitleCase(uint) ../../../../include/QtCore/../../src/corelib/tools/qchar.h:321: note: static ushort QChar::toTitleCase(ushort) ../JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h: In function `UChar32 WTF::Unicode::foldCase(UChar32)': ../JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h:305: error: call of overloaded `toCaseFolded(UChar32&)' is ambiguous ../../../../include/QtCore/../../src/corelib/tools/qchar.h:322: note: candidates are: static uint QChar::toCaseFolded(uint) ../../../../include/QtCore/../../src/corelib/tools/qchar.h:323: note: static ushort QChar::toCaseFolded(ushort) ../JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h: In function `bool WTF::Unicode::isPrintableChar(UChar32)': ../JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h:330: error: call of overloaded `category(UChar32&)' is ambiguous ../../../../include/QtCore/../../src/corelib/tools/qchar.h:301: note: candidates are: static QChar::Category QChar::category(uint) ../../../../include/QtCore/../../src/corelib/tools/qchar.h:302: note: static QChar::Category QChar::category(ushort) ../JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h: In function `bool WTF::Unicode::isSeparatorSpace(UChar32)': ../JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h:335: error: call of overloaded `category(UChar32&)' is ambiguous ../../../../include/QtCore/../../src/corelib/tools/qchar.h:301: note: candidates are: static QChar::Category QChar::category(uint) ../../../../include/QtCore/../../src/corelib/tools/qchar.h:302: note: static QChar::Category QChar::category(ushort) ../JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h: In function `bool WTF::Unicode::isPunct(UChar32)': ../JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h:347: error: call of overloaded `category(UChar32&)' is ambiguous ../../../../include/QtCore/../../src/corelib/tools/qchar.h:301: note: candidates are: static QChar::Category QChar::category(uint) ../../../../include/QtCore/../../src/corelib/tools/qchar.h:302: note: static QChar::Category QChar::category(ushort) ../JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h: In function `bool WTF::Unicode::isLower(UChar32)': ../JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h:352: error: call of overloaded `category(UChar32&)' is ambiguous ../../../../include/QtCore/../../src/corelib/tools/qchar.h:301: note: candidates are: static QChar::Category QChar::category(uint) ../../../../include/QtCore/../../src/corelib/tools/qchar.h:302: note: static QChar::Category QChar::category(ushort) ../JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h: In function `UChar32 WTF::Unicode::mirroredChar(UChar32)': ../JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h:357: error: call of overloaded `mirroredChar(UChar32&)' is ambiguous ../../../../include/QtCore/../../src/corelib/tools/qchar.h:310: note: candidates are: static uint QChar::mirroredChar(uint) ../../../../include/QtCore/../../src/corelib/tools/qchar.h:311: note: static ushort QChar::mirroredChar(ushort) ../JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h: In function `uint8_t WTF::Unicode::combiningClass(UChar32)': ../JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h:362: error: call of overloaded `combiningClass(UChar32&)' is ambiguous ../../../../include/QtCore/../../src/corelib/tools/qchar.h:307: note: candidates are: static unsigned char QChar::combiningClass(uint) ../../../../include/QtCore/../../src/corelib/tools/qchar.h:308: note: static unsigned char QChar::combiningClass(ushort) ../JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h: In function `WTF::Unicode::Direction WTF::Unicode::direction(UChar32)': ../JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h:384: error: call of overloaded `direction(UChar32&)' is ambiguous ../../../../include/QtCore/../../src/corelib/tools/qchar.h:303: note: candidates are: static QChar::Direction QChar::direction(uint) ../../../../include/QtCore/../../src/corelib/tools/qchar.h:304: note: static QChar::Direction QChar::direction(ushort) ../JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h: In function `WTF::Unicode::CharCategory WTF::Unicode::category(UChar32)': ../JavaScriptCore/wtf/unicode/qt4/UnicodeQt4.h:389: error: call of overloaded `category(UChar32&)' is ambiguous ../../../../include/QtCore/../../src/corelib/tools/qchar.h:301: note: candidates are: static QChar::Category QChar::category(uint) ../../../../include/QtCore/../../src/corelib/tools/qchar.h:302: note: static QChar::Category QChar::category(ushort) make[1]: *** [.obj/release-shared/pcre_compile.o] Error 1 make[1]: Leaving directory `/home/Admin/qt4/src/3rdparty/webkit/WebCore' Сообщение отредактировал niXman - 2.7.2009, 1:19 |
|
|
SABROG |
![]()
Сообщение
#11
|
![]() Профессионал ![]() ![]() ![]() ![]() ![]() Группа: Участник Сообщений: 1207 Регистрация: 8.12.2008 Из: Russia, Moscow Пользователь №: 446 Спасибо сказали: 229 раз(а) Репутация: ![]() ![]() ![]() |
Толку то, я в цыгвине не собирал ниразу. Чё за версия Qt?
|
|
|
niXman |
![]()
Сообщение
#12
|
![]() Участник ![]() ![]() Группа: Участник Сообщений: 169 Регистрация: 18.6.2008 Пользователь №: 204 Спасибо сказали: 1 раз(а) Репутация: ![]() ![]() ![]() |
|
|
|
Litkevich Yuriy |
![]()
Сообщение
#13
|
![]() разработчик РЭА ![]() ![]() ![]() ![]() ![]() ![]() ![]() Группа: Сомодератор Сообщений: 9669 Регистрация: 9.1.2008 Из: Тюмень Пользователь №: 64 Спасибо сказали: 807 раз(а) Репутация: ![]() ![]() ![]() |
|
|
|
niXman |
![]()
Сообщение
#14
|
![]() Участник ![]() ![]() Группа: Участник Сообщений: 169 Регистрация: 18.6.2008 Пользователь №: 204 Спасибо сказали: 1 раз(а) Репутация: ![]() ![]() ![]() |
По теме есть предложения?
|
|
|
![]() ![]() ![]() |
![]() |
|
Текстовая версия | Сейчас: 3.6.2025, 22:12 |