madskjeldgaard / portedplugins

A collection of plugins for the SuperCollider sound environment, all of which are ported / remixed from elsewhere
GNU General Public License v3.0
180 stars 13 forks source link

Release 0.4.1 does not work on my Mac #36

Closed geoffroymontel closed 3 months ago

geoffroymontel commented 1 year ago

Describe the bug With new release 0.4.1, I am getting the following error on my Mac when booting scsynth

*** ERROR: dlopen '/Users/geoffroy/Library/Application Support/SuperCollider/Extensions/PortedPlugins/VASEM12_scsynth.scx' err 'dlopen(/Users/geoffroy/Library/Application Support/SuperCollider/Extensions/PortedPlugins/VASEM12_scsynth.scx, 2): no suitable image found. Did find: /Users/geoffroy/Library/Application Support/SuperCollider/Extensions/PortedPlugins/VASEM12_scsynth.scx: cannot load 'VASEM12_scsynth.scx' (load command 0x80000034 is unknown) /Users/geoffroy/Library/Application Support/SuperCollider/Extensions/PortedPlugins/VASEM12_scsynth.scx: cannot load 'VASEM12_scsynth.scx' (load command 0x80000034 is unknown)'

To Reproduce Steps to reproduce the behavior:

  1. download release 0.4.1 for Mac
  2. unzip to SC Extensions folder
  3. start SC
  4. boot server

Expected behavior

I'd expect it to work as release 0.3.1

Desktop (please complete the following information):

Thanks !

vpavlenko commented 1 year ago

I've made a build that works on my M1:

PortedPlugins - 0.4.1 - Mac M1 arm64e.zip

geoffroymontel commented 1 year ago

Thanks but i am on an old x86 mac

madskjeldgaard commented 1 year ago

Thanks for this! I don't have time to fix this at the moment, so I would recommend building from source if this is an issue until someone makes a PR for this. You can do that pretty easily using this plugin:

https://github.com/madskjeldgaard/plugins.quark

schmolmo commented 3 months ago

Hey there!

I just ran into the same issue when building the Plugins myself and found a solution (I'm no cmake expert at all, so maybe use with caution?): Apparently you have to set the CMAKE_OSX_DEPLOYMENT_TARGET variable in CMakeLists.txt. I did that by adding this line after line 11 in CMakeLists.txt:

set(CMAKE_OSX_DEPLOYMENT_TARGET "10.13" CACHE STRING "Minimum OS X deployment version")

With the "10.13" being your OS Version. After that, I re-ran the build instructions from the README and everything worked flawlessly.

Hope this helps!