M1 Mac from source?
-
Has anyone succeeded in building a native M1 app? I finally figured out everything I needed to install with homebrew, and even got 0.9.2 to compile without errors, but then it immediately crashed when I launched it with some kind of Qt error (using Qt6).
Application Specific Information:
abort() calledThread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x000000018295ccec __pthread_kill + 8
1 libsystem_pthread.dylib 0x000000018298dc24 pthread_kill + 292
2 libsystem_c.dylib 0x00000001828d5864 abort + 104
3 org.qt-project.QtCore 0x0000000107c0429c qt_message_fatal(QtMsgType, QMessageLogContext const&, QString const&) + 12
4 org.qt-project.QtCore 0x0000000107c084dc qt_message_output(QtMsgType, QMessageLogContext const&, QString const&) + 48
5 org.qt-project.QtCore 0x0000000107c0db8c QDebug::~QDebug() + 128
6 org.strawberrymusicplayer.strawberry 0x000000010444d9a0 Database::Connect() + 1972
7 org.strawberrymusicplayer.strawberry 0x000000010444d0f4 Database::Database(Application*, QObject*, QString const&) + 440
8 org.strawberrymusicplayer.strawberry 0x000000010444e68c Database::Database(Application*, QObject*, QString const&) + 56
9 org.strawberrymusicplayer.strawberry 0x00000001043fd8bc ApplicationImpl::ApplicationImpl(Application*)::'lambda0'()::operator()() const + 120
10 org.strawberrymusicplayer.strawberry 0x00000001043fd824 decltype(std::__1::forwardApplicationImpl::ApplicationImpl(Application*):'lambda0'()&(fp)()) std::__1::__invokeApplicationImpl::ApplicationImpl(Application*):'lambda0'()&(ApplicationImpl::ApplicationImpl(Application*)::'lambda0'()&) + 28 -
@xkcd308
I believe this is a bug that has already been fixed. (https://github.com/strawberrymusicplayer/strawberry/issues/681)Use the latest code from git:
git clone git@github.com:strawberrymusicplayer/strawberry.git
See also:
https://github.com/strawberrymusicplayer/strawberry/wiki/Compile-and-install-on-macOS -
@jonas Thanks, I'll give it another try when I get home from work today.