collin80 / SavvyCAN

QT based cross platform canbus tool
MIT License
1k stars 278 forks source link

Latest QT6 Release Crashes on Startup, missing library. Mac OS 13.6.1 (M1) #706

Open FrankM54 opened 10 months ago

FrankM54 commented 10 months ago

Is the fix as simple as me adding the missing library files?

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Termination Reason:    Namespace DYLD, Code 1 Library missing
Library not loaded: @rpath/QtDBus.framework/Versions/A/QtDBus
Referenced from: <454255DF-4CE3-3E04-92D2-D2DC9E32BCDA> /Users/USER/Desktop/SavvyCAN_QT6.app/Contents/Frameworks/QtGui.framework/Versions/A/QtGui
Reason: tried: '/Users/frank/Desktop/SavvyCAN_QT6.app/Contents/Frameworks/QtGui.framework/Versions/A/../../../QtDBus.framework/Versions/A/QtDBus' (no such file), '/Users/frank/Desktop/SavvyCAN_QT6.app/Contents/Frameworks/QtWidgets.framework/Versions/A/../../../QtDBus.framework/Versions/A/QtDBus' (no such file), '/Users/frank/Desktop/SavvyCAN_QT6.app/Contents/Frameworks/QtPrintSupport.framework/Versions/A/../../../QtDBus.framework/Versions/A/QtDBus' (no such file), '/Users/frank/Desktop/SavvyCAN_QT6.app/Contents/Frameworks/QtDBus.framework/Versions/A/QtDBus' (no such file), '/usr/local/lib/QtDBus.framework/Versions/A/QtDBus' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/lib/QtDBus.framework/Versions/A/QtDBus' (no such file), '/Users/frank/Desktop/SavvyCAN_QT6.app/Contents/Frameworks
collin80 commented 10 months ago

It probably is as simple as adding the missing libraries. Right now I can't test the MacOS build very well. I bought a MacBook Pro (an old one, 2012 I think) and it had been working well but recently the battery decided to die and then swell up. The thing is apart on a desk right now. Hopefully one of these days I'll at least get the bad battery out and start using it as a "desktop machine." Then I can test the MacOS builds and make sure all libraries are in the proper places.