Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Problems about Native build Qt5.7 on raspberry pi3
Forum Updated to NodeBB v4.3 + New Features

Problems about Native build Qt5.7 on raspberry pi3

Scheduled Pinned Locked Moved Mobile and Embedded
56 Posts 3 Posters 24.7k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? This user is from outside of this forum
    ? This user is from outside of this forum
    Guest
    wrote on 6 Feb 2017, 07:25 last edited by
    #3

    continue:
    /usr/bin/g++ -o libtest.so -shared -Wl,-Bsymbolic-functions -fPIC bsymbolic_functions.c
    bsymbolic_functions.c:2:2: error: #error "Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129)."
    #error "Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129)."
    ^
    Symbolic function binding disabled.
    checking for C++14...
    /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -std=gnu++1y -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o c++14.o c++14.cpp
    /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o c++14 c++14.o
    C++14 enabled.
    checking for C++1z...

    /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -std=gnu++1z -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o c++1z.o c++1z.cpp
    g++: error: unrecognized command line option ‘-std=gnu++1z’
    Makefile:198: recipe for target 'c++1z.o' failed
    make: *** [c++1z.o] Error 1
    C++1z disabled.
    checking for default C++ standard edition...
    /usr/bin/g++ -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o c++default.ii -E c++default.cpp
    default C++ standard edition enabled.
    checking for 64-bit std::atomic...
    /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -std=gnu++11 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o atomic64.o atomic64.cpp
    /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o atomic64 atomic64.o
    64-bit std::atomic enabled.
    checking for std::atomic for function pointers...
    /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -std=gnu++11 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o atomicfptr.o atomicfptr.cpp
    /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o atomicfptr atomicfptr.o
    std::atomic for function pointers enabled.
    checking for sse2...

    1 Reply Last reply
    0
    • ? This user is from outside of this forum
      ? This user is from outside of this forum
      Guest
      wrote on 6 Feb 2017, 07:26 last edited by
      #4

      /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -msse2 -g -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o sse2.o sse2.cpp
      g++: error: unrecognized command line option ‘-msse2’
      Makefile:198: recipe for target 'sse2.o' failed
      make: *** [sse2.o] Error 1
      sse2 disabled.
      checking for ipc_sysv...
      /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o ipc.o ipc.cpp
      /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o ipc_sysv ipc.o
      ipc_sysv enabled.
      checking for zlib...
      /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o zlib.o zlib.cpp
      zlib.cpp: In function ‘int main(int, char**)’:
      zlib.cpp:44:15: warning: variable ‘stream’ set but not used [-Wunused-but-set-variable]
      z_streamp stream;
      ^
      zlib.cpp:46:17: warning: variable ‘ver’ set but not used [-Wunused-but-set-variable]
      const char ver = zlibVersion();
      ^
      zlib.cpp:49:9: warning: variable ‘res’ set but not used [-Wunused-but-set-variable]
      int res = compress2(0, 0, 0, 0, 1);
      ^
      /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o zlib zlib.o -lz
      zlib enabled.
      checking for mtdev...
      /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o mtdev.o mtdev.cpp
      /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o mtdev mtdev.o -lmtdev
      mtdev enabled.
      checking for libjpeg...
      /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o libjpeg.o libjpeg.cpp
      /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o libjpeg libjpeg.o -ljpeg
      libjpeg enabled.
      checking for libpng...
      /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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 -isystem /usr/include/libpng12 -I../../../mkspecs/devices/linux-rpi3-g++ -o libpng.o libpng.cpp
      libpng.cpp: In function ‘int main(int, char
      *)’:
      libpng.cpp:48:17: warning: variable ‘png_ptr’ set but not used [-Wunused-but-set-variable]
      png_structp png_ptr;
      ^
      /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o libpng libpng.o -lpng12
      libpng enabled.
      checking for dlopen...
      /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o dlopen.o dlopen.cpp
      /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o dlopen dlopen.o
      dlopen.o: In function main': dlopen.cpp:(.text.startup+0xc): undefined reference to dlopen'
      collect2: error: ld returned 1 exit status
      Makefile:92: recipe for target 'dlopen' failed
      make: *** [dlopen] Error 1
      dlopen disabled.
      checking for libdl...
      /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o dlopen.o ../dlopen/dlopen.cpp
      /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o libdl dlopen.o -ldl
      libdl enabled.
      checking for DB2...
      /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o db2.o db2.cpp
      db2.cpp:40:20: fatal error: sqlcli.h: No such file or directory
      #include <sqlcli.h>
      ^
      compilation terminated.
      Makefile:198: recipe for target 'db2.o' failed
      make: *** [db2.o] Error 1
      DB2 disabled.
      checking for InterBase...
      /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o ibase.o ibase.cpp
      /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o ibase ibase.o -lgds
      /usr/bin/ld: cannot find -lgds
      collect2: error: ld returned 1 exit status
      Makefile:92: recipe for target 'ibase' failed
      make: *** [ibase] Error 1
      InterBase disabled.
      checking for MySQL (thread-safe)...
      /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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 -isystem /usr/include/mysql -I../../../mkspecs/devices/linux-rpi3-g++ -o mysql.o ../mysql/mysql.cpp
      /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o mysql_r mysql.o -lpthread -lz -lm -ldl -lmysqlclient_r
      MySQL (thread-safe) enabled.
      checking for OCI...
      /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o oci.o oci.cpp
      oci.cpp:40:17: fatal error: oci.h: No such file or directory
      #include <oci.h>
      ^
      compilation terminated.
      Makefile:198: recipe for target 'oci.o' failed
      make: *** [oci.o] Error 1
      OCI disabled.
      checking for ODBC...
      /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o odbc.o odbc.cpp
      odbc.cpp:43:17: fatal error: sql.h: No such file or directory
      #include <sql.h>
      ^
      compilation terminated.
      Makefile:198: recipe for target 'odbc.o' failed
      make: *** [odbc.o] Error 1
      ODBC disabled.
      checking for iODBC...
      /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o iodbc.o iodbc.cpp
      iodbc.cpp:40:17: fatal error: sql.h: No such file or directory
      #include <sql.h>
      ^
      compilation terminated.
      Makefile:198: recipe for target 'iodbc.o' failed
      make: *** [iodbc.o] Error 1
      iODBC disabled.

      1 Reply Last reply
      0
      • ? This user is from outside of this forum
        ? This user is from outside of this forum
        Guest
        wrote on 6 Feb 2017, 07:27 last edited by
        #5

        checking for PostgreSQL...
        /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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 -isystem /usr/include/postgresql -I../../../mkspecs/devices/linux-rpi3-g++ -o psql.o psql.cpp
        /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o psql psql.o -lpq
        PostgreSQL enabled.
        checking for SQLite2...
        /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o sqlite2.o sqlite2.cpp
        /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o sqlite2 sqlite2.o -lsqlite
        SQLite2 enabled.
        checking for TDS...
        /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o tds.o tds.cpp
        /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o tds tds.o -lsybdb
        TDS enabled.
        checking for Cups...
        /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o cups.o cups.cpp
        /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o cups cups.o -lcups
        Cups enabled.
        checking for POSIX iconv...
        /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o iconv.o iconv.cpp
        /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o iconv iconv.o
        POSIX iconv enabled.
        checking for D-Bus...
        /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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 -isystem /usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I../../../mkspecs/devices/linux-rpi3-g++ -o dbus.o dbus.cpp
        /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o dbus dbus.o -ldbus-1
        D-Bus enabled.
        checking for libproxy...
        /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o libproxy.o libproxy.cpp
        /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o libproxy libproxy.o -lproxy
        libproxy enabled.
        checking for Glib...
        /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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 -isystem /usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I../../../mkspecs/devices/linux-rpi3-g++ -o glib.o glib.cpp
        glib.cpp: In function ‘int main(int, char**)’:
        glib.cpp:50:9: warning: ‘void g_thread_init(gpointer)’ is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:265) [-Wdeprecated-declarations]
        g_thread_init(NULL);
        ^
        glib.cpp:50:27: warning: ‘void g_thread_init(gpointer)’ is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:265) [-Wdeprecated-declarations]
        g_thread_init(NULL);
        ^
        /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o glib glib.o -lgthread-2.0 -pthread -lglib-2.0
        Glib enabled.
        checking for ICU...
        /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o icu.o icu.cpp
        /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o icu icu.o -licui18n -licuuc -licudata
        ICU enabled.
        checking for PulseAudio...
        /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -D_REENTRANT -O2 -Wall -W -fPIC -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 -isystem /usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I../../../mkspecs/devices/linux-rpi3-g++ -o pulseaudio.o pulseaudio.cpp
        /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o pulseaudio pulseaudio.o -lpulse-mainloop-glib -lpulse -lglib-2.0
        PulseAudio enabled.
        checking for OpenGL ES 2.0...
        /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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=/opt/vc/include -I=/opt/vc/include/interface/vcos/pthreads -I=/opt/vc/include/interface/vmcs_host/linux -I../../../mkspecs/devices/linux-rpi3-g++ -o opengles2.o opengles2.cpp
        /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o opengles2 opengles2.o -L=/opt/vc/lib -Wl,-rpath-link,/opt/vc/lib -lGLESv2
        OpenGL ES 2.0 enabled.
        checking for OpenGL ES 3.0...
        /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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=/opt/vc/include -I=/opt/vc/include/interface/vcos/pthreads -I=/opt/vc/include/interface/vmcs_host/linux -I../../../mkspecs/devices/linux-rpi3-g++ -o opengles3.o opengles3.cpp
        /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o opengles3 opengles3.o -L=/opt/vc/lib -Wl,-rpath-link,/opt/vc/lib -lGLESv2
        opengles3.o: In function main': opengles3.cpp:(.text.startup+0xc): undefined reference to glGetStringi'
        opengles3.cpp:(.text.startup+0x14): undefined reference to glReadBuffer' opengles3.cpp:(.text.startup+0x2c): undefined reference to glUniformMatrix2x3fv'
        opengles3.cpp:(.text.startup+0x40): undefined reference to glMapBufferRange' collect2: error: ld returned 1 exit status Makefile:92: recipe for target 'opengles3' failed make: *** [opengles3] Error 1 OpenGL ES 3.0 disabled. checking for OpenGL ES 3.1... /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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=/opt/vc/include -I=/opt/vc/include/interface/vcos/pthreads -I=/opt/vc/include/interface/vmcs_host/linux -I../../../mkspecs/devices/linux-rpi3-g++ -o opengles31.o opengles31.cpp /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o opengles31 opengles31.o -L=/opt/vc/lib -Wl,-rpath-link,/opt/vc/lib -lGLESv2 opengles31.o: In function main':
        opengles31.cpp:(.text.startup+0x10): undefined reference to glDispatchCompute' opengles31.cpp:(.text.startup+0x20): undefined reference to glProgramUniform1i'
        collect2: error: ld returned 1 exit status
        Makefile:92: recipe for target 'opengles31' failed
        make: *** [opengles31] Error 1
        OpenGL ES 3.1 disabled.

        1 Reply Last reply
        0
        • ? This user is from outside of this forum
          ? This user is from outside of this forum
          Guest
          wrote on 6 Feb 2017, 07:27 last edited by
          #6

          checking for FontConfig...
          /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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 -isystem /usr/include/freetype2 -I../../../mkspecs/devices/linux-rpi3-g++ -o fontconfig.o fontconfig.cpp
          fontconfig.cpp: In function ‘int main(int, char**)’:
          fontconfig.cpp:54:13: warning: variable ‘face’ set but not used [-Wunused-but-set-variable]
          FT_Face face;
          ^
          fontconfig.cpp:56:16: warning: variable ‘pattern’ set but not used [-Wunused-but-set-variable]
          FcPattern pattern;
          ^
          /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o fontconfig fontconfig.o -lfreetype -lfontconfig
          FontConfig enabled.
          checking for libudev...
          /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o libudev.o libudev.cpp
          /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o libudev libudev.o -ludev
          libudev enabled.
          checking for evdev...
          /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o evdev.o evdev.cpp
          /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o evdev evdev.o
          evdev enabled.
          checking for tslib...
          /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o tslib.o tslib.cpp
          /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o tslib tslib.o -lts
          tslib enabled.
          checking for xkbcommon...
          /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o xkbcommon.o xkbcommon.cpp
          /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o xkbcommon xkbcommon.o -lxkbcommon
          xkbcommon enabled.
          checking for libinput...
          /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o libinput.o libinput.cpp
          /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o libinput libinput.o -linput
          libinput enabled.
          checking for XLib...
          /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o xlib.o xlib.cpp
          /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o xlib xlib.o -lXext -lX11 -lm
          XLib enabled.
          checking for Xrender...
          /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o xrender.o xrender.cpp
          xrender.cpp: In function ‘int main(int, char
          *)’:
          xrender.cpp:48:24: warning: variable ‘format’ set but not used [-Wunused-but-set-variable]
          XRenderPictFormat format;
          ^
          /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o xrender xrender.o -lXrender -lXext -lX11 -lm
          Xrender enabled.
          checking for XInput2...
          /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o xinput2.o xinput2.cpp
          xinput2.cpp: In function ‘int main(int, char
          *)’:
          xinput2.cpp:57:14: warning: variable ‘xievent’ set but not used [-Wunused-but-set-variable]
          XIEvent xievent;
          ^
          xinput2.cpp:60:20: warning: variable ‘xideviceevent’ set but not used [-Wunused-but-set-variable]
          XIDeviceEvent xideviceevent;
          ^
          xinput2.cpp:63:23: warning: variable ‘xihierarchyevent’ set but not used [-Wunused-but-set-variable]
          XIHierarchyEvent xihierarchyevent;
          ^
          /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o xinput2 xinput2.o -lXi -lXext -lX11 -lm
          XInput2 enabled.
          checking for xcb...
          /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o xcb.o xcb.cpp
          xcb.cpp: In function ‘int main(int, char
          )’:
          xcb.cpp:45:23: warning: unused variable ‘t’ [-Wunused-variable]
          xcb_connection_t t = xcb_connect("", &primaryScreen);
          ^
          /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o xcb xcb.o -lxcb
          xcb enabled.
          checking for xcb-xkb...
          /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o xcb-xkb.o xcb-xkb.cpp
          xcb-xkb.cpp: In function ‘int main(int, char
          )’:
          xcb-xkb.cpp:52:23: warning: unused variable ‘connection’ [-Wunused-variable]
          xcb_connection_t connection = xcb_connect("", &primaryScreen);
          ^
          xcb-xkb.cpp:55:9: warning: unused variable ‘xcbAtomPrimary’ [-Wunused-variable]
          int xcbAtomPrimary = XCB_ATOM_PRIMARY;
          ^
          /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o xcb-xkb xcb-xkb.o -lxcb -lxcb-xkb
          xcb-xkb enabled.
          checking for xcb-syslibs...
          /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o xcb.o xcb.cpp
          xcb.cpp: In function ‘int main(int, char
          *)’:
          xcb.cpp:58:23: warning: unused variable ‘connection’ [-Wunused-variable]
          xcb_connection_t *connection = xcb_connect("", &primaryScreen);
          ^
          xcb.cpp:61:9: warning: unused variable ‘xcbAtomPrimary’ [-Wunused-variable]
          int xcbAtomPrimary = XCB_ATOM_PRIMARY;
          ^
          /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o xcb-syslibs xcb.o -lxcb-render -lxcb-shm -lxcb-shape -lxcb -lxcb-image -lxcb-keysyms -lxcb-icccm -lxcb-sync -lxcb-xfixes -lxcb-randr
          xcb-syslibs enabled.

          1 Reply Last reply
          0
          • ? This user is from outside of this forum
            ? This user is from outside of this forum
            Guest
            wrote on 6 Feb 2017, 07:28 last edited by
            #7

            checking for xcb-render...
            /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o xcb-render.o xcb-render.cpp
            /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o xcb-render xcb-render.o -lxcb-sync -lxcb-xfixes -lxcb-randr -lxcb-image -lxcb-shm -lxcb-keysyms -lxcb-icccm -lxcb-shape -lxcb -lxcb-render -lxcb-render-util
            xcb-render enabled.
            checking for xcb-glx...
            /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o xcb-glx.o xcb-glx.cpp
            /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o xcb-glx xcb-glx.o -lxcb-sync -lxcb-xfixes -lxcb-render -lxcb-randr -lxcb-image -lxcb-shm -lxcb-keysyms -lxcb-icccm -lxcb-shape -lxcb -lxcb-glx
            xcb-glx enabled.
            checking for xcb-xlib...
            /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o xcb-xlib.o xcb-xlib.cpp
            xcb-xlib.cpp: In function ‘int main(int, char**)’:
            xcb-xlib.cpp:47:23: warning: unused variable ‘connection’ [-Wunused-variable]
            xcb_connection_t connection = XGetXCBConnection(dpy);
            ^
            /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o xcb-xlib xcb-xlib.o -lxcb-sync -lxcb-xfixes -lxcb-render -lxcb-randr -lxcb-image -lxcb-shm -lxcb-keysyms -lxcb-icccm -lxcb-shape -lxcb -lX11 -lX11-xcb
            xcb-xlib enabled.
            checking for GBM...
            /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o gbm.o gbm.cpp
            gbm.cpp: In function ‘int main(int, char
            *)’:
            gbm.cpp:48:18: warning: unused variable ‘surface’ [-Wunused-variable]
            gbm_surface surface = 0;
            ^
            /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o gbm gbm.o -lgbm
            GBM enabled.
            checking for LinuxFB...
            /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o linuxfb.o linuxfb.cpp
            /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o linuxfb linuxfb.o
            LinuxFB enabled.
            checking for KMS...
            /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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 -isystem /usr/include/libdrm -I../../../mkspecs/devices/linux-rpi3-g++ -o kms.o kms.cpp
            kms.cpp: In function ‘int main(int, char
            *)’:
            kms.cpp:49:20: warning: unused variable ‘currentMode’ [-Wunused-variable]
            drmModeCrtcPtr currentMode = drmModeGetCrtc(0, 0);
            ^
            /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o kms kms.o -ldrm
            KMS enabled.
            checking for Mir client...
            Project ERROR: mirclient development package not found
            Mir client disabled.
            checking for EGL...
            /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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 -isystem /usr/include/libdrm -I=/opt/vc/include -I=/opt/vc/include/interface/vcos/pthreads -I=/opt/vc/include/interface/vmcs_host/linux -I../../../mkspecs/devices/linux-rpi3-g++ -o egl.o egl.cpp
            egl.cpp: In function ‘int main(int, char**)’:
            egl.cpp:44:12: warning: unused variable ‘x’ [-Wunused-variable]
            EGLint x = 0;
            ^
            /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o egl egl.o -L=/opt/vc/lib -Wl,-rpath-link,/opt/vc/lib -lEGL -lGLESv2
            EGL enabled.
            checking for EGL-X11...
            /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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 -isystem /usr/include/libdrm -I=/opt/vc/include -I=/opt/vc/include/interface/vcos/pthreads -I=/opt/vc/include/interface/vmcs_host/linux -I../../../mkspecs/devices/linux-rpi3-g++ -o egl-x11.o egl-x11.cpp
            In file included from egl-x11.cpp:40:0:
            egl-x11.cpp: In function ‘int main(int, char**)’:
            /opt/vc/include/EGL/egl.h:68:54: error: invalid conversion from ‘EGLNativeDisplayType {aka void*}’ to ‘Display* {aka _XDisplay*}’ [-fpermissive]
            #define EGL_DEFAULT_DISPLAY ((EGLNativeDisplayType)0)
            ^
            egl-x11.cpp:53:20: note: in expansion of macro ‘EGL_DEFAULT_DISPLAY’
            Display dpy = EGL_DEFAULT_DISPLAY;
            ^
            egl-x11.cpp:55:9: error: invalid conversion from ‘EGLNativeDisplayType {aka void
            }’ to ‘Display* {aka _XDisplay*}’ [-fpermissive]
            dpy = egldpy;
            ^
            egl-x11.cpp:56:79: error: invalid conversion from ‘Window {aka long unsigned int}’ to ‘EGLNativeWindowType {aka void*}’ [-fpermissive]
            EGLNativeWindowType w = XCreateWindow(dpy, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
            ^
            egl-x11.cpp:57:26: error: invalid conversion from ‘EGLNativeWindowType {aka void*}’ to ‘Window {aka long unsigned int}’ [-fpermissive]
            XDestroyWindow(dpy, w);
            ^
            In file included from egl-x11.cpp:42:0:
            /usr/include/X11/Xlib.h:2255:12: note: initializing argument 2 of ‘int XDestroyWindow(Display*, Window)’
            extern int XDestroyWindow(
            ^
            Makefile:255: recipe for target 'egl-x11.o' failed
            make: *** [egl-x11.o] Error 1
            EGL-X11 disabled.
            checking for eglfs-brcm...
            /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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=/opt/vc/include -I=/opt/vc/include/interface/vcos/pthreads -I=/opt/vc/include/interface/vmcs_host/linux -I../../../mkspecs/devices/linux-rpi3-g++ -o eglfs-brcm.o eglfs-brcm.cpp
            /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o eglfs-brcm eglfs-brcm.o -L=/opt/vc/lib -lEGL -lGLESv2 -lbcm_host
            eglfs-brcm enabled.
            checking for eglfs-egldevice...
            /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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=/opt/vc/include -I=/opt/vc/include/interface/vcos/pthreads -I=/opt/vc/include/interface/vmcs_host/linux -isystem /usr/include/libdrm -I../../../mkspecs/devices/linux-rpi3-g++ -o eglfs-egldevice.o eglfs-egldevice.cpp
            eglfs-egldevice.cpp: In function ‘int main(int, char**)’:
            eglfs-egldevice.cpp:54:5: error: ‘EGLDeviceEXT’ was not declared in this scope
            EGLDeviceEXT device = 0;
            ^
            eglfs-egldevice.cpp:55:5: error: ‘EGLStreamKHR’ was not declared in this scope
            EGLStreamKHR stream = 0;
            ^
            eglfs-egldevice.cpp:56:5: error: ‘EGLOutputLayerEXT’ was not declared in this scope
            EGLOutputLayerEXT layer = 0;
            ^
            eglfs-egldevice.cpp:58:12: error: ‘EGL_DRM_CRTC_EXT’ was not declared in this scope
            return EGL_DRM_CRTC_EXT;
            ^
            eglfs-egldevice.cpp:57:20: warning: unused variable ‘currentMode’ [-Wunused-variable]
            drmModeCrtcPtr currentMode = drmModeGetCrtc(0, 0);
            ^
            Makefile:262: recipe for target 'eglfs-egldevice.o' failed
            make: *** [eglfs-egldevice.o] Error 1
            eglfs-egldevice disabled.
            checking for eglfs-mali...
            /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o eglfs-mali.o eglfs-mali.cpp
            eglfs-mali.cpp:40:30: fatal error: EGL/fbdev_window.h: No such file or directory
            #include <EGL/fbdev_window.h>
            ^
            compilation terminated.
            Makefile:257: recipe for target 'eglfs-mali.o' failed
            make: *** [eglfs-mali.o] Error 1
            eglfs-mali disabled.
            checking for eglfs-mali-2...
            /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o eglfs-mali-2.o eglfs-mali-2.cpp
            eglfs-mali-2.cpp: In function ‘int main(int, char**)’:
            eglfs-mali-2.cpp:47:5: error: ‘mali_native_window’ was not declared in this scope
            mali_native_window *w = 0;
            ^
            eglfs-mali-2.cpp:47:25: error: ‘w’ was not declared in this scope
            mali_native_window *w = 0;
            ^
            Makefile:257: recipe for target 'eglfs-mali-2.o' failed
            make: *** [eglfs-mali-2.o] Error 1
            eglfs-mali-2 disabled.
            checking for eglfs-viv...
            /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -DLINUX=1 -DEGL_API_FB=1 -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=/opt/vc/include -I=/opt/vc/include/interface/vcos/pthreads -I=/opt/vc/include/interface/vmcs_host/linux -I../../../mkspecs/devices/linux-rpi3-g++ -o eglfs-viv.o eglfs-viv.cpp
            eglfs-viv.cpp:41:28: fatal error: EGL/eglvivante.h: No such file or directory
            #include <EGL/eglvivante.h>
            ^
            compilation terminated.

            1 Reply Last reply
            0
            • ? This user is from outside of this forum
              ? This user is from outside of this forum
              Guest
              wrote on 6 Feb 2017, 07:28 last edited by
              #8

              Makefile:257: recipe for target 'eglfs-viv.o' failed
              make: *** [eglfs-viv.o] Error 1
              eglfs-viv disabled.
              checking for DoubleConversion...
              /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o doubleconversion.o doubleconversion.cpp
              doubleconversion.cpp:40:49: fatal error: double-conversion/double-conversion.h: No such file or directory
              #include <double-conversion/double-conversion.h>
              ^
              compilation terminated.
              Makefile:198: recipe for target 'doubleconversion.o' failed
              make: *** [doubleconversion.o] Error 1
              DoubleConversion disabled.
              checking for HarfBuzz...
              /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o harfbuzz.o harfbuzz.cpp
              harfbuzz.cpp:43:4: error: #error "This version of harfbuzz is too old."

              error "This version of harfbuzz is too old."

              ^
              

              Makefile:198: recipe for target 'harfbuzz.o' failed
              make: *** [harfbuzz.o] Error 1
              HarfBuzz disabled.
              checking for STL...
              /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o stltest.o stltest.cpp
              stltest.cpp: In function ‘int main()’:
              stltest.cpp:134:13: warning: variable ‘first’ set but not used [-Wunused-but-set-variable]
              int first = (*m1it).first;
              ^
              stltest.cpp:136:16: warning: variable ‘second’ set but not used [-Wunused-but-set-variable]
              double second = (*m1it).second;
              ^
              stltest.cpp:107:9: warning: variable ‘v1size’ set but not used [-Wunused-but-set-variable]
              int v1size = v1.size();
              ^
              stltest.cpp:109:9: warning: variable ‘v1capacity’ set but not used [-Wunused-but-set-variable]
              int v1capacity = v1.capacity();
              ^
              stltest.cpp:113:10: warning: variable ‘v1notfound’ set but not used [-Wunused-but-set-variable]
              bool v1notfound = (v1it == v1.end());
              ^
              stltest.cpp:117:10: warning: variable ‘v1found’ set but not used [-Wunused-but-set-variable]
              bool v1found = (v1it != v1.end());
              ^
              stltest.cpp:122:9: warning: variable ‘v2size’ set but not used [-Wunused-but-set-variable]
              int v2size = v2.size();
              ^
              stltest.cpp:130:9: warning: variable ‘m1size’ set but not used [-Wunused-but-set-variable]
              int m1size = m1.size();
              ^
              stltest.cpp:140:9: warning: variable ‘m2size’ set but not used [-Wunused-but-set-variable]
              int m2size = m2.size();
              ^
              stltest.cpp:144:9: warning: unused variable ‘n’ [-Wunused-variable]
              int n = std::distance(it1, it2);
              ^
              /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o stl stltest.o
              STL enabled.
              checking for POSIX clock_gettime()...
              /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o clock-gettime.o clock-gettime.cpp
              /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o clock-gettime clock-gettime.o -lrt
              POSIX clock_gettime() enabled.
              checking for POSIX Monotonic Clock...
              /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o clock-monotonic.o clock-monotonic.cpp
              /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o clock-monotonic clock-monotonic.o -lrt
              POSIX Monotonic Clock enabled.
              checking for posix_fallocate...
              /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o posix_fallocate.o posix_fallocate.cpp
              /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o posix_fallocate posix_fallocate.o
              posix_fallocate enabled.
              checking for mremap...
              /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o mremap.o mremap.cpp
              /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o mremap mremap.o
              mremap enabled.
              checking for getaddrinfo...
              /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o getaddrinfotest.o getaddrinfotest.cpp
              /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o getaddrinfo getaddrinfotest.o
              getaddrinfo enabled.
              checking for inotify...
              /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o inotifytest.o inotifytest.cpp
              /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o inotify inotifytest.o
              inotify enabled.
              checking for eventfd...
              /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o main.o main.cpp
              /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o eventfd main.o
              eventfd enabled.
              checking for IPv6 interface name...
              /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o ipv6ifname.o ipv6ifname.cpp
              /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o ipv6ifname ipv6ifname.o
              IPv6 interface name enabled.
              checking for getifaddrs...
              /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o getifaddrs.o getifaddrs.cpp
              /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o getifaddrs getifaddrs.o
              getifaddrs enabled.
              checking for cloexec...
              /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o cloexec.o cloexec.cpp
              /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o cloexec cloexec.o
              cloexec enabled.
              checking for ppoll...
              /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o ppoll.o ppoll.cpp
              ppoll.cpp:55:5: warning: identifier ‘nullptr’ is a keyword in C++11 [-Wc++0x-compat]
              return ::ppoll(&pfd, 1, &ts, nullptr);
              ^
              ppoll.cpp: In function ‘int main()’:
              ppoll.cpp:55:34: error: ‘nullptr’ was not declared in this scope
              return ::ppoll(&pfd, 1, &ts, nullptr);
              ^
              Makefile:198: recipe for target 'ppoll.o' failed
              make: *** [ppoll.o] Error 1
              ppoll disabled.

              1 Reply Last reply
              0
              • ? This user is from outside of this forum
                ? This user is from outside of this forum
                Guest
                wrote on 6 Feb 2017, 07:29 last edited by
                #9

                checking for pollts...
                /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o pollts.o pollts.cpp
                pollts.cpp:56:5: warning: identifier ‘nullptr’ is a keyword in C++11 [-Wc++0x-compat]
                return ::pollts(&pfd, 1, &ts, nullptr);
                ^
                pollts.cpp: In function ‘int main()’:
                pollts.cpp:56:12: error: ‘::pollts’ has not been declared
                return ::pollts(&pfd, 1, &ts, nullptr);
                ^
                pollts.cpp:56:35: error: ‘nullptr’ was not declared in this scope
                return ::pollts(&pfd, 1, &ts, nullptr);
                ^
                Makefile:198: recipe for target 'pollts.o' failed
                make: *** [pollts.o] Error 1
                pollts disabled.
                checking for poll...
                /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o poll.o poll.cpp
                /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o poll poll.o
                poll enabled.
                checking for OpenSSL...
                /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o openssl.o openssl.cpp
                /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o openssl openssl.o
                OpenSSL enabled.
                checking for OpenVG...
                /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o openvg.o openvg.cpp
                openvg.cpp: In function ‘int main(int, char**)’:
                openvg.cpp:51:11: warning: variable ‘i’ set but not used [-Wunused-but-set-variable]
                VGint i;
                ^
                /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o openvg openvg.o -L=/opt/vc/lib -lOpenVG
                /opt/vc/lib/libEGL.so: undefined reference to glxx_client_GetRenderbufferParameteriv' /opt/vc/lib/libEGL.so: undefined reference to gl20_client_state_init'
                /opt/vc/lib/libEGL.so: undefined reference to gl11_client_state_init' /opt/vc/lib/libEGL.so: undefined reference to glintAttribPointer'
                /opt/vc/lib/libEGL.so: undefined reference to glxx_client_GenFramebuffers' /opt/vc/lib/libEGL.so: undefined reference to glxx_buffer_info_get'
                /opt/vc/lib/libEGL.so: undefined reference to glDiscardFramebufferEXT' /opt/vc/lib/libEGL.so: undefined reference to glxx_client_FramebufferTexture2D'
                /opt/vc/lib/libEGL.so: undefined reference to glxx_client_IsRenderbuffer' /opt/vc/lib/libEGL.so: undefined reference to glxx_set_error'
                /opt/vc/lib/libEGL.so: undefined reference to glxx_client_BindFramebuffer' /opt/vc/lib/libEGL.so: undefined reference to glxx_client_GenRenderbuffers'
                /opt/vc/lib/libEGL.so: undefined reference to glxx_set_error_api' /opt/vc/lib/libEGL.so: undefined reference to glxx_client_BindRenderbuffer'
                /opt/vc/lib/libEGL.so: undefined reference to glBufferSubData' /opt/vc/lib/libEGL.so: undefined reference to glxx_client_GetFramebufferAttachmentParameteriv'
                /opt/vc/lib/libEGL.so: undefined reference to glxx_client_CheckFramebufferStatus' /opt/vc/lib/libEGL.so: undefined reference to glxx_client_FramebufferRenderbuffer'
                /opt/vc/lib/libEGL.so: undefined reference to glxx_client_RenderbufferStorage' /opt/vc/lib/libEGL.so: undefined reference to glxx_client_DeleteRenderbuffers'
                /opt/vc/lib/libEGL.so: undefined reference to glxx_client_GenerateMipmap' /opt/vc/lib/libEGL.so: undefined reference to glxx_buffer_info_set'
                /opt/vc/lib/libEGL.so: undefined reference to glPointSizePointerOES' /opt/vc/lib/libEGL.so: undefined reference to glxx_client_DeleteFramebuffers'
                /opt/vc/lib/libEGL.so: undefined reference to glxx_client_IsFramebuffer' /opt/vc/lib/libEGL.so: undefined reference to glxx_client_state_free'
                collect2: error: ld returned 1 exit status
                Makefile:92: recipe for target 'openvg' failed
                make: *** [openvg] Error 1
                OpenVG disabled.
                checking for OpenVG...
                /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o openvg.o openvg.cpp
                openvg.cpp: In function ‘int main(int, char**)’:
                openvg.cpp:51:11: warning: variable ‘i’ set but not used [-Wunused-but-set-variable]
                VGint i;
                ^
                /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o openvg openvg.o -L=/opt/vc/lib -lOpenVG -lGL
                /opt/vc/lib/libEGL.so: undefined reference to glDiscardFramebufferEXT' /opt/vc/lib/libEGL.so: undefined reference to glxx_set_error_api'
                /opt/vc/lib/libEGL.so: undefined reference to glxx_client_BindFramebuffer' /opt/vc/lib/libEGL.so: undefined reference to glintAttribPointer'
                /opt/vc/lib/libEGL.so: undefined reference to glxx_client_state_free' /opt/vc/lib/libEGL.so: undefined reference to glxx_client_FramebufferRenderbuffer'
                /opt/vc/lib/libEGL.so: undefined reference to glxx_buffer_info_set' /opt/vc/lib/libEGL.so: undefined reference to glxx_set_error'
                /opt/vc/lib/libEGL.so: undefined reference to glxx_client_DeleteFramebuffers' /opt/vc/lib/libEGL.so: undefined reference to gl11_client_state_init'
                /opt/vc/lib/libEGL.so: undefined reference to glxx_client_GetFramebufferAttachmentParameteriv' /opt/vc/lib/libEGL.so: undefined reference to glxx_client_IsRenderbuffer'
                /opt/vc/lib/libEGL.so: undefined reference to glxx_client_GetRenderbufferParameteriv' /opt/vc/lib/libEGL.so: undefined reference to glxx_client_DeleteRenderbuffers'
                /opt/vc/lib/libEGL.so: undefined reference to glxx_client_FramebufferTexture2D' /opt/vc/lib/libEGL.so: undefined reference to glxx_client_BindRenderbuffer'
                /opt/vc/lib/libEGL.so: undefined reference to glxx_client_GenerateMipmap' /opt/vc/lib/libEGL.so: undefined reference to glxx_client_RenderbufferStorage'
                /opt/vc/lib/libEGL.so: undefined reference to glxx_client_GenFramebuffers' /opt/vc/lib/libEGL.so: undefined reference to glxx_client_GenRenderbuffers'
                /opt/vc/lib/libEGL.so: undefined reference to glxx_client_CheckFramebufferStatus' /opt/vc/lib/libEGL.so: undefined reference to gl20_client_state_init'
                /opt/vc/lib/libEGL.so: undefined reference to glxx_buffer_info_get' /opt/vc/lib/libEGL.so: undefined reference to glxx_client_IsFramebuffer'
                collect2: error: ld returned 1 exit status
                Makefile:92: recipe for target 'openvg' failed
                make: *** [openvg] Error 1
                OpenVG disabled.
                checking for OpenVG (lc includes)...
                /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -DQT_LOWER_CASE_VG_INCLUDES -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../../../mkspecs/devices/linux-rpi3-g++ -o openvg.o openvg.cpp
                openvg.cpp:44:23: fatal error: vg/openvg.h: No such file or directory
                #include <vg/openvg.h>
                ^
                compilation terminated.
                Makefile:203: recipe for target 'openvg.o' failed
                make: *** [openvg.o] Error 1
                OpenVG (lc includes) disabled.
                checking for OpenVG (lc includes)...
                /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -DQT_LOWER_CASE_VG_INCLUDES -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../../../mkspecs/devices/linux-rpi3-g++ -o openvg.o openvg.cpp
                openvg.cpp:44:23: fatal error: vg/openvg.h: No such file or directory
                #include <vg/openvg.h>
                ^
                compilation terminated.
                Makefile:203: recipe for target 'openvg.o' failed
                make: *** [openvg.o] Error 1
                OpenVG (lc includes) disabled.
                checking for alsa...
                /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -Wall -W -fPIC -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../../../mkspecs/devices/linux-rpi3-g++ -o alsatest.o alsatest.cpp
                alsatest.cpp:45:14: warning: unused parameter ‘argc’ [-Wunused-parameter]
                int main(int argc,char **argv)
                ^
                alsatest.cpp:45:26: warning: unused parameter ‘argv’ [-Wunused-parameter]
                int main(int argc,char **argv)
                ^
                /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o alsa alsatest.o -lasound
                alsa enabled.
                checking for GStreamer 1.0...
                Project ERROR: gstreamer-1.0 development package not found
                GStreamer 1.0 disabled.
                checking for GStreamer 0.10...
                /usr/bin/g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard -O2 -pthread -pthread -pthread -pthread -pthread -Wall -W -fPIC -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 -isystem /usr/include/gstreamer-0.10 -isystem /usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -isystem /usr/include/libxml2 -I../../../mkspecs/devices/linux-rpi3-g++ -o gstreamer.o gstreamer.cpp
                /usr/bin/g++ -Wl,-rpath-link,/opt/vc/lib -Wl,-rpath-link,/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/lib/arm-linux-gnueabihf -mfloat-abi=hard -Wl,-O1 -o gstreamer gstreamer.o -lgstaudio-0.10 -lgstinterfaces-0.10 -lgstvideo-0.10 -lgstbase-0.10 -lgstpbutils-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lxml2
                GStreamer 0.10 enabled.
                Done running configuration tests.

                Configure summary

                1 Reply Last reply
                0
                • ? This user is from outside of this forum
                  ? This user is from outside of this forum
                  Guest
                  wrote on 6 Feb 2017, 07:29 last edited by
                  #10

                  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 ................. yes

                  Qt 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 ..... no

                  Support 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.super

                  Qt is now configured for building. Just run 'make'.
                  Once everything is built, you must run 'make install'.
                  Qt will be installed into /usr/local/qt5

                  Prior to reconfiguration, make sure you remove any leftovers from
                  the previous build.

                  1 Reply Last reply
                  0
                  • ? This user is from outside of this forum
                    ? This user is from outside of this forum
                    Guest
                    wrote on 6 Feb 2017, 07:30 last edited by
                    #11

                    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

                    J 1 Reply Last reply 6 Feb 2017, 08:04
                    0
                    • ? Guest
                      6 Feb 2017, 07:30

                      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

                      J Online
                      J Online
                      jsulm
                      Lifetime Qt Champion
                      wrote on 6 Feb 2017, 08:04 last edited by
                      #12

                      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.

                      https://forum.qt.io/topic/113070/qt-code-of-conduct

                      J 2 Replies Last reply 6 Feb 2017, 08:13
                      0
                      • J jsulm
                        6 Feb 2017, 08:04

                        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.

                        J Offline
                        J Offline
                        JiujiuTong
                        wrote on 6 Feb 2017, 08:13 last edited by
                        #13
                        This post is deleted!
                        1 Reply Last reply
                        0
                        • J jsulm
                          6 Feb 2017, 08:04

                          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.

                          J Offline
                          J Offline
                          JiujiuTong
                          wrote on 6 Feb 2017, 08:22 last edited by
                          #14

                          @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!

                          J 1 Reply Last reply 6 Feb 2017, 08:39
                          0
                          • J JiujiuTong
                            6 Feb 2017, 08:22

                            @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!

                            J Online
                            J Online
                            jsulm
                            Lifetime Qt Champion
                            wrote on 6 Feb 2017, 08:39 last edited by
                            #15

                            @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?

                            https://forum.qt.io/topic/113070/qt-code-of-conduct

                            J 1 Reply Last reply 6 Feb 2017, 08:53
                            0
                            • J jsulm
                              6 Feb 2017, 08:39

                              @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?

                              J Offline
                              J Offline
                              JiujiuTong
                              wrote on 6 Feb 2017, 08:53 last edited by JiujiuTong 2 Jun 2017, 08:54
                              #16

                              @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 ?

                              J 1 Reply Last reply 6 Feb 2017, 08:57
                              0
                              • J JiujiuTong
                                6 Feb 2017, 08:53

                                @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 ?

                                J Online
                                J Online
                                jsulm
                                Lifetime Qt Champion
                                wrote on 6 Feb 2017, 08:57 last edited by
                                #17

                                @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.

                                https://forum.qt.io/topic/113070/qt-code-of-conduct

                                J 1 Reply Last reply 6 Feb 2017, 09:03
                                0
                                • J jsulm
                                  6 Feb 2017, 08:57

                                  @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.

                                  J Offline
                                  J Offline
                                  JiujiuTong
                                  wrote on 6 Feb 2017, 09:03 last edited by
                                  #18

                                  @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!

                                  J 1 Reply Last reply 6 Feb 2017, 09:13
                                  0
                                  • J JiujiuTong
                                    6 Feb 2017, 09:03

                                    @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!

                                    J Online
                                    J Online
                                    jsulm
                                    Lifetime Qt Champion
                                    wrote on 6 Feb 2017, 09:13 last edited by
                                    #19

                                    @JiujiuTong then disable QtWayland and try again

                                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                                    J 1 Reply Last reply 6 Feb 2017, 09:15
                                    0
                                    • J jsulm
                                      6 Feb 2017, 09:13

                                      @JiujiuTong then disable QtWayland and try again

                                      J Offline
                                      J Offline
                                      JiujiuTong
                                      wrote on 6 Feb 2017, 09:15 last edited by JiujiuTong 2 Jun 2017, 09:17
                                      #20

                                      @jsulm
                                      OK, I will have a try! hope it works
                                      thank you very much.
                                      i will tell you the result later!

                                      J 1 Reply Last reply 6 Feb 2017, 09:16
                                      0
                                      • J JiujiuTong
                                        6 Feb 2017, 09:15

                                        @jsulm
                                        OK, I will have a try! hope it works
                                        thank you very much.
                                        i will tell you the result later!

                                        J Online
                                        J Online
                                        jsulm
                                        Lifetime Qt Champion
                                        wrote on 6 Feb 2017, 09:16 last edited by
                                        #21

                                        @JiujiuTong add -skip wayland to your configure call

                                        https://forum.qt.io/topic/113070/qt-code-of-conduct

                                        J 2 Replies Last reply 6 Feb 2017, 09:20
                                        0
                                        • J jsulm
                                          6 Feb 2017, 09:16

                                          @JiujiuTong add -skip wayland to your configure call

                                          J Offline
                                          J Offline
                                          JiujiuTong
                                          wrote on 6 Feb 2017, 09:20 last edited by
                                          #22

                                          @jsulm
                                          got it !

                                          1 Reply Last reply
                                          0

                                          12/56

                                          6 Feb 2017, 08:04

                                          topic:navigator.unread, 44
                                          • Login

                                          • Login or register to search.
                                          12 out of 56
                                          • First post
                                            12/56
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved