labstreaminglayer / App-LabRecorder

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

labrecorder on mac #71

Closed jasmainak closed 2 years ago

jasmainak commented 2 years ago

I did the brew install on my mac but can't open the labrecorder. It gives the following error:

Process:               LabRecorder [25516]
Path:                  /usr/local/opt/labrecorder/LabRecorder/LabRecorder.app/Contents/MacOS/LabRecorder
Identifier:            ???
Version:               ??? (???)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           LabRecorder [25516]
User ID:               502

Date/Time:             2021-09-25 16:28:21.516 -0400
OS Version:            macOS 11.5.2 (20G95)
Report Version:        12
Anonymous UUID:        BE12E238-B186-DF9B-E3F7-355CCEFACFAA

Sleep/Wake UUID:       A439D0BB-A0CE-4BD8-8DF1-801263BD1589

Time Awake Since Boot: 570000 seconds
Time Since Wake:       1800 seconds

System Integrity Protection: enabled

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: 0C9EB0DE-F5CE-3AFC-8F08-0C6DB1E7FC44
Library not loaded: /usr/local/opt/lsl/lib/liblsl.1.14.1.dylib
  Referenced from: /usr/local/opt/labrecorder/LabRecorder/LabRecorder.app/Contents/MacOS/LabRecorder
  Reason: image not found

Binary Images:
       0x10cc36000 -        0x10cc65fff + (??? - ???) <185BE82C-ECA2-3819-80E9-63149C2268AE> /usr/local/opt/labrecorder/LabRecorder/LabRecorder.app/Contents/MacOS/LabRecorder
       0x10e6a4000 -        0x10e73ffff  dyld (852.2) <57DB2053-BFD5-3683-97C6-F1DB2A1F1D09> /usr/lib/dyld

Model: MacBookAir7,2, BootROM 427.140.8.0.0, 2 processors, Dual-Core Intel Core i5, 1.8 GHz, 8 GB, SMC 2.27f2
Graphics: kHW_IntelHDGraphics6000Item, Intel HD Graphics 6000, spdisplays_builtin
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x802C, 0x4D5435324C3531324D3332443250462D3130
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x802C, 0x4D5435324C3531324D3332443250462D3130
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x117), Broadcom BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1680.8)
Bluetooth: Version 8.0.5d7, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM0256G, 251 GB
USB Device: USB 3.0 Bus
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Air, Apple Inc., 27.2

how do I go about fixing it? Thank you!

cboulay commented 2 years ago

Do you have any liblsl.x.dylib in /usr/local/opt/lsl/lib/ ?

You can download from here and put it in that folder.

jasmainak commented 2 years ago

Thanks! Yes I do have liblsl.1.15.0.dylib in that folder

$ ls /usr/local/opt/lsl/lib/
cmake           liblsl.1.15.0.dylib liblsl.dylib

but I guess it was the wrong version as it started working after I copied the one from your folder. Any idea what went wrong? Thank you so much!

jasmainak commented 2 years ago

Hi, I have another question. Where can I find the executable for the LabrecorderCLI on a mac? I want to use it with liesl

jasmainak commented 2 years ago

never mind, figured it out on my own. Sorry for the noise