labstreaminglayer / App-LabRecorder

An application for streaming one or more LSL streams to disk in XDF file format.
MIT License
128 stars 45 forks source link

Dependencies are mising in OSX release #58

Open DenisMot opened 3 years ago

DenisMot commented 3 years ago

It is not possible to run the last release of LabRecorder on out of the box OSX. Besides security issues, for which workarounds are known, LabRecorder.app crashes because Qt is missing. Installing qt with brew (easy) does not solve the problem (not hte same path). I note that the W10 release includes the needed dependencies as dll files, and opens nicely (with W10 in VirtualBox).

For me, the latest usable version is the 1.13 from the .dmg file, and it works fine (OSX 11.2.3).

The bug report:

Process:               LabRecorder [29608]
Path:                  /private/var/folders/*/LabRecorder.app/Contents/MacOS/LabRecorder
Identifier:            ???
Version:               ??? (???)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           LabRecorder [29608]
User ID:               502

Date/Time:             2021-04-22 14:24:49.054 +0200
OS Version:            macOS 11.2.3 (20D91)
Report Version:        12
Anonymous UUID:        88F1744F-F985-EE5E-45B3-6D13F0A75DDB

Time Awake Since Boot: 99000 seconds

System Integrity Protection: enabled

Notes:                 Translocated Process

Crashed Thread:        0

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

Termination Reason:    DYLD, [0x1] Library missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  dyld: Using shared cache: 52762DF1-0E55-3F8B-9588-8169E6D0EB95
Library not loaded: /usr/local/opt/qt/lib/QtWidgets.framework/Versions/5/QtWidgets
  Referenced from: /private/var/folders/*/LabRecorder.app/Contents/MacOS/LabRecorder
  Reason: image not found

Binary Images:
       0x102f0e000 -        0x102f75fff + (??? - ???) <C42333DD-648D-3CBC-88BB-6D8721E036CE> /var/folders/*/LabRecorder.app/Contents/MacOS/LabRecorder
       0x106628000 -        0x1066c3fff  dyld (832.7.3) <0D4EA85F-7E30-338B-9215-314A5A5539B6> /usr/lib/dyld
cboulay commented 3 years ago

@DenisMot - I'd appreciate your feedback on #65

And your above issue was fixed (ended up manually adding @executable_path/../../Frameworks to the RPATH), but it might end up moot depending on how #65 goes.

For the next 30 days or so you can download a fixed version here: https://github.com/labstreaminglayer/App-LabRecorder/suites/2972091132/artifacts/67017313