Oliver Bown - 2009-02-24

Hi there, I ran the examples in Processing but got this...

Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: can't load library intl (intl|libintl|libintl-0) with -Djna.library.path=/Users/ollie/Documents/Processing/libraries/gsvideo/library. Last error:java.lang.UnsatisfiedLinkError: Unable to load library 'intl': dlopen(/Users/ollie/Documents/Processing/libraries/gsvideo/library/libintl.dylib, 1): no suitable image found.  Did find:
    /Users/ollie/Documents/Processing/libraries/gsvideo/library/libintl.dylib: mach-o, but wrong architecture
    /usr/local/lib/libintl.dylib: no matching architecture in universal wrapper
    at codeanticode.gsvideo.JnaLibLoaderChain.loadLibrary(JnaLibLoaderChain.java:198)
    at codeanticode.gsvideo.JnaLibLoaderChain.load(JnaLibLoaderChain.java:165)
    at codeanticode.gsvideo.JnaLibLoaderChain.preLoadLibs(JnaLibLoaderChain.java:127)
    at codeanticode.gsvideo.JnaLibLoaderChain.getInstance(JnaLibLoaderChain.java:224)
    at codeanticode.gsvideo.GSVideo.init(GSVideo.java:94)
    at codeanticode.gsvideo.GSMovie.<init>(GSMovie.java:69)
    at codeanticode.gsvideo.GSMovie.<init>(GSMovie.java:49)
    at Scratch.setup(Scratch.java:36)
    at processing.core.PApplet.handleDraw(PApplet.java:1383)
    at processing.core.PApplet.run(PApplet.java:1311)
    at java.lang.Thread.run(Thread.java:637)

I tried to install gstreamer via MacPorts and copy libintl.dylib from the MacPorts install to the library folder. Strangely, that didn't make any difference. My knowledge of native libs is flakey so I don't know where to go next.

I'm working on a iMac, 2.16GHz Intel core 2 Duo, OSX 10.5.6, Processing 1.0.

Cheers,

Ollie