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

    Problem compiling with MacOS Tahoe - AGT not found

    Scheduled Pinned Locked Moved
    Technical Help
    2
    2
    59
    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
        • First post
          Last post
        Powered by NodeBB | Contributors