Здравствуйте, гость ( Вход | Регистрация )
|
andreykyz |
25.11.2007, 20:30
Сообщение
#1
|
|
Студент ![]() Группа: Новичок Сообщений: 10 Регистрация: 25.11.2007 Пользователь №: 23 Спасибо сказали: 0 раз(а) Репутация: 0
|
установил всё
Link но приложение (прекрасно собирающееся по Линукс) под windows не собирается CODE C:\Qt\4.3.2\paint>make
mingw32-make -f Makefile.Debug all mingw32-make[1]: Entering directory `C:/Qt/4.3.2/paint' g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_ THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\include\QtCore" -I"..\include\QtCore" -I"..\include\QtGui" -I"..\include\QtGui" -I "..\include" -I"." -I"c:\Qt\4.3.2\include\ActiveQt" -I"tmp\moc\debug_shared" -I"." -I"..\mkspecs\win32-g++" -o tmp\obj\d ebug_shared\paint.o paint.cpp paint.cpp:1: error: stray '\239' in program paint.cpp:1: error: stray '\187' in program paint.cpp:1: error: stray '\191' in program paint.cpp:1: error: invalid token paint.cpp:1: error: expected constructor, destructor, or type conversion before '<' token paint.cpp:1: error: expected `,' or `;' before '<' token In file included from C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/cstring:49, from C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/char_traits.h:45, from C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/string:47, from ../include/QtCore/../../src/corelib/tools/qstring.h:57, from ../include/QtCore/qstring.h:1, from ../include/QtCore/../../src/corelib/kernel/qobject.h:45, ******************************************************************************** ********** полный текст в прикреплённом файле ******************************************************************************** ********** paint.cpp:38: error: invalid use of undefined type `struct QPen' ../include/QtGui/../../src/gui/kernel/qwindowdefs.h:69: error: forward declaration of `struct QPen' paint.cpp:42: error: invalid use of undefined type `struct QDebug' ../include/QtCore/../../src/corelib/global/qglobal.h:1291: error: forward declaration of `struct QDebug' paint.cpp: In member function `void PainterPathWidget::Libman(float)': paint.cpp:51: error: invalid use of undefined type `struct QDebug' ../include/QtCore/../../src/corelib/global/qglobal.h:1291: error: forward declaration of `struct QDebug' paint.cpp:100: error: invalid use of undefined type `struct QDebug' ../include/QtCore/../../src/corelib/global/qglobal.h:1291: error: forward declaration of `struct QDebug' paint.cpp:106: error: invalid use of undefined type `struct QDebug' ../include/QtCore/../../src/corelib/global/qglobal.h:1291: error: forward declaration of `struct QDebug' ../include/QtCore/../../src/corelib/global/qglobal.h: At global scope: ../include/QtCore/../../src/corelib/global/qglobal.h:1294: warning: inline function `QDebug qDebug()' used but never def ined mingw32-make[1]: *** [tmp\obj\debug_shared\paint.o] Error 1 mingw32-make[1]: Leaving directory `C:/Qt/4.3.2/paint' mingw32-make: *** [debug-all] Error 2
Прикрепленные файлы
|
|
|
|
![]() |
|
ViGOur |
25.11.2007, 22:02
Сообщение
#2
|
![]() Мастер ![]() ![]() ![]() ![]() ![]() ![]() Группа: Модератор Сообщений: 3296 Регистрация: 9.10.2007 Из: Москва Пользователь №: 4 Спасибо сказали: 231 раз(а) Репутация: 40
|
Понятно, как я понимаю не может идти и речи о том, чтобы попробовать дать собрать проект кому-то еще, например мне.
Нужно подумать... |
|
|
|
andreykyz сборка под windows 25.11.2007, 20:30
ViGOur Сколько компиляторов у тебя установлено?
Что устан... 25.11.2007, 20:48
andreykyz MAKESPEC = win32-g++
QTDIR = C:\Qt\4.3.2... 25.11.2007, 21:27
ViGOur VC++ не обязательно отключать...
Можно попробоват... 25.11.2007, 21:45
andreykyz make запускаю из коммандной строки с прописанным о... 25.11.2007, 21:51
andreykyz кстати не подскажешь ссылку на коммерческий QT и V... 25.11.2007, 22:01
ViGOur Цитата(andreykyz @ 25.11.2007, 22:01) кст... 25.11.2007, 22:06
andreykyz пожалуйста, попробуй(я думаю откомпилится)
в тако... 25.11.2007, 22:23
ViGOur Ок, давай завтра с утра скажу, что да как.
Просто ... 25.11.2007, 22:25
ViGOur Что ты этим хотел сказать?
path.moveTo( ptVect... 26.11.2007, 10:26
andreykyz Вот попробуй вот это, если соберётся скинь бинарни... 26.11.2007, 11:14
andreykyz Цитата(ViGOur @ 26.11.2007, 10:26) Что ты... 26.11.2007, 11:16
ViGOur Вот, собрал.
Причем без ошибок... 26.11.2007, 11:29
andreykyz архив не открывается
перезалей куда-нибудь 26.11.2007, 12:11
ViGOur Это rar, переименуй его... 26.11.2007, 12:18
andreykyz ты ещё забыл вот эти 3 файла передать
CODEmingwm10... 26.11.2007, 12:44
ViGOur Качай: http://crossplatform.ru/uploads/paint.rar 26.11.2007, 13:35
andreykyz Прошу прощения, что так поздно.
Проблему решил, Пр... 10.12.2007, 19:52
ViGOur Цитата(andreykyz @ 10.12.2007, 19:52) Про... 10.12.2007, 19:54
Litkevich Yuriy Цитатаstray '\239' in program
такое т... 15.1.2008, 20:26![]() ![]() ![]() |
|
Текстовая версия | Сейчас: 13.12.2025, 21:52 |