Error message with Syphon lib

Hello everybody,

I’m beginner on Processing, I juste need it for a specific animation that will be use for an event.
When the code is executed, this error message occurs :

Syphon 4.0 by Andres Colubri, Tom Butterworth, Anton Marini http://syphon.v002.info/
UnsatisfiedLinkError: /Users/vjdobermann/Documents/Processing/libraries/Syphon/library/libJSyphon.jnilib: dlopen(/Users/vjdobermann/Documents/Processing/libraries/Syphon/library/libJSyphon.jnilib, 0x0001): tried: '/Users/vjdobermann/Documents/Processing/libraries/Syphon/library/libJSyphon.jnilib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/vjdobermann/Documents/Processing/libraries/Syphon/library/libJSyphon.jnilib' (no such file), '/Users/vjdobermann/Documents/Processing/libraries/Syphon/library/libJSyphon.jnilib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))
java.lang.UnsatisfiedLinkError: /Users/vjdobermann/Documents/Processing/libraries/Syphon/library/libJSyphon.jnilib: dlopen(/Users/vjdobermann/Documents/Processing/libraries/Syphon/library/libJSyphon.jnilib, 0x0001): tried: '/Users/vjdobermann/Documents/Processing/libraries/Syphon/library/libJSyphon.jnilib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/vjdobermann/Documents/Processing/libraries/Syphon/library/libJSyphon.jnilib' (no such file), '/Users/vjdobermann/Documents/Processing/libraries/Syphon/library/libJSyphon.jnilib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))
	at processing.opengl.PSurfaceJOGL.lambda$initAnimator$2(PSurfaceJOGL.java:426)
	at java.base/java.lang.Thread.run(Thread.java:833)
A library used by this sketch relies on native code that is not available.
UnsatisfiedLinkError: /Users/vjdobermann/Documents/Processing/libraries/Syphon/library/libJSyphon.jnilib: dlopen(/Users/vjdobermann/Documents/Processing/libraries/Syphon/library/libJSyphon.jnilib, 0x0001): tried: '/Users/vjdobermann/Documents/Processing/libraries/Syphon/library/libJSyphon.jnilib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/vjdobermann/Documents/Processing/libraries/Syphon/library/libJSyphon.jnilib' (no such file), '/Users/vjdobermann/Documents/Processing/libraries/Syphon/library/libJSyphon.jnilib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))
UnsatisfiedLinkError: /Users/vjdobermann/Documents/Processing/libraries/Syphon/library/libJSyphon.jnilib: dlopen(/Users/vjdobermann/Documents/Processing/libraries/Syphon/library/libJSyphon.jnilib, 0x0001): tried: '/Users/vjdobermann/Documents/Processing/libraries/Syphon/library/libJSyphon.jnilib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/vjdobermann/Documents/Processing/libraries/Syphon/library/libJSyphon.jnilib' (no such file), '/Users/vjdobermann/Documents/Processing/libraries/Syphon/library/libJSyphon.jnilib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))

Great thanks in advance for your help :folded_hands:

incompatible architecture (have 'x86_64', need 'arm64')

What hardware and operating system are you using?

Hi Svan,

I’m working on a Macbook pro M3 macOS Sonoma 14.1

This is a known issue. The Processing Syphon library has not been updated to work with Apple Silicon. The underlying Java library also has an open issue about it, so no luck there either.

However, it looks like the folks at OpenRNDR managed to fix a similar issue in their own Syphon implementation. Maybe @hamoid can give us a hint on fixing the Java/Processing version :eyes:

Tagging @yaniki since they asked a similar question recently