JaCzekanski / Avocado

🥑 PlayStation 1 emulator
GNU General Public License v2.0
536 stars 31 forks source link

Error trying to open application #100

Closed lmagoncalo closed 3 years ago

lmagoncalo commented 3 years ago

Informations

Process:               avocado [12145]
Path:                  /Applications/avocado.app/Contents/MacOS/avocado
Identifier:            info.czekanski.avocado
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           avocado [12145]
User ID:               501

Date/Time:             2021-03-01 14:08:06.775 +0000
OS Version:            macOS 11.2.1 (20D74)
Report Version:        12
Anonymous UUID:        19CE2304-16AF-A653-150F-BDAEA352C1E9

Sleep/Wake UUID:       7701BFBA-AB91-4C47-A89E-214D95E99DAC

Time Awake Since Boot: 39000 seconds
Time Since Wake:       110 seconds

System Integrity Protection: disabled

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: BD3DF5DB-AF3C-3D09-B8D6-4352F71DDBEA
Library not loaded: /usr/local/opt/sdl2/lib/libSDL2-2.0.0.dylib
  Referenced from: /Applications/avocado.app/Contents/MacOS/avocado
  Reason: image not found

Binary Images:
       0x1060cd000 -        0x10635efff +info.czekanski.avocado (0) <A806D54D-1397-30C5-B154-2FCDC166B499> /Applications/avocado.app/Contents/MacOS/avocado
       0x10a4f0000 -        0x10a58bfff  dyld (832.7.3) <0D4EA85F-7E30-338B-9215-314A5A5539B6> /usr/lib/dyld

Model: MacBookPro11,4, BootROM 426.0.0.0.0, 4 processors, Quad-Core Intel Core i7, 2,2 GHz, 16 GB, SMC 2.29f24
Graphics: kHW_IntelIrisProItem, Intel Iris Pro, spdisplays_builtin
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533642465238412D50422020
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533642465238412D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x152), Broadcom BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1675.1)
Bluetooth: Version 8.0.3d9, 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: Apple Internal Keyboard / Trackpad
USB Device: Bluetooth USB Host Controller
USB Device: USB Optical Mouse
Thunderbolt Bus: MacBook Pro, Apple Inc., 27.1

Behavior

I get this error trying to run the latest MacOS build. My OS version is MacOS Big Sur 11.2.1 (20D74)

JaCzekanski commented 3 years ago

It looks like current builds don't include SDL2 (probably an sdl2-config bug).

As a quick workaround, you can install SDL using brew: brew install sdl2 (https://brew.sh/ required).

I'll try to fix builds soon so it isn't required anymore.

lmagoncalo commented 3 years ago

It works, thank you!