УкраїнськаEnglishmRussian
Вхід/Новий
У темі немає нових постів

ошибка при сборки


Автор Повідомлення
Повідомлення створено: 25. 06. 2013 [10:57]
monia
Олег Намятов
Автор теми
Зареєстрован(а) с: 21.05.2012
Повідомлення: 173
подскажите что я сделал не так, не могу понять что за ошибки при выполнение make

/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -g -O2 -MT liboscada_la-tsys.lo -MD -MP -MF .deps/liboscada_la-tsys.Tpo -c -o liboscada_la-tsys.lo `test -f 'tsys.cpp' || echo './'`tsys.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -g -O2 -MT liboscada_la-tsys.lo -MD -MP -MF .deps/liboscada_la-tsys.Tpo -c tsys.cpp -fPIC -DPIC -o .libs/liboscada_la-tsys.o
tsys.cpp: In static member function 'static std::string OSCADA::TSYS::ll2str(int64_t, OSCADA::TSYS::IntView)':
tsys.cpp:203:62: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}' [-Wformat]
tsys.cpp:203:62: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}' [-Wformat]
tsys.cpp:204:67: warning: format '%llo' expects argument of type 'long long unsigned int', but argument 4 has type 'int64_t {aka long int}' [-Wformat]
tsys.cpp:204:67: warning: format '%llo' expects argument of type 'long long unsigned int', but argument 4 has type 'int64_t {aka long int}' [-Wformat]
tsys.cpp:205:67: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 4 has type 'int64_t {aka long int}' [-Wformat]
tsys.cpp:205:67: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 4 has type 'int64_t {aka long int}' [-Wformat]
tsys.cpp: In static member function 'static void* OSCADA::TSYS::taskWrap(void*)':
tsys.cpp:1503:65: error: 'PRIO_PROCESS' was not declared in this scope
tsys.cpp:1503:100: error: 'setpriority' was not declared in this scope
tsys.cpp: In member function 'virtual void OSCADA::TSYS::save_()':
tsys.cpp:531:28: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
tsys.cpp: In member function 'bool OSCADA::TSYS::cfgFileLoad()':
tsys.cpp:407:24: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
make[3]: *** [liboscada_la-tsys.lo] Ошибка 1
make[3]: Выход из каталога `/home/openscada/setup/OpenSCADA/src'
make[2]: *** [all-recursive] Ошибка 1
make[2]: Выход из каталога `/home/openscada/setup/OpenSCADA/src'
make[1]: *** [all] Ошибка 2
make[1]: Выход из каталога `/home/openscada/setup/OpenSCADA/src'
make: *** [all-recursive] Ошибка 1


./configure --disable-SoundCard прошел успешно, а вот make не очень :(
собираю OpenSCADA под ubuntu 13.04 на amd64.

при удовлетворение зависимостей проекта возникли проблемы с libgd-noxpm(поставил с поддержкой xpm) и glibc-kernheaders (с этим совсем туго, поставил linux-lib-dev-arm64-cross)
наверное я ошибся в выборе linux-lib-dev-arm64-cross, но тогда как поставить glibc-kernheaders?
Повідомлення створено: 25. 06. 2013 [12:14]
roman
Roman Savochenko
Moderator
Contributor
Developer
Зареєстрован(а) с: 12.12.2007
Повідомлення: 3750
"monia" wrote:

подскажите что я сделал не так, не могу понять что за ошибки при выполнение make

/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -g -O2 -MT liboscada_la-tsys.lo -MD -MP -MF .deps/liboscada_la-tsys.Tpo -c -o liboscada_la-tsys.lo `test -f 'tsys.cpp' || echo './'`tsys.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -g -O2 -MT liboscada_la-tsys.lo -MD -MP -MF .deps/liboscada_la-tsys.Tpo -c tsys.cpp -fPIC -DPIC -o .libs/liboscada_la-tsys.o
tsys.cpp: In static member function 'static std::string OSCADA::TSYS::ll2str(int64_t, OSCADA::TSYS::IntView)':
tsys.cpp:203:62: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}' [-Wformat]
tsys.cpp:203:62: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'int64_t {aka long int}' [-Wformat]
tsys.cpp:204:67: warning: format '%llo' expects argument of type 'long long unsigned int', but argument 4 has type 'int64_t {aka long int}' [-Wformat]
tsys.cpp:204:67: warning: format '%llo' expects argument of type 'long long unsigned int', but argument 4 has type 'int64_t {aka long int}' [-Wformat]
tsys.cpp:205:67: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 4 has type 'int64_t {aka long int}' [-Wformat]
tsys.cpp:205:67: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 4 has type 'int64_t {aka long int}' [-Wformat]
tsys.cpp: In static member function 'static void* OSCADA::TSYS::taskWrap(void*)':
tsys.cpp:1503:65: error: 'PRIO_PROCESS' was not declared in this scope
tsys.cpp:1503:100: error: 'setpriority' was not declared in this scope


Заголовка в tsys.cpp **#include <sys/resource.h>** не хватило. У меня он его как-то неявно достал.
Добавил, выгружу позже.

Learn, learn and learn better than work, work and work.
Повідомлення створено: 25. 06. 2013 [12:23]
monia
Олег Намятов
Автор теми
Зареєстрован(а) с: 21.05.2012
Повідомлення: 173
скажи как выгрузишь
Повідомлення створено: 27. 06. 2013 [12:19]
roman
Roman Savochenko
Moderator
Contributor
Developer
Зареєстрован(а) с: 12.12.2007
Повідомлення: 3750
"monia" wrote:

скажи как выгрузишь

Выгрузил!

Learn, learn and learn better than work, work and work.
Повідомлення створено: 23. 07. 2014 [14:18]
monia
Олег Намятов
Автор теми
Зареєстрован(а) с: 21.05.2012
Повідомлення: 173
при сборке произошла ошибка

JAVASCRIPT
moc_vis_widgs.cpp:15:2: error: #error "This file was generated using the moc from 5.0.1. It"
moc_vis_widgs.cpp:16:2: error: #error "cannot be used with the include files from this version of Qt."
moc_vis_widgs.cpp:17:2: error: #error "(The moc has changed too much.)"
moc_vis_widgs.cpp:22:5: error: 'QByteArrayData' does not name a type
moc_vis_widgs.cpp:32:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:32:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:33:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:33:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:34:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:34:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:35:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:35:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:75:70: error: 'const struct qt_meta_stringdata_VISION__DlgUser_t' has no member named 'data'
moc_vis_widgs.cpp: In member function 'virtual const QMetaObject* VISION::DlgUser::metaObject() const':
moc_vis_widgs.cpp:82:57: error: 'class QObjectData' has no member named 'dynamicMetaObject'
moc_vis_widgs.cpp: In member function 'virtual int VISION::DlgUser::qt_metacall(QMetaObject::Call, int, void**)':
moc_vis_widgs.cpp:102:22: error: 'RegisterMethodArgumentMetaType' is not a member of 'QMetaObject'
moc_vis_widgs.cpp: At global scope:
moc_vis_widgs.cpp:110:5: error: 'QByteArrayData' does not name a type
moc_vis_widgs.cpp:120:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:120:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:121:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:121:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:122:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:122:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:163:70: error: 'const struct qt_meta_stringdata_VISION__FontDlg_t' has no member named 'data'
moc_vis_widgs.cpp: In member function 'virtual const QMetaObject* VISION::FontDlg::metaObject() const':
moc_vis_widgs.cpp:170:57: error: 'class QObjectData' has no member named 'dynamicMetaObject'
moc_vis_widgs.cpp: In member function 'virtual int VISION::FontDlg::qt_metacall(QMetaObject::Call, int, void**)':
moc_vis_widgs.cpp:190:22: error: 'RegisterMethodArgumentMetaType' is not a member of 'QMetaObject'
moc_vis_widgs.cpp: At global scope:
moc_vis_widgs.cpp:198:5: error: 'QByteArrayData' does not name a type
moc_vis_widgs.cpp:208:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:208:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:209:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:209:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:210:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:210:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:211:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:211:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:212:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:212:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp: In static member function 'static void VISION::UserStBar::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)':
moc_vis_widgs.cpp:249:22: error: 'IndexOfMethod' is not a member of 'QMetaObject'
moc_vis_widgs.cpp: At global scope:
moc_vis_widgs.cpp:262:71: error: 'const struct qt_meta_stringdata_VISION__UserStBar_t' has no member named 'data'
moc_vis_widgs.cpp: In member function 'virtual const QMetaObject* VISION::UserStBar::metaObject() const':
moc_vis_widgs.cpp:269:57: error: 'class QObjectData' has no member named 'dynamicMetaObject'
moc_vis_widgs.cpp: In member function 'virtual int VISION::UserStBar::qt_metacall(QMetaObject::Call, int, void**)':
moc_vis_widgs.cpp:289:22: error: 'RegisterMethodArgumentMetaType' is not a member of 'QMetaObject'
moc_vis_widgs.cpp: At global scope:
moc_vis_widgs.cpp:304:5: error: 'QByteArrayData' does not name a type
moc_vis_widgs.cpp:314:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:314:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:315:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:315:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:316:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:316:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:317:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:317:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:318:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:318:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:319:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:319:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:320:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:320:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:321:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:321:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp: In static member function 'static void VISION::LineEdit::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)':
moc_vis_widgs.cpp:377:22: error: 'IndexOfMethod' is not a member of 'QMetaObject'
moc_vis_widgs.cpp: At global scope:
moc_vis_widgs.cpp:402:71: error: 'const struct qt_meta_stringdata_VISION__LineEdit_t' has no member named 'data'
moc_vis_widgs.cpp: In member function 'virtual const QMetaObject* VISION::LineEdit::metaObject() const':
moc_vis_widgs.cpp:409:57: error: 'class QObjectData' has no member named 'dynamicMetaObject'
moc_vis_widgs.cpp: In member function 'virtual int VISION::LineEdit::qt_metacall(QMetaObject::Call, int, void**)':
moc_vis_widgs.cpp:429:22: error: 'RegisterMethodArgumentMetaType' is not a member of 'QMetaObject'
moc_vis_widgs.cpp: At global scope:
moc_vis_widgs.cpp:456:5: error: 'QByteArrayData' does not name a type
moc_vis_widgs.cpp:466:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:466:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:497:84: error: 'const struct qt_meta_stringdata_VISION__SyntxHighl_t' has no member named 'data'
moc_vis_widgs.cpp: In member function 'virtual const QMetaObject* VISION::SyntxHighl::metaObject() const':
moc_vis_widgs.cpp:504:57: error: 'class QObjectData' has no member named 'dynamicMetaObject'
moc_vis_widgs.cpp: At global scope:
moc_vis_widgs.cpp:523:5: error: 'QByteArrayData' does not name a type
moc_vis_widgs.cpp:533:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:533:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:534:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:534:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:535:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:535:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:536:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:536:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:537:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:537:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:538:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:538:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:539:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:539:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:540:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:540:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:541:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:541:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:542:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:542:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:543:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:543:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp: In static member function 'static void VISION::TextEdit::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)':
moc_vis_widgs.cpp:609:22: error: 'IndexOfMethod' is not a member of 'QMetaObject'
moc_vis_widgs.cpp: At global scope:
moc_vis_widgs.cpp:634:71: error: 'const struct qt_meta_stringdata_VISION__TextEdit_t' has no member named 'data'
moc_vis_widgs.cpp: In member function 'virtual const QMetaObject* VISION::TextEdit::metaObject() const':
moc_vis_widgs.cpp:641:57: error: 'class QObjectData' has no member named 'dynamicMetaObject'
moc_vis_widgs.cpp: In member function 'virtual int VISION::TextEdit::qt_metacall(QMetaObject::Call, int, void**)':
moc_vis_widgs.cpp:661:22: error: 'RegisterMethodArgumentMetaType' is not a member of 'QMetaObject'
moc_vis_widgs.cpp: At global scope:
moc_vis_widgs.cpp:688:5: error: 'QByteArrayData' does not name a type
moc_vis_widgs.cpp:698:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:698:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:699:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:699:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:700:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:700:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:701:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:701:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:702:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:702:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:703:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:703:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:704:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:704:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:705:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:705:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:706:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:706:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:707:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:707:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:708:1: error: 'QByteArrayData' was not declared in this scope
moc_vis_widgs.cpp:708:1: error: 'Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET' was not declared in this scope
moc_vis_widgs.cpp:763:70: error: 'const struct qt_meta_stringdata_VISION__WdgView_t' has no member named 'data'
moc_vis_widgs.cpp: In member function 'virtual const QMetaObject* VISION::WdgView::metaObject() const':
moc_vis_widgs.cpp:770:57: error: 'class QObjectData' has no member named 'dynamicMetaObject'
moc_vis_widgs.cpp: In member function 'virtual int VISION::WdgView::qt_metacall(QMetaObject::Call, int, void**)':
moc_vis_widgs.cpp:790:22: error: 'RegisterMethodArgumentMetaType' is not a member of 'QMetaObject'
make[4]: *** [ui_Vision_la-moc_vis_widgs.lo] Ошибка 1
make[4]: Выход из каталога `/home/monia/src/OpenSCADA/src/moduls/ui/Vision'
make[3]: *** [all-recursive] Ошибка 1
make[3]: Выход из каталога `/home/monia/src/OpenSCADA/src'
make[2]: *** [all] Ошибка 2
make[2]: Выход из каталога `/home/monia/src/OpenSCADA/src'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Выход из каталога `/home/monia/src/OpenSCADA'
make: *** [build-arch-stamp] Ошибка 2
dpkg-buildpackage: ошибка: debian/rules build возвратил код ошибки 2


Это произошло из-за LibQT v5.0.1?
Что делать?
Повідомлення створено: 23. 07. 2014 [17:53]
roman
Roman Savochenko
Moderator
Contributor
Developer
Зареєстрован(а) с: 12.12.2007
Повідомлення: 3750
"monia" wrote:

при сборке произошла ошибка

При сборке чего и где?

"monia" wrote:

Это произошло из-за LibQT v5.0.1?

Не исключено, если pkgconfig файлы от него ещё кривые и использовались moc от Qt5, а библиотеки Qt4.
Сборку с Qt5 я адаптировал и тестировал на ALTLinux, где это чудно работает.

"monia" wrote:

Что делать?

Оставить одного Qt5 или Qt4, как минимум файлы разработки.
Или разбираться, что криво в pkgconfig и править их локально.

Learn, learn and learn better than work, work and work.
Повідомлення створено: 25. 07. 2014 [06:38]
monia
Олег Намятов
Автор теми
Зареєстрован(а) с: 21.05.2012
Повідомлення: 173
разобрался, проюлема в LibQT v5.0.1, снес и все заработало



3660