Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-67606

Qt build fails on Mac OS, no member named bind1st

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.11.0 Beta 3
    • Fix Version/s: 5.9.7, 5.11.0 RC 1
    • Component/s: Qt3D
    • Labels:
      None
    • Environment:
      Mac OS 10.13.4, Xcode 9.3 (9E145), LLVM version 9.1.0 (clang-902.0.39.1)
    • Platform/s:
      macOS
    • Commits:
      29035a09a4db2fb3d35d8d494b609bb15b0a97f5 (5.9.7)

      Description

      ./configure -static -release -ltcg -optimize-size -no-pch -prefix "/path/to/qt/511-static" -skip webengine -nomake tools -nomake tests -nomake examples
      

      And then having run make I get this:

      In file included from ../../../3rdparty/assimp/code/BlenderModifier.cpp:47:
      In file included from ../../../3rdparty/assimp/code/BlenderModifier.h:47:
      In file included from ../../../3rdparty/assimp/code/BlenderIntermediate.h:48:
      In file included from ../../../3rdparty/assimp/code/BlenderLoader.h:47:
      In file included from ../../../3rdparty/assimp/code/BaseImporter.h:45:
      In file included from ../../../3rdparty/assimp/code/Exceptional.h:45:
      In file included from ../../../3rdparty/assimp/code/DefaultIOStream.h:46:
      In file included from ../../../3rdparty/assimp/include/assimp/IOStream.hpp:48:
      ../../../3rdparty/assimp/include/assimp/types.h:208:19: warning: taking address of packed member 'r' of class or structure 'aiColor3D' may result
            in an unaligned pointer value [-Waddress-of-packed-member]
              return *(&r + i);
                        ^
      ../../../3rdparty/assimp/include/assimp/types.h:213:19: warning: taking address of packed member 'r' of class or structure 'aiColor3D' may result
            in an unaligned pointer value [-Waddress-of-packed-member]
              return *(&r + i);
                        ^
      ../../../3rdparty/assimp/code/BlenderModifier.cpp:268:14: error: no member named 'bind1st' in namespace 'std'
              std::bind1st(std::plus< unsigned int >(),out.mNumMeshes));
              ~~~~~^
      2 warnings and 1 error generated.
      make[4]: *** [.obj/BlenderModifier.o] Error 1
      make[3]: *** [sub-assimp-make_first] Error 2
      make[2]: *** [sub-plugins-sceneparsers-make_first] Error 2
      make[1]: *** [sub-src-make_first] Error 2
      make: *** [module-qt3d-make_first] Error 2
      

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              seanharmer Sean Harmer
              Reporter:
              artemsyd Artem Sidyakin
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes