Closed Psykopear closed 9 years ago
Hi, I don't know Italian, but from the two english lines, it seems like there's something wrong with your system:
/usr/bin/ld: warning: libicui18n.so.54, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libicuuc.so.54, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../lib/libQt5Core.so, not found (try using -rpath or -rpath-link)
Yes, the fact is that in archlinux that lib (cui) was updated to version 55, and the linker is searching for the 54 that is not present anymore. I think it can be solved by fixing the makefile, but didn't have time to check yet
It seems to be linking with Qt5 instead of Qt4. What's the output of $pkg-config --cflags Qt3Support --cflags QtOpenGL ?
Also, it would be helpful if you posted the full terminal output when you run $ BUILDTYPE=RELEASE ./build_linux.sh
Oh, I think I know what's wrong. It's "make packages" that fails when it builds qhttpserver, right? I don't think you need to build qhttpserver in the "make packages" step anymore.
Does it work if you delete the following lines from bin/packages/build.sh ?
tar xvzf qhttpserver-master.tar.gz
cd qhttpserver-master/
echo "CONFIG += staticlib" >> src/src.pro
`../../../find_moc_and_uic_paths.sh qmake`
make
cd ..
Oops, don't delete the "tar xvzf qhttpserver-master.tar.gz" line .
Ok, with the last commit the build seems ok, then i do:
$ BUILDTYPE=RELEASE ./build_linux.sh -j7
BUILDTYPE=RELEASE
if [ RELEASE = DEBUG ] ; then echo "-DDEBUG -Werror -Wall -g" >buildtype.opt ; else echo "-DRELEASE -DDEBUG -Wall -g -O3" >buildtype.opt ; fi
cd bin && /usr/bin/python2 generate_keyboard_sub_ids.py >../common/keyboard_sub_ids.h
bash check_dependencies.sh `./find_python_path.sh` moc uic test_build
g++ -mfpmath=sse -msse2 -c embedded_scheme/scheme.cpp -c `cat buildtype.opt` -Ibin/packages/gc-7.2/include -IQt/ -I/usr/include/python2.7 -DNOPAUSEPLAY -DCOMPILING_RADIUM -DGUIISQT -DUSE_GFX_OP_QUEUE -DFULL_VERSION=1 -DIS_LITTLE_ENDIAN=1 -DUSE_OPENGL=1 -DUSE_QT_VISUAL=1 -DUSE_GTK_VISUAL=0 -DUSE_QT_REQTYPE=1 -DUSE_GTK_REQTYPE=0 -DUSE_QT_MENU=1 -DUSE_GTK_MENU=0 -Imidi/rtmidi -Werror=array-bounds -msse2 -DFOR_LINUX -DWITH_PD -Wno-unused-function -DUSE_VESTIGE=1 -Wno-unused-function -DUSE_QT4 -DUSE_QIMAGE_BUFFER=1 `pkg-config --cflags Qt3Support --cflags QtOpenGL` -Ibin/packages/qhttpserver-master/src -DQHTTPSERVER_EXPORT -Ibin/packages/qhttpserver-master/src -Ibin/packages/s7
gcc -mfpmath=sse -msse2 -c bin/packages/s7/s7.c -o bin/packages/s7/s7_linux.o `cat buildtype.opt` -Iembedded_scheme -O2 -Wno-absolute-value
moc -DCOMPILING_S7WEBSERVER bin/s7webserver/s7webserver.h -o bin/s7webserver/moc_s7webserver.cpp
cd api && /usr/bin/python2 protoconfparser.py radium_s7_wrap.c >radium_s7_wrap.c
g++ -mfpmath=sse -msse2 -c bin/packages/qhttpserver-master/src/qhttpconnection.cpp -c `cat buildtype.opt` -Ibin/packages/gc-7.2/include -IQt/ -I/usr/include/python2.7 -DNOPAUSEPLAY -DCOMPILING_RADIUM -DGUIISQT -DUSE_GFX_OP_QUEUE -DFULL_VERSION=1 -DIS_LITTLE_ENDIAN=1 -DUSE_OPENGL=1 -DUSE_QT_VISUAL=1 -DUSE_GTK_VISUAL=0 -DUSE_QT_REQTYPE=1 -DUSE_GTK_REQTYPE=0 -DUSE_QT_MENU=1 -DUSE_GTK_MENU=0 -Imidi/rtmidi -Werror=array-bounds -msse2 -DFOR_LINUX -DWITH_PD -Wno-unused-function -DUSE_VESTIGE=1 -Wno-unused-function `pkg-config --cflags Qt3Support --cflags QtOpenGL` -Ibin/packages/qhttpserver-master/src -DQHTTPSERVER_EXPORT -Ibin/packages/qhttpserver-master/http-parser -Ibin/packages/qhttpserver-master/build -D_REENTRANT
/usr/bin/python2 protoconfparser.py radium_proc.h
cd api/ ; /usr/bin/python2 protoconfparser.py radium_proc.h ; cd ..
Checking dependencies:
/usr/bin/sed
sed found
/usr/bin/python2
/usr/bin/python2 found
/usr/bin/guile
guile found
testing build
g++ -mfpmath=sse -msse2 -c bin/packages/qhttpserver-master/build/moc_qhttpconnection.cpp -c `cat buildtype.opt` -Ibin/packages/gc-7.2/include -IQt/ -I/usr/include/python2.7 -DNOPAUSEPLAY -DCOMPILING_RADIUM -DGUIISQT -DUSE_GFX_OP_QUEUE -DFULL_VERSION=1 -DIS_LITTLE_ENDIAN=1 -DUSE_OPENGL=1 -DUSE_QT_VISUAL=1 -DUSE_GTK_VISUAL=0 -DUSE_QT_REQTYPE=1 -DUSE_GTK_REQTYPE=0 -DUSE_QT_MENU=1 -DUSE_GTK_MENU=0 -Imidi/rtmidi -Werror=array-bounds -msse2 -DFOR_LINUX -DWITH_PD -Wno-unused-function -DUSE_VESTIGE=1 -Wno-unused-function `pkg-config --cflags Qt3Support --cflags QtOpenGL` -Ibin/packages/qhttpserver-master/src -DQHTTPSERVER_EXPORT -Ibin/packages/qhttpserver-master/http-parser -Ibin/packages/qhttpserver-master/build -D_REENTRANT
/usr/bin/moc
/usr/bin/uic
g++: error: bin/packages/qhttpserver-master/build/moc_qhttpconnection.cpp: File o directory non esistente
g++: fatal error: no input files
compilation terminated.
Makefile:1697: set di istruzioni per l'obiettivo "moc_qhttpconnection.o" non riuscito
make: *** [moc_qhttpconnection.o] Errore 1
make: *** Attesa per i processi non terminati....
All seems good
touch dependencies_ok
docler@RedPoison ~/radium $
it says is ok (except for the moc_qhttpconnection.cpp, but i guess it's related to the qhttpserver), but after that there is no radium bin in bin directory:
docler@RedPoison ~/radium $ sh start.sh
start.sh: riga 3: ./radium: File o directory non esistente
docler@RedPoison ~/radium $ cat start.sh
#!/bin/sh
cd bin
./radium
docler@RedPoison ~/radium $ cd bin/
docler@RedPoison ~/radium/bin $ ls
bubble.py experimental keybindings.conf keysubids.pyc old radium_256x256x32.png scheme X11_MidiProperties.glade
colors fonts keybindings.cPickle menues.conf open_editor.py rdf sounds X11_MidiProperties.py
config generate_keyboard_sub_ids.py keybindingsparser.py menues.py packages s7.c start.py X11_MidiPropertiesStarter.py
eventreceiverparser_generated.py glsl keybindingsparser.pyc new_song.rad pd s7.h X11_BlockSelector.py X11_ReqType.py
eventreceiverparser_generated.pyc import_midi.py keysubids.py notesadd.py python-midi s7webserver X11_BlockSelectorStarter.py X11_xkb.py
docler@RedPoison ~/radium/bin $
So i tried to build in debug mode and that is the ouput:
docler@RedPoison ~/radium $ BUILDTYPE=DEBUG ./build_linux.sh -j7
BUILDTYPE=DEBUG
g++ -mfpmath=sse -msse2 -c embedded_scheme/scheme.cpp -c `cat buildtype.opt` -Ibin/packages/gc-7.2/include -IQt/ -I/usr/include/python2.7 -DNOPAUSEPLAY -DCOMPILING_RADIUM -DGUIISQT -DUSE_GFX_OP_QUEUE -DFULL_VERSION=1 -DIS_LITTLE_ENDIAN=1 -DUSE_OPENGL=1 -DUSE_QT_VISUAL=1 -DUSE_GTK_VISUAL=0 -DUSE_QT_REQTYPE=1 -DUSE_GTK_REQTYPE=0 -DUSE_QT_MENU=1 -DUSE_GTK_MENU=0 -Imidi/rtmidi -Werror=array-bounds -msse2 -DFOR_LINUX -DWITH_PD -Wno-unused-function -DUSE_VESTIGE=1 -Wno-unused-function -DUSE_QT4 -DUSE_QIMAGE_BUFFER=1 `pkg-config --cflags Qt3Support --cflags QtOpenGL` -Ibin/packages/qhttpserver-master/src -DQHTTPSERVER_EXPORT -Ibin/packages/qhttpserver-master/src -Ibin/packages/s7
g++ -mfpmath=sse -msse2 -c bin/s7webserver/s7webserver.cpp `pkg-config --cflags Qt3Support --cflags QtOpenGL` -Ibin/packages/qhttpserver-master/src -DQHTTPSERVER_EXPORT -Ibin/packages/s7 -g -Iembedded_scheme -Wall -Werror -Wno-error=unused-variable -Wno-error=unused-function
gcc -mfpmath=sse -msse2 api/radium_s7_wrap.c -c `cat buildtype.opt` -Ibin/packages/gc-7.2/include -IQt/ -I/usr/include/python2.7 -DNOPAUSEPLAY -DCOMPILING_RADIUM -DGUIISQT -DUSE_GFX_OP_QUEUE -DFULL_VERSION=1 -DIS_LITTLE_ENDIAN=1 -DUSE_OPENGL=1 -DUSE_QT_VISUAL=1 -DUSE_GTK_VISUAL=0 -DUSE_QT_REQTYPE=1 -DUSE_GTK_REQTYPE=0 -DUSE_QT_MENU=1 -DUSE_GTK_MENU=0 -Imidi/rtmidi -Werror=array-bounds -msse2 -DFOR_LINUX -DWITH_PD -Wno-unused-function -DUSE_VESTIGE=1 -Wstrict-prototypes -Ibin/packages/s7
g++ -mfpmath=sse -msse2 -c bin/packages/qhttpserver-master/src/qhttpconnection.cpp -c `cat buildtype.opt` -Ibin/packages/gc-7.2/include -IQt/ -I/usr/include/python2.7 -DNOPAUSEPLAY -DCOMPILING_RADIUM -DGUIISQT -DUSE_GFX_OP_QUEUE -DFULL_VERSION=1 -DIS_LITTLE_ENDIAN=1 -DUSE_OPENGL=1 -DUSE_QT_VISUAL=1 -DUSE_GTK_VISUAL=0 -DUSE_QT_REQTYPE=1 -DUSE_GTK_REQTYPE=0 -DUSE_QT_MENU=1 -DUSE_GTK_MENU=0 -Imidi/rtmidi -Werror=array-bounds -msse2 -DFOR_LINUX -DWITH_PD -Wno-unused-function -DUSE_VESTIGE=1 -Wno-unused-function `pkg-config --cflags Qt3Support --cflags QtOpenGL` -Ibin/packages/qhttpserver-master/src -DQHTTPSERVER_EXPORT -Ibin/packages/qhttpserver-master/http-parser -Ibin/packages/qhttpserver-master/build -D_REENTRANT
g++ -mfpmath=sse -msse2 -c bin/packages/qhttpserver-master/build/moc_qhttpconnection.cpp -c `cat buildtype.opt` -Ibin/packages/gc-7.2/include -IQt/ -I/usr/include/python2.7 -DNOPAUSEPLAY -DCOMPILING_RADIUM -DGUIISQT -DUSE_GFX_OP_QUEUE -DFULL_VERSION=1 -DIS_LITTLE_ENDIAN=1 -DUSE_OPENGL=1 -DUSE_QT_VISUAL=1 -DUSE_GTK_VISUAL=0 -DUSE_QT_REQTYPE=1 -DUSE_GTK_REQTYPE=0 -DUSE_QT_MENU=1 -DUSE_GTK_MENU=0 -Imidi/rtmidi -Werror=array-bounds -msse2 -DFOR_LINUX -DWITH_PD -Wno-unused-function -DUSE_VESTIGE=1 -Wno-unused-function `pkg-config --cflags Qt3Support --cflags QtOpenGL` -Ibin/packages/qhttpserver-master/src -DQHTTPSERVER_EXPORT -Ibin/packages/qhttpserver-master/http-parser -Ibin/packages/qhttpserver-master/build -D_REENTRANT
g++ -mfpmath=sse -msse2 -c bin/packages/qhttpserver-master/src/qhttprequest.cpp -c `cat buildtype.opt` -Ibin/packages/gc-7.2/include -IQt/ -I/usr/include/python2.7 -DNOPAUSEPLAY -DCOMPILING_RADIUM -DGUIISQT -DUSE_GFX_OP_QUEUE -DFULL_VERSION=1 -DIS_LITTLE_ENDIAN=1 -DUSE_OPENGL=1 -DUSE_QT_VISUAL=1 -DUSE_GTK_VISUAL=0 -DUSE_QT_REQTYPE=1 -DUSE_GTK_REQTYPE=0 -DUSE_QT_MENU=1 -DUSE_GTK_MENU=0 -Imidi/rtmidi -Werror=array-bounds -msse2 -DFOR_LINUX -DWITH_PD -Wno-unused-function -DUSE_VESTIGE=1 -Wno-unused-function `pkg-config --cflags Qt3Support --cflags QtOpenGL` -Ibin/packages/qhttpserver-master/src -DQHTTPSERVER_EXPORT -Ibin/packages/qhttpserver-master/http-parser -Ibin/packages/qhttpserver-master/build -D_REENTRANT
g++ -mfpmath=sse -msse2 -c bin/packages/qhttpserver-master/build/moc_qhttprequest.cpp -c `cat buildtype.opt` -Ibin/packages/gc-7.2/include -IQt/ -I/usr/include/python2.7 -DNOPAUSEPLAY -DCOMPILING_RADIUM -DGUIISQT -DUSE_GFX_OP_QUEUE -DFULL_VERSION=1 -DIS_LITTLE_ENDIAN=1 -DUSE_OPENGL=1 -DUSE_QT_VISUAL=1 -DUSE_GTK_VISUAL=0 -DUSE_QT_REQTYPE=1 -DUSE_GTK_REQTYPE=0 -DUSE_QT_MENU=1 -DUSE_GTK_MENU=0 -Imidi/rtmidi -Werror=array-bounds -msse2 -DFOR_LINUX -DWITH_PD -Wno-unused-function -DUSE_VESTIGE=1 -Wno-unused-function `pkg-config --cflags Qt3Support --cflags QtOpenGL` -Ibin/packages/qhttpserver-master/src -DQHTTPSERVER_EXPORT -Ibin/packages/qhttpserver-master/http-parser -Ibin/packages/qhttpserver-master/build -D_REENTRANT
g++: error: bin/packages/qhttpserver-master/build/moc_qhttpconnection.cpp: File o directory non esistente
g++: fatal error: no input files
compilation terminated.
Makefile:1697: set di istruzioni per l'obiettivo "moc_qhttpconnection.o" non riuscito
make: *** [moc_qhttpconnection.o] Errore 1
make: *** Attesa per i processi non terminati....
g++: error: bin/packages/qhttpserver-master/build/moc_qhttprequest.cpp: File o directory non esistente
g++: fatal error: no input files
compilation terminated.
Makefile:1699: set di istruzioni per l'obiettivo "moc_qhttprequest.o" non riuscito
make: *** [moc_qhttprequest.o] Errore 1
In file included from bin/s7webserver/s7webserver.cpp:14:0:
bin/s7webserver/moc_s7webserver.cpp:15:2: error: #error "This file was generated using the moc from 5.5.0. It"
#error "This file was generated using the moc from 5.5.0. It"
^
bin/s7webserver/moc_s7webserver.cpp:16:2: error: #error "cannot be used with the include files from this version of Qt."
#error "cannot be used with the include files from this version of Qt."
^
bin/s7webserver/moc_s7webserver.cpp:17:2: error: #error "(The moc has changed too much.)"
#error "(The moc has changed too much.)"
^
bin/s7webserver/moc_s7webserver.cpp:22:5: error: ‘QByteArrayData’ does not name a type
QByteArrayData data[7];
^
bin/s7webserver/moc_s7webserver.cpp:28:24: error: ‘QByteArrayData’ was not declared in this scope
- idx * sizeof(QByteArrayData)) \
^
bin/s7webserver/moc_s7webserver.cpp:32:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(0, 0, 11), // "S7WebServer"
^
bin/s7webserver/moc_s7webserver.cpp:29:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
)
^
bin/s7webserver/moc_s7webserver.cpp:32:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(0, 0, 11), // "S7WebServer"
^
bin/s7webserver/moc_s7webserver.cpp:28:24: error: ‘QByteArrayData’ was not declared in this scope
- idx * sizeof(QByteArrayData)) \
^
bin/s7webserver/moc_s7webserver.cpp:33:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(1, 12, 13), // "handleRequest"
^
bin/s7webserver/moc_s7webserver.cpp:29:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
)
^
bin/s7webserver/moc_s7webserver.cpp:33:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(1, 12, 13), // "handleRequest"
^
bin/s7webserver/moc_s7webserver.cpp:28:24: error: ‘QByteArrayData’ was not declared in this scope
- idx * sizeof(QByteArrayData)) \
^
bin/s7webserver/moc_s7webserver.cpp:34:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(2, 26, 0), // ""
^
bin/s7webserver/moc_s7webserver.cpp:29:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
)
^
bin/s7webserver/moc_s7webserver.cpp:34:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(2, 26, 0), // ""
^
bin/s7webserver/moc_s7webserver.cpp:28:24: error: ‘QByteArrayData’ was not declared in this scope
- idx * sizeof(QByteArrayData)) \
^
bin/s7webserver/moc_s7webserver.cpp:35:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(3, 27, 13), // "QHttpRequest*"
^
bin/s7webserver/moc_s7webserver.cpp:29:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
)
^
bin/s7webserver/moc_s7webserver.cpp:35:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(3, 27, 13), // "QHttpRequest*"
^
bin/s7webserver/moc_s7webserver.cpp:28:24: error: ‘QByteArrayData’ was not declared in this scope
- idx * sizeof(QByteArrayData)) \
^
bin/s7webserver/moc_s7webserver.cpp:36:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(4, 41, 3), // "req"
^
bin/s7webserver/moc_s7webserver.cpp:29:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
)
^
bin/s7webserver/moc_s7webserver.cpp:36:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(4, 41, 3), // "req"
^
bin/s7webserver/moc_s7webserver.cpp:28:24: error: ‘QByteArrayData’ was not declared in this scope
- idx * sizeof(QByteArrayData)) \
^
bin/s7webserver/moc_s7webserver.cpp:37:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(5, 45, 14), // "QHttpResponse*"
^
bin/s7webserver/moc_s7webserver.cpp:29:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
)
^
bin/s7webserver/moc_s7webserver.cpp:37:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(5, 45, 14), // "QHttpResponse*"
^
bin/s7webserver/moc_s7webserver.cpp:28:24: error: ‘QByteArrayData’ was not declared in this scope
- idx * sizeof(QByteArrayData)) \
^
bin/s7webserver/moc_s7webserver.cpp:38:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(6, 60, 4) // "resp"
^
bin/s7webserver/moc_s7webserver.cpp:29:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
)
^
bin/s7webserver/moc_s7webserver.cpp:38:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(6, 60, 4) // "resp"
^
In file included from bin/s7webserver/s7webserver.cpp:14:0:
bin/s7webserver/moc_s7webserver.cpp:81:66: error: ‘const struct qt_meta_stringdata_S7WebServer_t’ has no member named ‘data’
{ &QObject::staticMetaObject, qt_meta_stringdata_S7WebServer.data,
^
bin/s7webserver/moc_s7webserver.cpp:82:54: error: ‘Q_NULLPTR’ was not declared in this scope
qt_meta_data_S7WebServer, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
^
bin/s7webserver/moc_s7webserver.cpp:82:65: error: ‘Q_NULLPTR’ was not declared in this scope
qt_meta_data_S7WebServer, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
^
bin/s7webserver/moc_s7webserver.cpp: In member function ‘virtual const QMetaObject* S7WebServer::metaObject() const’:
bin/s7webserver/moc_s7webserver.cpp:88:57: error: ‘class QObjectData’ has no member named ‘dynamicMetaObject’
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
^
bin/s7webserver/moc_s7webserver.cpp: In member function ‘virtual void* S7WebServer::qt_metacast(const char*)’:
bin/s7webserver/moc_s7webserver.cpp:93:26: error: ‘Q_NULLPTR’ was not declared in this scope
if (!_clname) return Q_NULLPTR;
^
bin/s7webserver/moc_s7webserver.cpp: In member function ‘virtual int S7WebServer::qt_metacall(QMetaObject::Call, int, void**)’:
bin/s7webserver/moc_s7webserver.cpp:108:22: error: ‘RegisterMethodArgumentMetaType’ is not a member of ‘QMetaObject’
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
^
bin/s7webserver/moc_s7webserver.cpp: At global scope:
bin/s7webserver/moc_s7webserver.cpp:116:5: error: ‘QByteArrayData’ does not name a type
QByteArrayData data[6];
^
bin/s7webserver/moc_s7webserver.cpp:122:24: error: ‘QByteArrayData’ was not declared in this scope
- idx * sizeof(QByteArrayData)) \
^
bin/s7webserver/moc_s7webserver.cpp:126:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(0, 0, 20), // "S7WebServerResponder"
^
bin/s7webserver/moc_s7webserver.cpp:123:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
)
^
bin/s7webserver/moc_s7webserver.cpp:126:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(0, 0, 20), // "S7WebServerResponder"
^
bin/s7webserver/moc_s7webserver.cpp:122:24: error: ‘QByteArrayData’ was not declared in this scope
- idx * sizeof(QByteArrayData)) \
^
bin/s7webserver/moc_s7webserver.cpp:127:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(1, 21, 4), // "done"
^
bin/s7webserver/moc_s7webserver.cpp:123:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
)
^
bin/s7webserver/moc_s7webserver.cpp:127:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(1, 21, 4), // "done"
^
bin/s7webserver/moc_s7webserver.cpp:122:24: error: ‘QByteArrayData’ was not declared in this scope
- idx * sizeof(QByteArrayData)) \
^
bin/s7webserver/moc_s7webserver.cpp:128:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(2, 26, 0), // ""
^
bin/s7webserver/moc_s7webserver.cpp:123:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
)
^
bin/s7webserver/moc_s7webserver.cpp:128:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(2, 26, 0), // ""
^
bin/s7webserver/moc_s7webserver.cpp:122:24: error: ‘QByteArrayData’ was not declared in this scope
- idx * sizeof(QByteArrayData)) \
^
bin/s7webserver/moc_s7webserver.cpp:129:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(3, 27, 10), // "accumulate"
^
bin/s7webserver/moc_s7webserver.cpp:123:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
)
^
bin/s7webserver/moc_s7webserver.cpp:129:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(3, 27, 10), // "accumulate"
^
bin/s7webserver/moc_s7webserver.cpp:122:24: error: ‘QByteArrayData’ was not declared in this scope
- idx * sizeof(QByteArrayData)) \
^
bin/s7webserver/moc_s7webserver.cpp:130:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(4, 38, 4), // "data"
^
bin/s7webserver/moc_s7webserver.cpp:123:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
)
^
bin/s7webserver/moc_s7webserver.cpp:130:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(4, 38, 4), // "data"
^
bin/s7webserver/moc_s7webserver.cpp:122:24: error: ‘QByteArrayData’ was not declared in this scope
- idx * sizeof(QByteArrayData)) \
^
bin/s7webserver/moc_s7webserver.cpp:131:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(5, 43, 5) // "reply"
^
bin/s7webserver/moc_s7webserver.cpp:123:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
)
^
bin/s7webserver/moc_s7webserver.cpp:131:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(5, 43, 5) // "reply"
^
bin/s7webserver/moc_s7webserver.cpp: In static member function ‘static void S7WebServerResponder::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)’:
bin/s7webserver/moc_s7webserver.cpp:180:22: error: ‘IndexOfMethod’ is not a member of ‘QMetaObject’
} else if (_c == QMetaObject::IndexOfMethod) {
^
bin/s7webserver/moc_s7webserver.cpp: At global scope:
bin/s7webserver/moc_s7webserver.cpp:193:75: error: ‘const struct qt_meta_stringdata_S7WebServerResponder_t’ has no member named ‘data’
{ &QObject::staticMetaObject, qt_meta_stringdata_S7WebServerResponder.data,
^
bin/s7webserver/moc_s7webserver.cpp:194:63: error: ‘Q_NULLPTR’ was not declared in this scope
qt_meta_data_S7WebServerResponder, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
^
bin/s7webserver/moc_s7webserver.cpp:194:74: error: ‘Q_NULLPTR’ was not declared in this scope
qt_meta_data_S7WebServerResponder, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
^
bin/s7webserver/moc_s7webserver.cpp: In member function ‘virtual const QMetaObject* S7WebServerResponder::metaObject() const’:
bin/s7webserver/moc_s7webserver.cpp:200:57: error: ‘class QObjectData’ has no member named ‘dynamicMetaObject’
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
^
bin/s7webserver/moc_s7webserver.cpp: In member function ‘virtual void* S7WebServerResponder::qt_metacast(const char*)’:
bin/s7webserver/moc_s7webserver.cpp:205:26: error: ‘Q_NULLPTR’ was not declared in this scope
if (!_clname) return Q_NULLPTR;
^
bin/s7webserver/moc_s7webserver.cpp: In member function ‘virtual int S7WebServerResponder::qt_metacall(QMetaObject::Call, int, void**)’:
bin/s7webserver/moc_s7webserver.cpp:220:22: error: ‘RegisterMethodArgumentMetaType’ is not a member of ‘QMetaObject’
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
^
bin/s7webserver/moc_s7webserver.cpp: In member function ‘void S7WebServerResponder::done()’:
bin/s7webserver/moc_s7webserver.cpp:231:55: error: ‘Q_NULLPTR’ was not declared in this scope
QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
^
bin/s7webserver/moc_s7webserver.cpp: In member function ‘virtual const QMetaObject* S7WebServer::metaObject() const’:
bin/s7webserver/moc_s7webserver.cpp:89:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
bin/s7webserver/moc_s7webserver.cpp: In member function ‘virtual const QMetaObject* S7WebServerResponder::metaObject() const’:
bin/s7webserver/moc_s7webserver.cpp:201:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
cc1plus: all warnings being treated as errors
Makefile:1678: set di istruzioni per l'obiettivo "s7webserver.o" non riuscito
make: *** [s7webserver.o] Errore 1
docler@RedPoison ~/radium $
The last line in italian is just saying that it failed to process "s7webserver.o"
Ok, I was wrong about not having to build qhttpserver. You need to do that to create the source files in qhttpserver-master/build/
The question then is why your computer tries to use Qt5 instead of Qt4. What's the output of
$ ./find_moc_and_uic_paths.sh qmake
and
$ `./find_moc_and_uic_paths.sh qmake` --version
?
This is what I get:
[kjetil@localhost radium]$ ./find_moc_and_uic_paths.sh qmake
/usr/bin/qmake-qt4
[kjetil@localhost radium]$ `./find_moc_and_uic_paths.sh qmake` --version
QMake version 2.01a
Using Qt version 4.8.6 in /usr/lib64
You should get something similar.
mh
docler@RedPoison ~/radium $ ./find_moc_and_uic_paths.sh qmake
qmake
docler@RedPoison ~/radium $ qmake -v
QMake version 3.0
Using Qt version 5.5.0 in /usr/lib
docler@RedPoison ~/radium $ ls /usr/bin/ | grep qmake
qmake
qmake-qt4
docler@RedPoison ~/radium $ qmake-qt4 -v
QMake version 2.01a
Using Qt version 4.8.6 in /usr/lib
docler@RedPoison ~/radium $
right, i forgot i had qt5 installed because of another project's repository (papyros), but i have qmake-qt4 installed too, how do i tell the compiler to use qmake-qt4 instead of qmake?
Seems like times have changed. When I wrote that script, qmake usually pointed to the qt4 version of qmake, but now qmake seems to usually point to the qt5 version of qmake.
So what you can do is to change the second last line in "find_moc_and_uic_paths.sh" from
echo $1
into
echo $1-qt4
I'll commit that change to the repository too.
I'm on archlinux with some bleeding edge repositories, so it's probable that is an issue of my setup and not the common case, anyway i'm trying to build again with the updated script
The script knows that "qmake-qt4" is correct on arch, but it seems like /etc/lsb-release is not a common file you can use anymore to find the name of the distribution:
elif grep -i arch /etc/lsb-release >/dev/null 2>/dev/null
echo $1-qt4
(there is no /etc/lsb-release file on my fedora 21 machine either)
I just found out in archlinux you need to install the package lsb-release to have that file (it can be put in the PKGBUILD dependencies, or in the wiki if this is needed)
Thank you, but I don't think the script needs to know the name of the os anymore. Were you able to build Radium now by the way?
No, but i had to leave and can't remember what was going wrong, i will write again when i'll try to compile again tonight or tomorrow
Great! I don't know if this was the problem, but something or another has probably been wrongly configured since earlier version of the script used Qt5 instead of Qt4. Running "make very_clean" should fix that.
So, i pulled the latest commits, run
make very_clean
then tried to excecute the file find_moc_and_uic_paths.sh and noticed it was still echoing qmake instead of qmake-qt4, so i just modified to see if that was the problem (it basically skip the checks and just echo qmake-qt4), run make packages, and this goes well, but after i have the same error of before with the build_linux.sh:
+ cd ..
+ touch deletemetorebuild
packages successfully built. Now run ./build_linux.sh -j7
docler@RedPoison ~/radium $ BUILDTYPE=RELEASE ./build_linux.sh -j7
BUILDTYPE=RELEASE
if [ RELEASE = DEBUG ] ; then echo "-DDEBUG -Werror -Wall -g" >buildtype.opt ; else echo "-DRELEASE -DDEBUG -Wall -g -O3" >buildtype.opt ; fi
cd bin && /usr/bin/python2 generate_keyboard_sub_ids.py >../common/keyboard_sub_ids.h
bash check_dependencies.sh `./find_python_path.sh` moc-qt4 uic-qt4 test_build
g++ -mfpmath=sse -msse2 -c embedded_scheme/scheme.cpp -c `cat buildtype.opt` -Ibin/packages/gc-7.2/include -IQt/ -I/usr/include/python2.7 -DNOPAUSEPLAY -DCOMPILING_RADIUM -DGUIISQT -DUSE_GFX_OP_QUEUE -DFULL_VERSION=1 -DIS_LITTLE_ENDIAN=1 -DUSE_OPENGL=1 -DUSE_QT_VISUAL=1 -DUSE_GTK_VISUAL=0 -DUSE_QT_REQTYPE=1 -DUSE_GTK_REQTYPE=0 -DUSE_QT_MENU=1 -DUSE_GTK_MENU=0 -Imidi/rtmidi -Werror=array-bounds -msse2 -DFOR_LINUX -DWITH_PD -Wno-unused-function -DUSE_VESTIGE=1 -Wno-unused-function -DUSE_QT4 -DUSE_QIMAGE_BUFFER=1 `pkg-config --cflags Qt3Support --cflags QtOpenGL` -Ibin/packages/qhttpserver-master/src -DQHTTPSERVER_EXPORT -Ibin/packages/qhttpserver-master/src -Ibin/packages/s7
gcc -mfpmath=sse -msse2 -c bin/packages/s7/s7.c -o bin/packages/s7/s7_linux.o `cat buildtype.opt` -Iembedded_scheme -O2 -Wno-absolute-value
g++ -mfpmath=sse -msse2 -c bin/s7webserver/s7webserver.cpp `pkg-config --cflags Qt3Support --cflags QtOpenGL` -Ibin/packages/qhttpserver-master/src -DQHTTPSERVER_EXPORT -Ibin/packages/s7 -g -Iembedded_scheme -Wall -Werror -Wno-error=unused-variable -Wno-error=unused-function
g++ -mfpmath=sse -msse2 -c bin/packages/qhttpserver-master/src/qhttpconnection.cpp -c `cat buildtype.opt` -Ibin/packages/gc-7.2/include -IQt/ -I/usr/include/python2.7 -DNOPAUSEPLAY -DCOMPILING_RADIUM -DGUIISQT -DUSE_GFX_OP_QUEUE -DFULL_VERSION=1 -DIS_LITTLE_ENDIAN=1 -DUSE_OPENGL=1 -DUSE_QT_VISUAL=1 -DUSE_GTK_VISUAL=0 -DUSE_QT_REQTYPE=1 -DUSE_GTK_REQTYPE=0 -DUSE_QT_MENU=1 -DUSE_GTK_MENU=0 -Imidi/rtmidi -Werror=array-bounds -msse2 -DFOR_LINUX -DWITH_PD -Wno-unused-function -DUSE_VESTIGE=1 -Wno-unused-function `pkg-config --cflags Qt3Support --cflags QtOpenGL` -Ibin/packages/qhttpserver-master/src -DQHTTPSERVER_EXPORT -Ibin/packages/qhttpserver-master/http-parser -Ibin/packages/qhttpserver-master/build -D_REENTRANT
/usr/bin/python2 protoconfparser.py radium_proc.h
cd api/ ; /usr/bin/python2 protoconfparser.py radium_proc.h ; cd ..
Checking dependencies:
/usr/bin/sed
sed found
/usr/bin/python2
/usr/bin/python2 found
/usr/bin/guile
guile found
testing build
g++ -mfpmath=sse -msse2 -c bin/packages/qhttpserver-master/build/moc_qhttpconnection.cpp -c `cat buildtype.opt` -Ibin/packages/gc-7.2/include -IQt/ -I/usr/include/python2.7 -DNOPAUSEPLAY -DCOMPILING_RADIUM -DGUIISQT -DUSE_GFX_OP_QUEUE -DFULL_VERSION=1 -DIS_LITTLE_ENDIAN=1 -DUSE_OPENGL=1 -DUSE_QT_VISUAL=1 -DUSE_GTK_VISUAL=0 -DUSE_QT_REQTYPE=1 -DUSE_GTK_REQTYPE=0 -DUSE_QT_MENU=1 -DUSE_GTK_MENU=0 -Imidi/rtmidi -Werror=array-bounds -msse2 -DFOR_LINUX -DWITH_PD -Wno-unused-function -DUSE_VESTIGE=1 -Wno-unused-function `pkg-config --cflags Qt3Support --cflags QtOpenGL` -Ibin/packages/qhttpserver-master/src -DQHTTPSERVER_EXPORT -Ibin/packages/qhttpserver-master/http-parser -Ibin/packages/qhttpserver-master/build -D_REENTRANT
/usr/bin/moc-qt4
/usr/bin/uic-qt4
g++ -mfpmath=sse -msse2 -c bin/packages/qhttpserver-master/src/qhttprequest.cpp -c `cat buildtype.opt` -Ibin/packages/gc-7.2/include -IQt/ -I/usr/include/python2.7 -DNOPAUSEPLAY -DCOMPILING_RADIUM -DGUIISQT -DUSE_GFX_OP_QUEUE -DFULL_VERSION=1 -DIS_LITTLE_ENDIAN=1 -DUSE_OPENGL=1 -DUSE_QT_VISUAL=1 -DUSE_GTK_VISUAL=0 -DUSE_QT_REQTYPE=1 -DUSE_GTK_REQTYPE=0 -DUSE_QT_MENU=1 -DUSE_GTK_MENU=0 -Imidi/rtmidi -Werror=array-bounds -msse2 -DFOR_LINUX -DWITH_PD -Wno-unused-function -DUSE_VESTIGE=1 -Wno-unused-function `pkg-config --cflags Qt3Support --cflags QtOpenGL` -Ibin/packages/qhttpserver-master/src -DQHTTPSERVER_EXPORT -Ibin/packages/qhttpserver-master/http-parser -Ibin/packages/qhttpserver-master/build -D_REENTRANT
In file included from bin/s7webserver/s7webserver.cpp:14:0:
bin/s7webserver/moc_s7webserver.cpp:15:2: error: #error "This file was generated using the moc from 5.5.0. It"
#error "This file was generated using the moc from 5.5.0. It"
^
bin/s7webserver/moc_s7webserver.cpp:16:2: error: #error "cannot be used with the include files from this version of Qt."
#error "cannot be used with the include files from this version of Qt."
^
bin/s7webserver/moc_s7webserver.cpp:17:2: error: #error "(The moc has changed too much.)"
#error "(The moc has changed too much.)"
^
All seems good
touch dependencies_ok
g++ -mfpmath=sse -msse2 -c bin/packages/qhttpserver-master/build/moc_qhttprequest.cpp -c `cat buildtype.opt` -Ibin/packages/gc-7.2/include -IQt/ -I/usr/include/python2.7 -DNOPAUSEPLAY -DCOMPILING_RADIUM -DGUIISQT -DUSE_GFX_OP_QUEUE -DFULL_VERSION=1 -DIS_LITTLE_ENDIAN=1 -DUSE_OPENGL=1 -DUSE_QT_VISUAL=1 -DUSE_GTK_VISUAL=0 -DUSE_QT_REQTYPE=1 -DUSE_GTK_REQTYPE=0 -DUSE_QT_MENU=1 -DUSE_GTK_MENU=0 -Imidi/rtmidi -Werror=array-bounds -msse2 -DFOR_LINUX -DWITH_PD -Wno-unused-function -DUSE_VESTIGE=1 -Wno-unused-function `pkg-config --cflags Qt3Support --cflags QtOpenGL` -Ibin/packages/qhttpserver-master/src -DQHTTPSERVER_EXPORT -Ibin/packages/qhttpserver-master/http-parser -Ibin/packages/qhttpserver-master/build -D_REENTRANT
bin/s7webserver/moc_s7webserver.cpp:22:5: error: ‘QByteArrayData’ does not name a type
QByteArrayData data[7];
^
bin/s7webserver/moc_s7webserver.cpp:28:24: error: ‘QByteArrayData’ was not declared in this scope
- idx * sizeof(QByteArrayData)) \
^
bin/s7webserver/moc_s7webserver.cpp:32:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(0, 0, 11), // "S7WebServer"
^
bin/s7webserver/moc_s7webserver.cpp:29:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
)
^
bin/s7webserver/moc_s7webserver.cpp:32:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(0, 0, 11), // "S7WebServer"
^
bin/s7webserver/moc_s7webserver.cpp:28:24: error: ‘QByteArrayData’ was not declared in this scope
- idx * sizeof(QByteArrayData)) \
^
bin/s7webserver/moc_s7webserver.cpp:33:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(1, 12, 13), // "handleRequest"
^
bin/s7webserver/moc_s7webserver.cpp:29:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
)
^
bin/s7webserver/moc_s7webserver.cpp:33:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(1, 12, 13), // "handleRequest"
^
bin/s7webserver/moc_s7webserver.cpp:28:24: error: ‘QByteArrayData’ was not declared in this scope
- idx * sizeof(QByteArrayData)) \
^
bin/s7webserver/moc_s7webserver.cpp:34:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(2, 26, 0), // ""
^
bin/s7webserver/moc_s7webserver.cpp:29:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
)
^
bin/s7webserver/moc_s7webserver.cpp:34:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(2, 26, 0), // ""
^
bin/s7webserver/moc_s7webserver.cpp:28:24: error: ‘QByteArrayData’ was not declared in this scope
- idx * sizeof(QByteArrayData)) \
^
bin/s7webserver/moc_s7webserver.cpp:35:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(3, 27, 13), // "QHttpRequest*"
^
bin/s7webserver/moc_s7webserver.cpp:29:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
)
^
bin/s7webserver/moc_s7webserver.cpp:35:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(3, 27, 13), // "QHttpRequest*"
^
bin/s7webserver/moc_s7webserver.cpp:28:24: error: ‘QByteArrayData’ was not declared in this scope
- idx * sizeof(QByteArrayData)) \
^
bin/s7webserver/moc_s7webserver.cpp:36:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(4, 41, 3), // "req"
^
bin/s7webserver/moc_s7webserver.cpp:29:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
)
^
bin/s7webserver/moc_s7webserver.cpp:36:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(4, 41, 3), // "req"
^
bin/s7webserver/moc_s7webserver.cpp:28:24: error: ‘QByteArrayData’ was not declared in this scope
- idx * sizeof(QByteArrayData)) \
^
bin/s7webserver/moc_s7webserver.cpp:37:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(5, 45, 14), // "QHttpResponse*"
^
bin/s7webserver/moc_s7webserver.cpp:29:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
)
^
bin/s7webserver/moc_s7webserver.cpp:37:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(5, 45, 14), // "QHttpResponse*"
^
bin/s7webserver/moc_s7webserver.cpp:28:24: error: ‘QByteArrayData’ was not declared in this scope
- idx * sizeof(QByteArrayData)) \
^
bin/s7webserver/moc_s7webserver.cpp:38:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(6, 60, 4) // "resp"
^
bin/s7webserver/moc_s7webserver.cpp:29:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
)
^
bin/s7webserver/moc_s7webserver.cpp:38:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(6, 60, 4) // "resp"
^
In file included from bin/s7webserver/s7webserver.cpp:14:0:
bin/s7webserver/moc_s7webserver.cpp:81:66: error: ‘const struct qt_meta_stringdata_S7WebServer_t’ has no member named ‘data’
{ &QObject::staticMetaObject, qt_meta_stringdata_S7WebServer.data,
^
bin/s7webserver/moc_s7webserver.cpp:82:54: error: ‘Q_NULLPTR’ was not declared in this scope
qt_meta_data_S7WebServer, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
^
bin/s7webserver/moc_s7webserver.cpp:82:65: error: ‘Q_NULLPTR’ was not declared in this scope
qt_meta_data_S7WebServer, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
^
bin/s7webserver/moc_s7webserver.cpp: In member function ‘virtual const QMetaObject* S7WebServer::metaObject() const’:
bin/s7webserver/moc_s7webserver.cpp:88:57: error: ‘class QObjectData’ has no member named ‘dynamicMetaObject’
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
^
bin/s7webserver/moc_s7webserver.cpp: In member function ‘virtual void* S7WebServer::qt_metacast(const char*)’:
bin/s7webserver/moc_s7webserver.cpp:93:26: error: ‘Q_NULLPTR’ was not declared in this scope
if (!_clname) return Q_NULLPTR;
^
bin/s7webserver/moc_s7webserver.cpp: In member function ‘virtual int S7WebServer::qt_metacall(QMetaObject::Call, int, void**)’:
bin/s7webserver/moc_s7webserver.cpp:108:22: error: ‘RegisterMethodArgumentMetaType’ is not a member of ‘QMetaObject’
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
^
bin/s7webserver/moc_s7webserver.cpp: At global scope:
bin/s7webserver/moc_s7webserver.cpp:116:5: error: ‘QByteArrayData’ does not name a type
QByteArrayData data[6];
^
bin/s7webserver/moc_s7webserver.cpp:122:24: error: ‘QByteArrayData’ was not declared in this scope
- idx * sizeof(QByteArrayData)) \
^
bin/s7webserver/moc_s7webserver.cpp:126:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(0, 0, 20), // "S7WebServerResponder"
^
bin/s7webserver/moc_s7webserver.cpp:123:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
)
^
bin/s7webserver/moc_s7webserver.cpp:126:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(0, 0, 20), // "S7WebServerResponder"
^
bin/s7webserver/moc_s7webserver.cpp:122:24: error: ‘QByteArrayData’ was not declared in this scope
- idx * sizeof(QByteArrayData)) \
^
bin/s7webserver/moc_s7webserver.cpp:127:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(1, 21, 4), // "done"
^
bin/s7webserver/moc_s7webserver.cpp:123:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
)
^
bin/s7webserver/moc_s7webserver.cpp:127:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(1, 21, 4), // "done"
^
bin/s7webserver/moc_s7webserver.cpp:122:24: error: ‘QByteArrayData’ was not declared in this scope
- idx * sizeof(QByteArrayData)) \
^
bin/s7webserver/moc_s7webserver.cpp:128:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(2, 26, 0), // ""
^
bin/s7webserver/moc_s7webserver.cpp:123:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
)
^
bin/s7webserver/moc_s7webserver.cpp:128:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(2, 26, 0), // ""
^
bin/s7webserver/moc_s7webserver.cpp:122:24: error: ‘QByteArrayData’ was not declared in this scope
- idx * sizeof(QByteArrayData)) \
^
bin/s7webserver/moc_s7webserver.cpp:129:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(3, 27, 10), // "accumulate"
^
bin/s7webserver/moc_s7webserver.cpp:123:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
)
^
bin/s7webserver/moc_s7webserver.cpp:129:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(3, 27, 10), // "accumulate"
^
bin/s7webserver/moc_s7webserver.cpp:122:24: error: ‘QByteArrayData’ was not declared in this scope
- idx * sizeof(QByteArrayData)) \
^
bin/s7webserver/moc_s7webserver.cpp:130:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(4, 38, 4), // "data"
^
bin/s7webserver/moc_s7webserver.cpp:123:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
)
^
bin/s7webserver/moc_s7webserver.cpp:130:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(4, 38, 4), // "data"
^
bin/s7webserver/moc_s7webserver.cpp:122:24: error: ‘QByteArrayData’ was not declared in this scope
- idx * sizeof(QByteArrayData)) \
^
bin/s7webserver/moc_s7webserver.cpp:131:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(5, 43, 5) // "reply"
^
bin/s7webserver/moc_s7webserver.cpp:123:5: error: ‘Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET’ was not declared in this scope
)
^
bin/s7webserver/moc_s7webserver.cpp:131:1: note: in expansion of macro ‘QT_MOC_LITERAL’
QT_MOC_LITERAL(5, 43, 5) // "reply"
^
bin/s7webserver/moc_s7webserver.cpp: In static member function ‘static void S7WebServerResponder::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)’:
bin/s7webserver/moc_s7webserver.cpp:180:22: error: ‘IndexOfMethod’ is not a member of ‘QMetaObject’
} else if (_c == QMetaObject::IndexOfMethod) {
^
bin/s7webserver/moc_s7webserver.cpp: At global scope:
bin/s7webserver/moc_s7webserver.cpp:193:75: error: ‘const struct qt_meta_stringdata_S7WebServerResponder_t’ has no member named ‘data’
{ &QObject::staticMetaObject, qt_meta_stringdata_S7WebServerResponder.data,
^
bin/s7webserver/moc_s7webserver.cpp:194:63: error: ‘Q_NULLPTR’ was not declared in this scope
qt_meta_data_S7WebServerResponder, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
^
bin/s7webserver/moc_s7webserver.cpp:194:74: error: ‘Q_NULLPTR’ was not declared in this scope
qt_meta_data_S7WebServerResponder, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
^
bin/s7webserver/moc_s7webserver.cpp: In member function ‘virtual const QMetaObject* S7WebServerResponder::metaObject() const’:
bin/s7webserver/moc_s7webserver.cpp:200:57: error: ‘class QObjectData’ has no member named ‘dynamicMetaObject’
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
^
bin/s7webserver/moc_s7webserver.cpp: In member function ‘virtual void* S7WebServerResponder::qt_metacast(const char*)’:
bin/s7webserver/moc_s7webserver.cpp:205:26: error: ‘Q_NULLPTR’ was not declared in this scope
if (!_clname) return Q_NULLPTR;
^
bin/s7webserver/moc_s7webserver.cpp: In member function ‘virtual int S7WebServerResponder::qt_metacall(QMetaObject::Call, int, void**)’:
bin/s7webserver/moc_s7webserver.cpp:220:22: error: ‘RegisterMethodArgumentMetaType’ is not a member of ‘QMetaObject’
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
^
bin/s7webserver/moc_s7webserver.cpp: In member function ‘void S7WebServerResponder::done()’:
bin/s7webserver/moc_s7webserver.cpp:231:55: error: ‘Q_NULLPTR’ was not declared in this scope
QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
^
g++ -mfpmath=sse -msse2 -c bin/packages/qhttpserver-master/src/qhttpresponse.cpp -c `cat buildtype.opt` -Ibin/packages/gc-7.2/include -IQt/ -I/usr/include/python2.7 -DNOPAUSEPLAY -DCOMPILING_RADIUM -DGUIISQT -DUSE_GFX_OP_QUEUE -DFULL_VERSION=1 -DIS_LITTLE_ENDIAN=1 -DUSE_OPENGL=1 -DUSE_QT_VISUAL=1 -DUSE_GTK_VISUAL=0 -DUSE_QT_REQTYPE=1 -DUSE_GTK_REQTYPE=0 -DUSE_QT_MENU=1 -DUSE_GTK_MENU=0 -Imidi/rtmidi -Werror=array-bounds -msse2 -DFOR_LINUX -DWITH_PD -Wno-unused-function -DUSE_VESTIGE=1 -Wno-unused-function `pkg-config --cflags Qt3Support --cflags QtOpenGL` -Ibin/packages/qhttpserver-master/src -DQHTTPSERVER_EXPORT -Ibin/packages/qhttpserver-master/http-parser -Ibin/packages/qhttpserver-master/build -D_REENTRANT
g++ -mfpmath=sse -msse2 -c bin/packages/qhttpserver-master/build/moc_qhttpresponse.cpp -c `cat buildtype.opt` -Ibin/packages/gc-7.2/include -IQt/ -I/usr/include/python2.7 -DNOPAUSEPLAY -DCOMPILING_RADIUM -DGUIISQT -DUSE_GFX_OP_QUEUE -DFULL_VERSION=1 -DIS_LITTLE_ENDIAN=1 -DUSE_OPENGL=1 -DUSE_QT_VISUAL=1 -DUSE_GTK_VISUAL=0 -DUSE_QT_REQTYPE=1 -DUSE_GTK_REQTYPE=0 -DUSE_QT_MENU=1 -DUSE_GTK_MENU=0 -Imidi/rtmidi -Werror=array-bounds -msse2 -DFOR_LINUX -DWITH_PD -Wno-unused-function -DUSE_VESTIGE=1 -Wno-unused-function `pkg-config --cflags Qt3Support --cflags QtOpenGL` -Ibin/packages/qhttpserver-master/src -DQHTTPSERVER_EXPORT -Ibin/packages/qhttpserver-master/http-parser -Ibin/packages/qhttpserver-master/build -D_REENTRANT
bin/s7webserver/moc_s7webserver.cpp: In member function ‘virtual const QMetaObject* S7WebServer::metaObject() const’:
bin/s7webserver/moc_s7webserver.cpp:89:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
bin/s7webserver/moc_s7webserver.cpp: In member function ‘virtual const QMetaObject* S7WebServerResponder::metaObject() const’:
bin/s7webserver/moc_s7webserver.cpp:201:1: error: control reaches end of non-void function [-Werror=return-type]
}
^
cc1plus: all warnings being treated as errors
Makefile:1678: set di istruzioni per l'obiettivo "s7webserver.o" non riuscito
make: *** [s7webserver.o] Errore 1
make: *** Attesa per i processi non terminati....
docler@RedPoison ~/radium $
Another file left from when it used Qt5. I've added this file to "make clean". If you pull latest and do "make clean" it should work.
Perfect, it finally builds and run. Now i have to configure jack i guess, but the build is ok.
Good to hear! Closing.
Since arch updated icu to version 55 radium won't compile.