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. Error when building 5.6.0-alpha from source on Mac
Forum Updated to NodeBB v4.3 + New Features

Error when building 5.6.0-alpha from source on Mac

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 690 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.
  • M Offline
    M Offline
    MarcVanDaele
    wrote on last edited by
    #1

    I tried to build 5.6.0-alpha on Mac (never built Qt from sources before)
    So I downloaded the sources, called ./configure and make
    After about 4 hours, make ended with the following errors.
    Advice on how to proceed is much appreciated (please let me know if you need more information)

    clang: error: no such file or directory: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libbsm.dylib'
    clang: error: no such file or directory: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libresolv.dylib'
    clang: error: no such file or directory: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libz.dylib'
    clang: error: no such file or directory: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/lib/libcups.dylib'
    make[5]: *** [../../lib/QtWebEngineCore.framework/QtWebEngineCore_debug] Error 1
    make[4]: *** [debug-install] Error 2
    make[3]: *** [sub-core_module-pro-install_subtargets] Error 2
    make[2]: *** [sub-core-install_subtargets] Error 2
    make[1]: *** [sub-src-install_subtargets] Error 2
    make: *** [module-qtwebengine-install_subtargets] Error 2
    
    1 Reply Last reply
    0
    • jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Did you check whether you have the right SDK installed (10.11)?
      Does the path /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk exist?

      To reduce the time needed to build Qt you can call make like this:
      make -j N
      Where N = NUMBER_OF_CPU_CORES + 1

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

      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