Problem compiling with MacOS Tahoe - AGT not found
-
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 2I 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
-
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.
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