cortex-command-community / Cortex-Command-Community-Project-Data

[ARCHIVED] The future of Cortex Command
https://cortex-command-community.github.io/
109 stars 21 forks source link

Missing /usr/local/opt/sdl2/lib/libSDL2-2.0.0.dylib on macOS #169

Closed thejoelw closed 1 year ago

thejoelw commented 1 year ago

Describe the bug Running Cortex Command on macOS 13.4 (22F66) fails because of the missing dynamic library /usr/local/opt/sdl2/lib/libSDL2-2.0.0.dylib

[I] joel@Joels-MacBook-Pro ~/D/Cortex Command Pre5.1> ./CortexCommand
dyld[44971]: Library not loaded: /usr/local/opt/sdl2/lib/libSDL2-2.0.0.dylib
  Referenced from: <EFEE0181-FD42-3053-8E85-BFE4FD3EE1F3> /Users/joel/Downloads/Cortex Command Pre5.1/CortexCommand
  Reason: tried: '/usr/local/opt/sdl2/lib/libSDL2-2.0.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/sdl2/lib/libSDL2-2.0.0.dylib' (no such file), '/usr/local/opt/sdl2/lib/libSDL2-2.0.0.dylib' (no such file), '/usr/local/lib/libSDL2-2.0.0.dylib' (no such file), '/usr/lib/libSDL2-2.0.0.dylib' (no such file, not in dyld cache)
fish: Job 1, './CortexCommand' terminated by signal SIGABRT (Abort)

To Reproduce Steps to reproduce the behavior:

  1. Download Cortex Command Pre5.1
  2. unzip
  3. chmod +x CortexCommand
  4. ./CortexCommand
  5. See error
garethyr commented 1 year ago

Hi JWalker, unfortunately our mac builds aren't in a very release-ready format, and you need to install the dependencies manually. Hopefully this'll get fixed in future, but for now I've updated the releases page so it explains things more clearly.

I'm going to close this issue for now, but if you end up going through the mac setup process, please let me know if you run into any problems with it (feel free to make another issue if needed).