Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt 5.7.1 build in Debian (MIPS) fails.
Forum Updated to NodeBB v4.3 + New Features

Qt 5.7.1 build in Debian (MIPS) fails.

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 2 Posters 1.6k 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.
  • A Offline
    A Offline
    andreyYa
    wrote on last edited by andreyYa
    #1

    Hi.
    I have a problem. Modules qt3d/plugins and qt3d/tools are not compiled.

    gcc -v
    Using built-in specs.
    COLLECT_GCC=gcc
    COLLECT_LTO_WRAPPER=/usr/lib/gcc/mips-linux-gnu/4.9/lto-wrapper
    Target: mips-linux-gnu
    Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes--enable-gnu-unique-object --disable-libitm --disable-libsanitizer --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-mips/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-mips --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-mips --with-arch-directory=mips --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-multiarch --enable-multilib --with-arch-32=mips2 --with-tune-32=mips32 --enable-targets=all --with-arch-64=mips3 --with-tune-64=mips64 --enable-checking=release --build=mips-linux-gnu --host=mips-linux-gnu --target=mips-linux-gnu
    Thread model: posix
    gcc version 4.9.2 (Debian 4.9.2-10)

    -std=c++1y

    In file included from ../../../3rdparty/assimp/code/../include/assimp/vector3.h:53:0,
                     from ../../../3rdparty/assimp/code/../include/assimp/types.h:60,
                     from ../../../3rdparty/assimp/code/../include/assimp/Logger.hpp:47,
                     from ../../../3rdparty/assimp/code/../include/assimp/DefaultLogger.hpp:46,
                     from ../../../3rdparty/assimp/code/AssimpPCH.h:139,
                     from ../../../3rdparty/assimp/code/Bitmap.cpp:48:
    ../../../3rdparty/assimp/code/../include/assimp/./Compiler/pushpack1.h:32:61: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes]
     #  define PACK_STRUCT __attribute__((gcc_struct, __packed__))
                                                                 ^
    ../../../3rdparty/assimp/code/../include/assimp/vector3.h:127:3: note: in expansion of macro ‘PACK_STRUCT’
     } PACK_STRUCT;
       ^
    In file included from ../../../3rdparty/assimp/code/../include/assimp/vector2.h:53:0,
                     from ../../../3rdparty/assimp/code/../include/assimp/types.h:61,
                     from ../../../3rdparty/assimp/code/../include/assimp/Logger.hpp:47,
                     from ../../../3rdparty/assimp/code/../include/assimp/DefaultLogger.hpp:46,
                     from ../../../3rdparty/assimp/code/AssimpPCH.h:139,
                     from ../../../3rdparty/assimp/code/Bitmap.cpp:48:
    ../../../3rdparty/assimp/code/../include/assimp/./Compiler/pushpack1.h:32:61: warning: ‘gcc_struct’ attribute directive ignored [-Wattributes]
     #  define PACK_STRUCT __attribute__((gcc_struct, __packed__))
                                                                 ^
    ../../../3rdparty/assimp/code/../include/assimp/vector2.h:99:3: note: in expansion ofmacro ‘PACK_STRUCT’
     } PACK_STRUCT;
       ^
    ........
    ../../../3rdparty/assimp/code/Bitmap.cpp: In instantiation of ‘std::size_t Assimp::Copy(uint8_t*, T&) [with T = short unsigned int; std::size_t = unsigned int; uint8_t = unsigned char]’:
    ../../../3rdparty/assimp/code/Bitmap.cpp:93:44:   required from here
    ../../../3rdparty/assimp/code/Bitmap.cpp:85:21: error: lvalue required as unary ‘&’ operand
       std::memcpy(data, &AI_BE(field), sizeof(field)); return sizeof(field);
                         ^
    ../../../3rdparty/assimp/code/Bitmap.cpp: In instantiation of ‘std::size_t Assimp::Copy(uint8_t*, T&) [with T = unsigned int; std::size_t = unsigned int; uint8_t = unsigned char]’:
    ../../../3rdparty/assimp/code/Bitmap.cpp:94:44:   required from here
    ../../../3rdparty/assimp/code/Bitmap.cpp:85:21: error: lvalue required as unary ‘&’ operand
    ../../../3rdparty/assimp/code/Bitmap.cpp: In instantiation of ‘std::size_t Assimp::Copy(uint8_t*, T&) [with T = int; std::size_t = unsigned int; uint8_t = unsigned char]’:
    ../../../3rdparty/assimp/code/Bitmap.cpp:108:42:   required from here
    ../../../3rdparty/assimp/code/Bitmap.cpp:85:21: error: lvalue required as unary ‘&’ operand
    Makefile:2956: error... «.obj/Bitmap.o»
    
    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Can you post the options you passed to configure ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • A Offline
        A Offline
        andreyYa
        wrote on last edited by
        #3

        ./configure -opensource -confirm-license -qt-sql-psql -plugin-sql-psql -nomake examples -nomake tests -no-compile-examples

        Configure summary
        
        Build type:    linux-g++ (mips, CPU features: none detected)
        Platform notes:
        
                 - Also available for Linux: linux-clang linux-kcc linux-icc linux-cxx
             
        qmake vars .......... styles += mac fusion windows DEFINES += QT_NO_MTDEV DEFINES += QT_NO_LIBUDEV DEFINES += QT_NO_TSLIB DEFINES += QT_NO_LIBINPUT QMAKE_X11_PREFIX = /usr DEFINES += QT_NO_XKB QMAKE_XKB_CONFIG_ROOT = /usr/share/X11/xkb sql-drivers =  sql-plugins =  psql sqlite qmake switches ......... 
        
        Build options:
        Configuration .......... accessibility accessibility-atspi-bridge atomic64-libatomic audio-backend c++11 c++14 clock-gettime clock-monotonic concurrent dbus doubleconversion enable_new_dtags evdev eventfd freetype full-config getaddrinfo getifaddrs harfbuzz iconv inotify ipv6ifname large-config largefile linuxfb medium-config minimal-config mremap no-pkg-config opengl pcre png poll_ppoll posix_fallocate precompile_header qpa qpa reduce_exports release rpath shared small-config threadsafe-cloexec xcb xcb-glx xcb-plugin xcb-render xcb-xlib xinput2 xkbcommon-qt xlib xrender zlib 
        Build parts ............ libs tools
        Mode ................... release
        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:
         DSP/DSPr2 ............ no/no
        
        Qt modules and options:
        Qt D-Bus ............... yes (loading dbus-1 at runtime)
        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 ................... no
        CUPS ................... no
        DoubleConversion........ yes (bundled copy)
        Evdev .................. yes
        FontConfig ............. no
        FreeType ............... yes (bundled copy)
        Glib ................... no
        GStreamer .............. no
        GTK platformtheme ...... no
        HarfBuzz ............... yes (bundled copy)
        Iconv .................. yes
        ICU .................... no
        Image formats: 
         GIF .................. yes (plugin, using bundled copy)
         JPEG ................. yes (plugin, using bundled copy)
         PNG .................. yes (in QtGui, using bundled copy)
        libinput................ no
        Logging backends: 
         journald ............... no
         syslog   ............... no
        mtdev .................. no
        Networking: 
         getaddrinfo .......... yes
         getifaddrs ........... yes
         IPv6 ifname .......... yes
         libproxy.............. no
         OpenSSL .............. no
        OpenGL / OpenVG: 
         EGL .................. no
         OpenGL ............... desktop
         OpenVG ............... no
        PCRE ................... yes (bundled copy)
        pkg-config ............. no 
        PulseAudio ............. no
        QPA backends: 
         DirectFB ............. no
         EGLFS ................ no
           EGLFS i.MX6 ........ no
           EGLFS i.MX6 Wayland. no
           EGLFS EGLDevice .... no
           EGLFS GBM .......... no
           EGLFS Mali ......... no
           EGLFS Raspberry Pi . no
           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 ................ no
           XShape ............. yes
           XSync .............. yes
        Session management ..... yes
        SQL drivers: 
         DB2 .................. no
         InterBase ............ no
         MySQL ................ no
         OCI .................. no
         ODBC ................. no
         PostgreSQL ........... yes (plugin)
         SQLite 2 ............. no
         SQLite ............... yes (plugin, using bundled copy)
         TDS .................. no
        tslib .................. no
        udev ................... no
        xkbcommon-x11........... yes (bundled copy, XKB config root: /usr/share/X11/xkb)
        xkbcommon-evdev......... no
        zlib ................... yes (bundled copy)
        
        1 Reply Last reply
        0

        • Login

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