Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The online compiler seems not to produce uptodate SuperCollider UGens #514

Closed
muellmusik opened this issue Nov 13, 2020 · 9 comments
Closed

Comments

@muellmusik
Copy link

I tried this both with some of my own code, and with 'Small Example' from the playground. Generate the files and install them in the extension directory in SC. When you boot scsynth:

ERROR: API version mismatch: /Library/Application Support/SuperCollider/Extensions/Small_Exemple.scx
    This plugin is not compatible with SuperCollider >=3.9.0
    The plugin has not been loaded; please find or compile a newer version.
    (Plugin's API version: 2. Expected: 3)

SC 3.9.0 is almost 3 years old, so this seems like a longstanding issue. It seems like I did build successfully with the faust2supercollider script so seems like an online compiler only issue. I will try to investigate.

@sletz
Copy link
Member

sletz commented Nov 13, 2020

  • hum, seems strange since the SuperCollider architecture has not changed recently, and so the online compiler uses a quite uptodate version.
  • on which OS does it happens ?
  • yes please investigate thanks.

@muellmusik
Copy link
Author

Sorry, OSX 10.14, but I'm sure that's not the issue. It's building to the old UGen API. Here's where the error happens: https://github.com/supercollider/supercollider/blob/f806ace7bd8565dd174e7d47a1b32aaa4175a46e/include/server/ErrorMessage.hpp#L78

  • hum, seems strange since the SuperCollider architecture has not changed recently, and so the online compiler uses a quite uptodate version.

Yeah, as I said 3.9 was Jan 2018, so yeah quite some time ago. I confirmed again that I can build with faust2supercollider. Ironically the newest version of faust I seem to have is from 2016, so that's strange in itself! Sorry haven't used this stuff for a while!

@sletz
Copy link
Member

sletz commented Nov 13, 2020

@orlarey could is be an issue with what is installed in the Docker image to produce the SuperCollider OSX binary plugin?

@KonVas
Copy link

KonVas commented Dec 5, 2020

I can confirm the issue, I have the same exact problem asking to be compiled with a newer version: ERROR: API version mismatch:... SC 3.11.2, MacOS 10.15.7. I have used the online editor too.

@muellmusik
Copy link
Author

Any word on this? Happy to help if I can.

@sletz
Copy link
Member

sletz commented Feb 12, 2021

It seems the version of include files we use are too old (https://github.com/supercollider/supercollider/tree/develop/include). Updating them on my local machine and recompiling some UGen with faust2supercollider now works (that is: without having to update the faust2supercollider tool or SC architectures files). So @orlarey I guess we'll have to update include files on the compilation service.

@sletz
Copy link
Member

sletz commented Feb 16, 2021

Should work on Faust IDE (remote compilation service has been updated).

@muellmusik
Copy link
Author

Thank you! I'll test soon!

@muellmusik
Copy link
Author

Confirmed that it works with the OSC example, thanks so much! @KonVas maybe you want to check, but looks sorted!

@sletz sletz closed this as completed Feb 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants