Problems about Native build Qt5.7 on raspberry pi3
-
Building on: linux-g++ (arm, CPU features: none detected)
Building for: devices/linux-rpi3-g++ (arm, CPU features: neon)
Platform notes:- Also available for Linux: linux-clang linux-kcc linux-icc linux-cxx
qmake vars .......... styles += mac fusion windows CONFIG += use_libmysqlclient_r QT_LIBS_DBUS = -ldbus-1 QT_CFLAGS_DBUS = -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include QT_HOST_CFLAGS_DBUS = -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include QT_CFLAGS_GLIB = -pthread -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include QT_LIBS_GLIB = -lgthread-2.0 -pthread -lglib-2.0 QT_CFLAGS_PULSEAUDIO = -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include QT_LIBS_PULSEAUDIO = -lpulse-mainloop-glib -lpulse -lglib-2.0 QMAKE_INCDIR_OPENGL_ES2 = QMAKE_LIBDIR_OPENGL_ES2 = QMAKE_LIBS_OPENGL_ES2 = "-lGLESv2" QMAKE_CFLAGS_OPENGL_ES2 = QMAKE_CFLAGS_FONTCONFIG = -I/usr/include/freetype2 QMAKE_LIBS_FONTCONFIG = -lfontconfig -lfreetype QMAKE_INCDIR_LIBUDEV = QMAKE_LIBS_LIBUDEV = -ludev QMAKE_INCDIR_XKBCOMMON_EVDEV = QMAKE_LIBS_XKBCOMMON_EVDEV = -lxkbcommon QMAKE_LIBINPUT_VERSION_MAJOR = 1 QMAKE_LIBINPUT_VERSION_MINOR = 5 QMAKE_INCDIR_LIBINPUT = QMAKE_LIBS_LIBINPUT = -linput QMAKE_LIBXI_VERSION_MAJOR = 1 QMAKE_LIBXI_VERSION_MINOR = 7 QMAKE_LIBXI_VERSION_PATCH = 4 QMAKE_X11_PREFIX = /usr QMAKE_CFLAGS_XKBCOMMON = QMAKE_LIBS_XKBCOMMON = -lxkbcommon-x11 -lxkbcommon QMAKE_INCDIR_EGL = /usr/include/libdrm QMAKE_LIBS_EGL = -lEGL QMAKE_CFLAGS_EGL = QMAKE_CFLAGS_XCB = QMAKE_LIBS_XCB = -lxcb-sync -lxcb-xfixes -lxcb-render -lxcb-randr -lxcb-image -lxcb-shm -lxcb-keysyms -lxcb-icccm -lxcb-shape -lxcb sql-drivers = sql-plugins = mysql psql sqlite sqlite2 tds qmake switches .........
Build options:
Configuration .......... accessibility accessibility-atspi-bridge alsa audio-backend c++11 c++14 clock-gettime clock-monotonic compile_examples concurrent cross_compile cups dbus dbus-linked doubleconversion egl eglfs eglfs_brcm eglfs_gbm enable_new_dtags evdev eventfd fontconfig full-config gbm getaddrinfo getifaddrs glib gstreamer-0.10 harfbuzz iconv icu inotify ipv6ifname kms large-config largefile libinput libproxy libudev linuxfb medium-config minimal-config mremap mtdev neon opengl opengles2 openssl pcre png poll_poll posix_fallocate precompile_header pulseaudio qpa qpa reduce_exports release release_tools rpath shared small-config system-freetype system-jpeg system-png system-zlib threadsafe-cloexec tslib xcb xcb-glx xcb-plugin xcb-render xcb-sm xcb-xlib xinput2 xkbcommon-evdev xlib xrender
Build parts ............ libs
Mode ................... release; optimized tools
Using sanitizer(s)...... none
Using C++ standard ..... c++14
Using gold linker....... no
Using new DTAGS ........ yes
Using PCH .............. yes
Using LTCG ............. no
Target compiler supports:
Neon ................. yesQt modules and options:
Qt D-Bus ............... yes (linked to dbus-1)
Qt Concurrent .......... yes
Qt GUI ................. yes
Qt Widgets ............. yes
Large File ............. yes
QML debugging .......... yes
Use system proxies ..... noSupport enabled for:
Accessibility .......... yes
ALSA ................... yes
CUPS ................... yes
DoubleConversion........ yes (bundled copy)
Evdev .................. yes
FontConfig ............. yes
FreeType ............... yes (system library)
Glib ................... yes
GStreamer .............. yes (0.10)
GTK platformtheme ...... no
HarfBuzz ............... yes (bundled copy)
Iconv .................. yes
ICU .................... yes
Image formats:
GIF .................. yes (plugin, using bundled copy)
JPEG ................. yes (plugin, using system library)
PNG .................. yes (in QtGui, using system library)
libinput................ yes
Logging backends:
journald ............... no
syslog ............... no
mtdev .................. yes (system library)
Networking:
getaddrinfo .......... yes
getifaddrs ........... yes
IPv6 ifname .......... yes
libproxy.............. yes
OpenSSL .............. yes (loading libraries at run-time)
OpenGL / OpenVG:
EGL .................. yes
OpenGL ............... yes (OpenGL ES 2.0+)
OpenVG ............... no
PCRE ................... yes (bundled copy)
pkg-config ............. yes
PulseAudio ............. yes
QPA backends:
DirectFB ............. no
EGLFS ................ yes
EGLFS i.MX6 ........ no
EGLFS i.MX6 Wayland. no
EGLFS EGLDevice .... no
EGLFS GBM .......... yes
EGLFS Mali ......... no
EGLFS Raspberry Pi . yes
EGLFS X11 .......... no
LinuxFB .............. yes
Mir client............ no
XCB .................. yes (system library)
EGL on X ........... no
GLX ................ yes
MIT-SHM ............ yes
Xcb-Xlib ........... yes
Xcursor ............ yes (loaded at runtime)
Xfixes ............. yes (loaded at runtime)
Xi2 ................ yes
Xrandr ............. yes (loaded at runtime)
Xrender ............ yes
XKB ................ yes
XShape ............. yes
XSync .............. yes
Session management ..... yes
SQL drivers:
DB2 .................. no
InterBase ............ no
MySQL ................ yes (plugin)
OCI .................. no
ODBC ................. no
PostgreSQL ........... yes (plugin)
SQLite 2 ............. yes (plugin)
SQLite ............... yes (plugin, using bundled copy)
TDS .................. yes (plugin)
tslib .................. yes
udev ................... yes
xkbcommon-x11........... yes (system library)
xkbcommon-evdev......... yes
zlib ................... yes (system library)NOTE: Qt is using double for qreal on this system. This is binary incompatible against Qt 5.1.
Configure with '-qreal float' to create a build that is binary compatible with 5.1.NOTE: -optimized-tools is not useful in -release mode.
Info: creating stash file /home/pi/opt/qt-everywhere-opensource-src-5.7.1/.qmake.stash
Info: creating super cache file /home/pi/opt/qt-everywhere-opensource-src-5.7.1/.qmake.superQt is now configured for building. Just run 'make'.
Once everything is built, you must run 'make install'.
Qt will be installed into /usr/local/qt5Prior to reconfiguration, make sure you remove any leftovers from
the previous build. -
and the installation info error is :
make[5]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtwayland/src/plugins/platforms/qwayland-brcm-egl'
cd qwayland-xcomposite-egl/ && ( test -e Makefile || /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtwayland/src/plugins/platforms/qwayland-xcomposite-egl/qwayland-xcomposite-egl.pro -qtconf /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile install
make[5]: Entering directory '/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtwayland/src/plugins/platforms/qwayland-xcomposite-egl'
/usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -std=c++1y -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -D_REENTRANT -fPIC -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_PLATFORMSUPPORT_LIB -DQT_WAYLANDCLIENT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/opt/vc/include -I/opt/vc/include/interface/vcos -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -I../../../hardwareintegration/client/xcomposite-egl -I../../../hardwareintegration/client/xcomposite_share -isystem /usr/include/libdrm -I../../../../include/QtWaylandClient/5.7.1 -I../../../../include/QtWaylandClient/5.7.1/QtWaylandClient -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtPlatformSupport -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtPlatformSupport/5.7.1 -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtPlatformSupport/5.7.1/QtPlatformSupport -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtGui/5.7.1 -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtGui/5.7.1/QtGui -I../../../../include -I../../../../include/QtWaylandClient -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtGui -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtCore/5.7.1 -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtCore/5.7.1/QtCore -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtCore -I.moc -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/mkspecs/devices/linux-rpi3-g++ -o .obj/qwaylandxcompositebuffer.o ../../../hardwareintegration/client/xcomposite_share/qwaylandxcompositebuffer.cpp
/usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -std=c++1y -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -D_REENTRANT -fPIC -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_PLATFORMSUPPORT_LIB -DQT_WAYLANDCLIENT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/opt/vc/include -I/opt/vc/include/interface/vcos -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -I../../../hardwareintegration/client/xcomposite-egl -I../../../hardwareintegration/client/xcomposite_share -isystem /usr/include/libdrm -I../../../../include/QtWaylandClient/5.7.1 -I../../../../include/QtWaylandClient/5.7.1/QtWaylandClient -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtPlatformSupport -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtPlatformSupport/5.7.1 -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtPlatformSupport/5.7.1/QtPlatformSupport -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtGui/5.7.1 -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtGui/5.7.1/QtGui -I../../../../include -I../../../../include/QtWaylandClient -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtGui -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtCore/5.7.1 -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtCore/5.7.1/QtCore -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtCore -I.moc -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/mkspecs/devices/linux-rpi3-g++ -o .obj/qwaylandxcompositeeglwindow.o ../../../hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.cpp
../../../hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.cpp: In member function ‘void QtWaylandClient::QWaylandXCompositeEGLWindow::createEglSurface()’:
../../../hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.cpp:126:93: error: invalid conversion from ‘Window {aka long unsigned int}’ to ‘EGLNativeWindowType {aka void*}’ [-fpermissive]
m_surface = eglCreateWindowSurface(m_glxIntegration->eglDisplay(), m_config, m_xWindow,0);
^
In file included from ../../../hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglclientbufferintegration.h:57:0,
from ../../../hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.h:46,
from ../../../hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.cpp:40:
/opt/vc/include/EGL/egl.h:265:31: note: initializing argument 3 of ‘void* eglCreateWindowSurface(EGLDisplay, EGLConfig, EGLNativeWindowType, const EGLint*)’
EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config,
^
Makefile:2100: recipe for target '.obj/qwaylandxcompositeeglwindow.o' failed
make[5]: *** [.obj/qwaylandxcompositeeglwindow.o] Error 1
make[5]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtwayland/src/plugins/platforms/qwayland-xcomposite-egl'
Makefile:198: recipe for target 'sub-qwayland-xcomposite-egl-install_subtargets-ordered' failed
make[4]: *** [sub-qwayland-xcomposite-egl-install_subtargets-ordered] Error 2
make[4]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtwayland/src/plugins/platforms'
Makefile:57: recipe for target 'sub-platforms-install_subtargets' failed
make[3]: *** [sub-platforms-install_subtargets] Error 2
make[3]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtwayland/src/plugins'
Makefile:160: recipe for target 'sub-plugins-install_subtargets' failed
make[2]: *** [sub-plugins-install_subtargets] Error 2
make[2]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtwayland/src'
Makefile:56: recipe for target 'sub-src-install_subtargets' failed
make[1]: *** [sub-src-install_subtargets] Error 2
make[1]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtwayland'
Makefile:498: recipe for target 'module-qtwayland-install_subtargets' failed
make: *** [module-qtwayland-install_subtargets] Error 2 -
and the installation info error is :
make[5]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtwayland/src/plugins/platforms/qwayland-brcm-egl'
cd qwayland-xcomposite-egl/ && ( test -e Makefile || /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtwayland/src/plugins/platforms/qwayland-xcomposite-egl/qwayland-xcomposite-egl.pro -qtconf /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile install
make[5]: Entering directory '/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtwayland/src/plugins/platforms/qwayland-xcomposite-egl'
/usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -std=c++1y -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -D_REENTRANT -fPIC -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_PLATFORMSUPPORT_LIB -DQT_WAYLANDCLIENT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/opt/vc/include -I/opt/vc/include/interface/vcos -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -I../../../hardwareintegration/client/xcomposite-egl -I../../../hardwareintegration/client/xcomposite_share -isystem /usr/include/libdrm -I../../../../include/QtWaylandClient/5.7.1 -I../../../../include/QtWaylandClient/5.7.1/QtWaylandClient -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtPlatformSupport -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtPlatformSupport/5.7.1 -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtPlatformSupport/5.7.1/QtPlatformSupport -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtGui/5.7.1 -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtGui/5.7.1/QtGui -I../../../../include -I../../../../include/QtWaylandClient -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtGui -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtCore/5.7.1 -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtCore/5.7.1/QtCore -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtCore -I.moc -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/mkspecs/devices/linux-rpi3-g++ -o .obj/qwaylandxcompositebuffer.o ../../../hardwareintegration/client/xcomposite_share/qwaylandxcompositebuffer.cpp
/usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -std=c++1y -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -D_REENTRANT -fPIC -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_PLATFORMSUPPORT_LIB -DQT_WAYLANDCLIENT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/opt/vc/include -I/opt/vc/include/interface/vcos -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -I../../../hardwareintegration/client/xcomposite-egl -I../../../hardwareintegration/client/xcomposite_share -isystem /usr/include/libdrm -I../../../../include/QtWaylandClient/5.7.1 -I../../../../include/QtWaylandClient/5.7.1/QtWaylandClient -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtPlatformSupport -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtPlatformSupport/5.7.1 -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtPlatformSupport/5.7.1/QtPlatformSupport -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtGui/5.7.1 -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtGui/5.7.1/QtGui -I../../../../include -I../../../../include/QtWaylandClient -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtGui -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtCore/5.7.1 -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtCore/5.7.1/QtCore -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/include/QtCore -I.moc -I/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/mkspecs/devices/linux-rpi3-g++ -o .obj/qwaylandxcompositeeglwindow.o ../../../hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.cpp
../../../hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.cpp: In member function ‘void QtWaylandClient::QWaylandXCompositeEGLWindow::createEglSurface()’:
../../../hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.cpp:126:93: error: invalid conversion from ‘Window {aka long unsigned int}’ to ‘EGLNativeWindowType {aka void*}’ [-fpermissive]
m_surface = eglCreateWindowSurface(m_glxIntegration->eglDisplay(), m_config, m_xWindow,0);
^
In file included from ../../../hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglclientbufferintegration.h:57:0,
from ../../../hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.h:46,
from ../../../hardwareintegration/client/xcomposite-egl/qwaylandxcompositeeglwindow.cpp:40:
/opt/vc/include/EGL/egl.h:265:31: note: initializing argument 3 of ‘void* eglCreateWindowSurface(EGLDisplay, EGLConfig, EGLNativeWindowType, const EGLint*)’
EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config,
^
Makefile:2100: recipe for target '.obj/qwaylandxcompositeeglwindow.o' failed
make[5]: *** [.obj/qwaylandxcompositeeglwindow.o] Error 1
make[5]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtwayland/src/plugins/platforms/qwayland-xcomposite-egl'
Makefile:198: recipe for target 'sub-qwayland-xcomposite-egl-install_subtargets-ordered' failed
make[4]: *** [sub-qwayland-xcomposite-egl-install_subtargets-ordered] Error 2
make[4]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtwayland/src/plugins/platforms'
Makefile:57: recipe for target 'sub-platforms-install_subtargets' failed
make[3]: *** [sub-platforms-install_subtargets] Error 2
make[3]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtwayland/src/plugins'
Makefile:160: recipe for target 'sub-plugins-install_subtargets' failed
make[2]: *** [sub-plugins-install_subtargets] Error 2
make[2]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtwayland/src'
Makefile:56: recipe for target 'sub-src-install_subtargets' failed
make[1]: *** [sub-src-install_subtargets] Error 2
make[1]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtwayland'
Makefile:498: recipe for target 'module-qtwayland-install_subtargets' failed
make: *** [module-qtwayland-install_subtargets] Error 2All the errors you posted, except the last post, are not build errors - they just indicate that some features are disabled. For example SSE is disabled because ARM CPUs do not support it.
You probably can get rid of last error disabling QtWayland if you do not need it. -
All the errors you posted, except the last post, are not build errors - they just indicate that some features are disabled. For example SSE is disabled because ARM CPUs do not support it.
You probably can get rid of last error disabling QtWayland if you do not need it.This post is deleted! -
All the errors you posted, except the last post, are not build errors - they just indicate that some features are disabled. For example SSE is disabled because ARM CPUs do not support it.
You probably can get rid of last error disabling QtWayland if you do not need it.@jsulm
yes you are right!
to be honest i don't know much about Qtwayland, if disabled , is there any other side-effects as EGL-X11 is disabled ?
thank you every much! -
@jsulm
yes you are right!
to be honest i don't know much about Qtwayland, if disabled , is there any other side-effects as EGL-X11 is disabled ?
thank you every much!@JiujiuTong If you don't want to use Wayland then there are no side effects if you don't build it. You need support for what ever graphics you want to use. Do you want to use X11?
-
@JiujiuTong If you don't want to use Wayland then there are no side effects if you don't build it. You need support for what ever graphics you want to use. Do you want to use X11?
@jsulm
thanks for your rapid reply!
i try to install the QT5.7 on rpi3 because i want to learn developing qt application on rpi3 with OS(RASPBIAN JESSIE WITH PIXEL), the main purpose is playing multimedia.
as i'm a fresher to linux, i don't know much about X11, from the internet information, it seems there is no need to have this feature for my usage, am I right ? -
@jsulm
thanks for your rapid reply!
i try to install the QT5.7 on rpi3 because i want to learn developing qt application on rpi3 with OS(RASPBIAN JESSIE WITH PIXEL), the main purpose is playing multimedia.
as i'm a fresher to linux, i don't know much about X11, from the internet information, it seems there is no need to have this feature for my usage, am I right ?@JiujiuTong Per default Raspbian is using X11. So, if you want to test GUI applications you need X11. You most probably already have it as you're running Pixel. If Qt configure complains about OpenGL then you need to install OpenGL devel packages.
-
@JiujiuTong Per default Raspbian is using X11. So, if you want to test GUI applications you need X11. You most probably already have it as you're running Pixel. If Qt configure complains about OpenGL then you need to install OpenGL devel packages.
@jsulm
sorry, i don't understand.
do you mean i need to enable EGL-X11?
from the configure log it seems that "OpenGL ES 2.0 enabled".
what should i do then ?
thank you! -
@jsulm
sorry, i don't understand.
do you mean i need to enable EGL-X11?
from the configure log it seems that "OpenGL ES 2.0 enabled".
what should i do then ?
thank you!@JiujiuTong then disable QtWayland and try again
-
@JiujiuTong then disable QtWayland and try again
@jsulm
OK, I will have a try! hope it works
thank you very much.
i will tell you the result later! -
@jsulm
OK, I will have a try! hope it works
thank you very much.
i will tell you the result later!@JiujiuTong add -skip wayland to your configure call
-
@JiujiuTong add -skip wayland to your configure call
@jsulm
got it ! -
@JiujiuTong add -skip wayland to your configure call
@jsulm
the problem is solved with -skip wayland option
but another problem happens:
the make install output error
/usr/bin/ld: cannot find -lclip2tri
/usr/bin/ld: cannot find -lpoly2tri
/usr/bin/ld: cannot find -lclipper
I know it means that three libs are not find, but there are tips above:
cd poly2tri/ && ( test -e Makefile || /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtlocation/src/3rdparty/poly2tri/poly2tri.pro -qtconf /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile install
make[4]: Entering directory '/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtlocation/src/3rdparty/poly2tri'
make[4]: Nothing to be done for 'install'.
make[4]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtlocation/src/3rdparty/poly2tri'
cd clipper/ && ( test -e Makefile || /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtlocation/src/3rdparty/clipper/clipper.pro -qtconf /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile install
make[4]: Entering directory '/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtlocation/src/3rdparty/clipper'
make[4]: Nothing to be done for 'install'.
make[4]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtlocation/src/3rdparty/clipper'
cd clip2tri/ && ( test -e Makefile || /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtlocation/src/3rdparty/clip2tri/clip2tri.pro -qtconf /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile install
make[4]: Entering directory '/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtlocation/src/3rdparty/clip2tri'
make[4]: Nothing to be done for 'install'.
make[4]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtlocation/src/3rdparty/clip2tri'
make[3]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtlocation/src/3rdparty'it seams that the install process skip producing the libs,but later it need the libs, can you give any suggestions? thank you !
-
@jsulm
the problem is solved with -skip wayland option
but another problem happens:
the make install output error
/usr/bin/ld: cannot find -lclip2tri
/usr/bin/ld: cannot find -lpoly2tri
/usr/bin/ld: cannot find -lclipper
I know it means that three libs are not find, but there are tips above:
cd poly2tri/ && ( test -e Makefile || /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtlocation/src/3rdparty/poly2tri/poly2tri.pro -qtconf /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile install
make[4]: Entering directory '/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtlocation/src/3rdparty/poly2tri'
make[4]: Nothing to be done for 'install'.
make[4]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtlocation/src/3rdparty/poly2tri'
cd clipper/ && ( test -e Makefile || /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtlocation/src/3rdparty/clipper/clipper.pro -qtconf /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile install
make[4]: Entering directory '/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtlocation/src/3rdparty/clipper'
make[4]: Nothing to be done for 'install'.
make[4]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtlocation/src/3rdparty/clipper'
cd clip2tri/ && ( test -e Makefile || /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtlocation/src/3rdparty/clip2tri/clip2tri.pro -qtconf /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile ) && make -f Makefile install
make[4]: Entering directory '/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtlocation/src/3rdparty/clip2tri'
make[4]: Nothing to be done for 'install'.
make[4]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtlocation/src/3rdparty/clip2tri'
make[3]: Leaving directory '/home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtlocation/src/3rdparty'it seams that the install process skip producing the libs,but later it need the libs, can you give any suggestions? thank you !
@JiujiuTong I don't know why those libs are not installed, but you can try to copy them manually
-
@JiujiuTong I don't know why those libs are not installed, but you can try to copy them manually
@jsulm
where can i find these libs? it seems that there are no libs created..... -
@jsulm
where can i find these libs? it seems that there are no libs created.....@JiujiuTong They actually should be built:
cd poly2tri/ && ( test -e Makefile || /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtlocation/src/3rdparty/poly2tri/poly2tri.pro -qtconf /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile
-
@JiujiuTong They actually should be built:
cd poly2tri/ && ( test -e Makefile || /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtlocation/src/3rdparty/poly2tri/poly2tri.pro -qtconf /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile
@jsulm
OK, I will double confirm it.
after copy them manually, i would reinstalll again. thanks a lot! -
@JiujiuTong They actually should be built:
cd poly2tri/ && ( test -e Makefile || /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtlocation/src/3rdparty/poly2tri/poly2tri.pro -qtconf /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile
This post is deleted! -
@JiujiuTong They actually should be built:
cd poly2tri/ && ( test -e Makefile || /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qmake /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtlocation/src/3rdparty/poly2tri/poly2tri.pro -qtconf /home/pi/opt/qt-everywhere-opensource-src-5.7.1/qtbase/bin/qt.conf -o Makefile
@jsulm
i checked the files , there are three files:
libclip2tri.prl
libclipper.prl
libpoly2tri.prlbut no lib files. it's strange...
do you have any other suggestions ? thankyou!