So in order to get Apple’s debugger (or LLVD for that matter) to link while I develop, I need to compile SC from scratch. I followed the very clear and detailed instructions here after checking out the tag at 3.13.0 because it is the latest public version. After a little churning, I get the build succeeded message, hurray!
But. Doubleclicking on the app in ./Install, I get an instacrash - happily I’m in RelWithDebInfo so here goes:
Termination Reason: Namespace DYLD, Code 1 Library missing
Library not loaded: ‘@loader_path/…/…/…/QtQuickWidgets.framework/Versions/5/QtQuickWidgets’
Referenced from: ‘/Users/USER/Documents/*/SuperCollider.app/Contents/Frameworks/QtWebEngineWidgets.framework/Versions/5/QtWebEngineWidgets’
Reason: tried: ‘’ (no such file), ‘’ (no such file), ‘’ (no such file)
(terminated at launch; ignore backtrace)
it seems that following the instructions à la lettre it finds QT5 all right to compile but not enough to run? Or have I missed something?
(the good news is that the server is functional so I can run that and debug my plugins )
Any pointers of what is wrong with me, or the read me, welcome.
(I have found and documented a way to work without the full comping process here using only a custom scsynth but it would be good to find what is happening I reckon for other people so if you want I’m happy to continue to try to get it to work)
I know, I even completely deleted the content of the build folder to avoid any gremlins… to no avail. If I’m the only one with issues then let’s not lose time on this - I’m functional with the downloaded IDE and compiling just the server to troubleshoot
I had problems on macOS when I had both Qt5 and Qt6 (aka the default Qt) installed. I believe homebrew Qt6 is linked to system locations by default, in contrary to Qt5.
If you indeed have Qt6 installed, I’d try to unlink it (brew unlink qt6), clear the build directory, then cmake configure and build again.
thanks @MarcinP - brew list tells me I have qt@5 and not qt6 or anything like that… I just reinstalled the system on this machine, it is super new, so it is a good test for such instructions I reckon
I remember having the same problem recently on macOS - it compiled but I couldn’t launch b/c of some Qt error.
It turned out I managed to have 2 versions of Qt5 on my system via brew - check brew doctor and consider reinstalling qt via brew reinstall qt@5 - at least this fixed it for me.
@tremblap there’s a workaround for libsndfile and the interpreter crashing - please see the linked GH issue. After you rebuild libsndfile in homebrew, it should work, I think.
So I am trying it but with messages in the terminal like
Warning: building from source is not supported!
You’re on your own. Failures are expected so don’t create any issues, please!
it didn’t feel super inviting nor safe
But seriously, I’m sad to report that this doesn’t fix my problem. But please, forget me if I’m the only one! I am now resigning the compiled from git and it links to the debugger.