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. gmake: *** [Makefile:384: qutfcodec.o] Error 1
Qt 6.11 is out! See what's new in the release blog

gmake: *** [Makefile:384: qutfcodec.o] Error 1

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
5 Posts 4 Posters 1.5k Views 1 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.
  • B Offline
    B Offline
    Buket
    wrote on last edited by
    #1

    Hello everyone,I have an ARM-based (Rockchip RK3288, ARM Cortex-A17 CPU, Mali-T760 MP4 (T764) GPU)motherboard and I want to cross-compile using it. I use Debian 9 as the operating system on this card, and I use Ubuntu 21.04 on the host PC. For cross-compile, I use tinkerboard's qmake.conf file, which is the same hardware. But this is the first time I got such an error. I can't find the source of the error either. Anyone have any ideas?

    ./configure command:

    ../qt-everywhere-src-5.14.0/configure -release -opengl es2 -nomake examples -nomake tests -opensource -confirm-license -device linux-tinkerboard-g++ -device-option CROSS_COMPILE=~/tinker/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot ~/tinker/sysroot -prefix /usr/local/qt5li -extprefix ~/tinker/qt5 -hostprefix ~/tinker/qt5-host -no-use-gold-linker -v
    

    Output:

    In file included from /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/qfloat16.h:1,
                     from /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qendian.h:44,
                     from /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/qendian.h:1,
                     from /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/src/corelib/codecs/qutfcodec.cpp:43:
    /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:294:7: error: ‘numeric_limits’ is not a class template
      294 | class numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> : public numeric_limits<float>
          |       ^~~~~~~~~~~~~~
    /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:294:77: error: expected template-name before ‘<’ token
      294 | class numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> : public numeric_limits<float>
          |                                                                             ^
    /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:294:77: error: expected ‘{’ before ‘<’ token
    /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:332:18: error: ‘numeric_limits’ is not a class template
      332 | template<> class numeric_limits<const QT_PREPEND_NAMESPACE(qfloat16)>
          |                  ^~~~~~~~~~~~~~
    /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:332:69: error: ‘std::numeric_limits’ is not a template
      332 | template<> class numeric_limits<const QT_PREPEND_NAMESPACE(qfloat16)>
          |                                                                     ^
    /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:294:7: note: previous declaration here
      294 | class numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> : public numeric_limits<float>
          |       ^~~~~~~~~~~~~~
    /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:333:28: error: expected template-name before ‘<’ token
      333 |     : public numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> {};
          |                            ^
    /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:334:18: error: ‘numeric_limits’ is not a class template
      334 | template<> class numeric_limits<volatile QT_PREPEND_NAMESPACE(qfloat16)>
          |                  ^~~~~~~~~~~~~~
    /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:334:72: error: ‘std::numeric_limits’ is not a template
      334 | template<> class numeric_limits<volatile QT_PREPEND_NAMESPACE(qfloat16)>
          |                                                                        ^
    /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:294:7: note: previous declaration here
      294 | class numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> : public numeric_limits<float>
          |       ^~~~~~~~~~~~~~
    /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:335:28: error: expected template-name before ‘<’ token
      335 |     : public numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> {};
          |                            ^
    /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:336:18: error: ‘numeric_limits’ is not a class template
      336 | template<> class numeric_limits<const volatile QT_PREPEND_NAMESPACE(qfloat16)>
          |                  ^~~~~~~~~~~~~~
    /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:336:78: error: ‘std::numeric_limits’ is not a template
      336 | template<> class numeric_limits<const volatile QT_PREPEND_NAMESPACE(qfloat16)>
          |                                                                              ^
    /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:294:7: note: previous declaration here
      294 | class numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> : public numeric_limits<float>
          |       ^~~~~~~~~~~~~~
    /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:337:28: error: expected template-name before ‘<’ token
      337 |     : public numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> {};
          |                            ^
    In file included from /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/qendian.h:1,
                     from /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/src/corelib/codecs/qutfcodec.cpp:43:
    /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qendian.h: In static member function ‘static constexpr QSpecialInteger<S> QSpecialInteger<S>::max()’:
    /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qendian.h:331:30: error: ‘std::numeric_limits’ is not a template
      331 |     { return QSpecialInteger(std::numeric_limits<T>::max()); }
          |                              ^~~
    /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qendian.h:331:54: error: incomplete type ‘std::numeric_limits’ used in nested name specifier
      331 |     { return QSpecialInteger(std::numeric_limits<T>::max()); }
          |                                                      ^~~
    /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qendian.h: In static member function ‘static constexpr QSpecialInteger<S> QSpecialInteger<S>::min()’:
    /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qendian.h:333:30: error: ‘std::numeric_limits’ is not a template
      333 |     { return QSpecialInteger(std::numeric_limits<T>::min()); }
          |                              ^~~
    /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qendian.h:333:54: error: incomplete type ‘std::numeric_limits’ used in nested name specifier
      333 |     { return QSpecialInteger(std::numeric_limits<T>::min()); }
          |                                                      ^~~
    gmake: *** [Makefile:384: qutfcodec.o] Error 1
    
    jsulmJ S 2 Replies Last reply
    0
    • B Buket

      Hello everyone,I have an ARM-based (Rockchip RK3288, ARM Cortex-A17 CPU, Mali-T760 MP4 (T764) GPU)motherboard and I want to cross-compile using it. I use Debian 9 as the operating system on this card, and I use Ubuntu 21.04 on the host PC. For cross-compile, I use tinkerboard's qmake.conf file, which is the same hardware. But this is the first time I got such an error. I can't find the source of the error either. Anyone have any ideas?

      ./configure command:

      ../qt-everywhere-src-5.14.0/configure -release -opengl es2 -nomake examples -nomake tests -opensource -confirm-license -device linux-tinkerboard-g++ -device-option CROSS_COMPILE=~/tinker/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot ~/tinker/sysroot -prefix /usr/local/qt5li -extprefix ~/tinker/qt5 -hostprefix ~/tinker/qt5-host -no-use-gold-linker -v
      

      Output:

      In file included from /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/qfloat16.h:1,
                       from /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qendian.h:44,
                       from /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/qendian.h:1,
                       from /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/src/corelib/codecs/qutfcodec.cpp:43:
      /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:294:7: error: ‘numeric_limits’ is not a class template
        294 | class numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> : public numeric_limits<float>
            |       ^~~~~~~~~~~~~~
      /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:294:77: error: expected template-name before ‘<’ token
        294 | class numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> : public numeric_limits<float>
            |                                                                             ^
      /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:294:77: error: expected ‘{’ before ‘<’ token
      /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:332:18: error: ‘numeric_limits’ is not a class template
        332 | template<> class numeric_limits<const QT_PREPEND_NAMESPACE(qfloat16)>
            |                  ^~~~~~~~~~~~~~
      /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:332:69: error: ‘std::numeric_limits’ is not a template
        332 | template<> class numeric_limits<const QT_PREPEND_NAMESPACE(qfloat16)>
            |                                                                     ^
      /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:294:7: note: previous declaration here
        294 | class numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> : public numeric_limits<float>
            |       ^~~~~~~~~~~~~~
      /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:333:28: error: expected template-name before ‘<’ token
        333 |     : public numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> {};
            |                            ^
      /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:334:18: error: ‘numeric_limits’ is not a class template
        334 | template<> class numeric_limits<volatile QT_PREPEND_NAMESPACE(qfloat16)>
            |                  ^~~~~~~~~~~~~~
      /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:334:72: error: ‘std::numeric_limits’ is not a template
        334 | template<> class numeric_limits<volatile QT_PREPEND_NAMESPACE(qfloat16)>
            |                                                                        ^
      /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:294:7: note: previous declaration here
        294 | class numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> : public numeric_limits<float>
            |       ^~~~~~~~~~~~~~
      /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:335:28: error: expected template-name before ‘<’ token
        335 |     : public numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> {};
            |                            ^
      /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:336:18: error: ‘numeric_limits’ is not a class template
        336 | template<> class numeric_limits<const volatile QT_PREPEND_NAMESPACE(qfloat16)>
            |                  ^~~~~~~~~~~~~~
      /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:336:78: error: ‘std::numeric_limits’ is not a template
        336 | template<> class numeric_limits<const volatile QT_PREPEND_NAMESPACE(qfloat16)>
            |                                                                              ^
      /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:294:7: note: previous declaration here
        294 | class numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> : public numeric_limits<float>
            |       ^~~~~~~~~~~~~~
      /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:337:28: error: expected template-name before ‘<’ token
        337 |     : public numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> {};
            |                            ^
      In file included from /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/qendian.h:1,
                       from /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/src/corelib/codecs/qutfcodec.cpp:43:
      /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qendian.h: In static member function ‘static constexpr QSpecialInteger<S> QSpecialInteger<S>::max()’:
      /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qendian.h:331:30: error: ‘std::numeric_limits’ is not a template
        331 |     { return QSpecialInteger(std::numeric_limits<T>::max()); }
            |                              ^~~
      /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qendian.h:331:54: error: incomplete type ‘std::numeric_limits’ used in nested name specifier
        331 |     { return QSpecialInteger(std::numeric_limits<T>::max()); }
            |                                                      ^~~
      /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qendian.h: In static member function ‘static constexpr QSpecialInteger<S> QSpecialInteger<S>::min()’:
      /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qendian.h:333:30: error: ‘std::numeric_limits’ is not a template
        333 |     { return QSpecialInteger(std::numeric_limits<T>::min()); }
            |                              ^~~
      /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qendian.h:333:54: error: incomplete type ‘std::numeric_limits’ used in nested name specifier
        333 |     { return QSpecialInteger(std::numeric_limits<T>::min()); }
            |                                                      ^~~
      gmake: *** [Makefile:384: qutfcodec.o] Error 1
      
      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Buket said in gmake: *** [Makefile:384: qutfcodec.o] Error 1:

      gcc-linaro-7.5.0

      You should consider getting newer compiler.

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

      B 1 Reply Last reply
      0
      • jsulmJ jsulm

        @Buket said in gmake: *** [Makefile:384: qutfcodec.o] Error 1:

        gcc-linaro-7.5.0

        You should consider getting newer compiler.

        B Offline
        B Offline
        Buket
        wrote on last edited by Buket
        #3

        @jsulm
        I searched but there is this toolchain as the newest. If you don't mind, could you send me a newer toolchain link?

        Edit:
        Using a different version toolchain did not solve the problem and when I looked at the linaro releases, I saw that this was the most up-to-date toolchain. Can't there be another reason?

        1 Reply Last reply
        0
        • B Buket

          Hello everyone,I have an ARM-based (Rockchip RK3288, ARM Cortex-A17 CPU, Mali-T760 MP4 (T764) GPU)motherboard and I want to cross-compile using it. I use Debian 9 as the operating system on this card, and I use Ubuntu 21.04 on the host PC. For cross-compile, I use tinkerboard's qmake.conf file, which is the same hardware. But this is the first time I got such an error. I can't find the source of the error either. Anyone have any ideas?

          ./configure command:

          ../qt-everywhere-src-5.14.0/configure -release -opengl es2 -nomake examples -nomake tests -opensource -confirm-license -device linux-tinkerboard-g++ -device-option CROSS_COMPILE=~/tinker/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot ~/tinker/sysroot -prefix /usr/local/qt5li -extprefix ~/tinker/qt5 -hostprefix ~/tinker/qt5-host -no-use-gold-linker -v
          

          Output:

          In file included from /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/qfloat16.h:1,
                           from /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qendian.h:44,
                           from /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/qendian.h:1,
                           from /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/src/corelib/codecs/qutfcodec.cpp:43:
          /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:294:7: error: ‘numeric_limits’ is not a class template
            294 | class numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> : public numeric_limits<float>
                |       ^~~~~~~~~~~~~~
          /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:294:77: error: expected template-name before ‘<’ token
            294 | class numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> : public numeric_limits<float>
                |                                                                             ^
          /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:294:77: error: expected ‘{’ before ‘<’ token
          /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:332:18: error: ‘numeric_limits’ is not a class template
            332 | template<> class numeric_limits<const QT_PREPEND_NAMESPACE(qfloat16)>
                |                  ^~~~~~~~~~~~~~
          /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:332:69: error: ‘std::numeric_limits’ is not a template
            332 | template<> class numeric_limits<const QT_PREPEND_NAMESPACE(qfloat16)>
                |                                                                     ^
          /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:294:7: note: previous declaration here
            294 | class numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> : public numeric_limits<float>
                |       ^~~~~~~~~~~~~~
          /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:333:28: error: expected template-name before ‘<’ token
            333 |     : public numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> {};
                |                            ^
          /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:334:18: error: ‘numeric_limits’ is not a class template
            334 | template<> class numeric_limits<volatile QT_PREPEND_NAMESPACE(qfloat16)>
                |                  ^~~~~~~~~~~~~~
          /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:334:72: error: ‘std::numeric_limits’ is not a template
            334 | template<> class numeric_limits<volatile QT_PREPEND_NAMESPACE(qfloat16)>
                |                                                                        ^
          /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:294:7: note: previous declaration here
            294 | class numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> : public numeric_limits<float>
                |       ^~~~~~~~~~~~~~
          /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:335:28: error: expected template-name before ‘<’ token
            335 |     : public numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> {};
                |                            ^
          /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:336:18: error: ‘numeric_limits’ is not a class template
            336 | template<> class numeric_limits<const volatile QT_PREPEND_NAMESPACE(qfloat16)>
                |                  ^~~~~~~~~~~~~~
          /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:336:78: error: ‘std::numeric_limits’ is not a template
            336 | template<> class numeric_limits<const volatile QT_PREPEND_NAMESPACE(qfloat16)>
                |                                                                              ^
          /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:294:7: note: previous declaration here
            294 | class numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> : public numeric_limits<float>
                |       ^~~~~~~~~~~~~~
          /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qfloat16.h:337:28: error: expected template-name before ‘<’ token
            337 |     : public numeric_limits<QT_PREPEND_NAMESPACE(qfloat16)> {};
                |                            ^
          In file included from /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/qendian.h:1,
                           from /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/src/corelib/codecs/qutfcodec.cpp:43:
          /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qendian.h: In static member function ‘static constexpr QSpecialInteger<S> QSpecialInteger<S>::max()’:
          /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qendian.h:331:30: error: ‘std::numeric_limits’ is not a template
            331 |     { return QSpecialInteger(std::numeric_limits<T>::max()); }
                |                              ^~~
          /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qendian.h:331:54: error: incomplete type ‘std::numeric_limits’ used in nested name specifier
            331 |     { return QSpecialInteger(std::numeric_limits<T>::max()); }
                |                                                      ^~~
          /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qendian.h: In static member function ‘static constexpr QSpecialInteger<S> QSpecialInteger<S>::min()’:
          /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qendian.h:333:30: error: ‘std::numeric_limits’ is not a template
            333 |     { return QSpecialInteger(std::numeric_limits<T>::min()); }
                |                              ^~~
          /home/buket/tinker/qt-everywhere-src-5.14.0/qtbase/include/QtCore/../../src/corelib/global/qendian.h:333:54: error: incomplete type ‘std::numeric_limits’ used in nested name specifier
            333 |     { return QSpecialInteger(std::numeric_limits<T>::min()); }
                |                                                      ^~~
          gmake: *** [Makefile:384: qutfcodec.o] Error 1
          
          S Offline
          S Offline
          soul fu
          wrote on last edited by
          #4

          I'm also having the same issue, which came up when cross-compiling Qt5 with Ubuntu and Raspberry

          1 Reply Last reply
          0
          • Christian EhrlicherC Online
            Christian EhrlicherC Online
            Christian Ehrlicher
            Lifetime Qt Champion
            wrote on last edited by
            #5

            numeric_limits is defined in std namespace so you should try if including the correct header helps.

            Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
            Visit the Qt Academy at https://academy.qt.io/catalog

            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