• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Problem compiling with MacOS Tahoe - AGT not found

    Scheduled Pinned Locked Moved Technical Help
    2 Posts 2 Posters 2.4k Views
    Loading More Posts
    • 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.
    • F
      frake
      last edited by

      Hello,
      I just started my journey with building Strawberry using Tahoe this morning.
      Used the instructions from https://wiki.strawberrymusicplayer.org/wiki/Build_macOS and followed them carefully.
      Issues came up in the build process at the following step:
      [ 97%] Built target strawberry_lib
      [ 97%] Linking CXX executable strawberry.app/Contents/MacOS/strawberry
      ld: warning: duplicate -rpath '/opt/strawberry_macos_arm64_release/lib' ignored
      ld: framework 'AGL' not found
      clang++: error: linker command failed with exit code 1 (use -v to see invocation)
      make[2]: *** [strawberry.app/Contents/MacOS/strawberry] Error 1
      make[1]: *** [CMakeFiles/strawberry.dir/all] Error 2
      make: *** [all] Error 2

      I searched for AGL framework - it is available within /System/Library.

      So do I have to add any path at any place - sorry, I assumed this Wiki guide would be working.

      Thanks and regards

      jonasJ 1 Reply Last reply
      Reply Quote 0
      • jonasJ
        jonas @frake
        last edited by

        @frake

        I haven't tested building on Tahoe yet, but the error should be easy to fix by manually setting the library path.

        Something like this:

        export LIBRARY_PATH="/System/Library/Frameworks/AGL.framework"
        

        Delete CMakeCache.txt and the run cmake command again.

        1 Reply Last reply
        Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        Powered by NodeBB | Contributors