Are you running on a 32-bit or 64-bit system? I think libpmjni.dylib is only compiled for 32-bit architectures. If this is the problem, maybe the fix is easy, but the 64-bit version is not included anywhere because I have not tested (preliminary reports are good though).
I should have documented which Java version I used on the Mac -- I see in the project.pbxproj file that the Java version is set to 1.5, so maybe that's the problem. PortMidi defaults are stored using the Java preferences class -- it does different things on different platforms, and so the different implementations of PortMidi use different strategies to retrieve the preference data. On the mac, preferences are in binary files and there are system calls to locate the preferences folder. The file is com.apple.java.util.prefs.plist. Given the 64-bit and Java version questions, I'd say rebuild from sources and let us know what happens. -Roger Maurizio De Cecco wrote: > I downloaded the latest version of pmdefaults (184, i think) and > runned it on a Mac Pro (early 2009) with Leopard, and i get an error at > startup, saying that it cannot link the libpmjni.dylib library because > the architecture of the universal library do not match the current one. > > What the deal ? I have configured the system to use Java 1.6. > Should i build it from the sources ? > > By the way, how the portmidi defaults are stored ? > > Thanks, > Maurizio De Cecco > > > _______________________________________________ media_api mailing list [email protected] http://lists.create.ucsb.edu/mailman/listinfo/media_api
