We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpIntegration › maxlink Could not load class
Page Index Toggle Pages: 1
maxlink Could not load class (Read 1048 times)
maxlink Could not load class
Nov 21st, 2006, 8:24pm
 
any help would be great. I downloaded the maxlink files and followed the instructions. I then restarted max and processing. Processing loads the test app without problems but the max msp brings back a "could not load class" error whenever I try to load one of the example patches. I'm using the newest processing and max/msp, and OS X 10.4.8.
Re: maxlink Could not load class
Reply #1 - Nov 24th, 2006, 9:59pm
 
Got it!! ha
:: MaxLink 0.34 installation instructions for Mac OS X ::


:: For Processing ::

  Drag the "Library-MaxLink" folder into your Processing examples folder
     (/Applications/processing-0085/examples/).

  Drag the "maxlink" folder into your Processing libraries folder
     (/Applications/processing-00xx/libraries).


:: For Max/MSP 4.5+ ::

  Drag the "jk" folder into the /Applications/MaxMSP 4.5/Cycling '74/java/classes folder.

  Drag the "p5-sketches" folder into the /Applications/MaxMSP 4.5/Cycling '74/ folder.

  Add the line

     max.dynamic.jar.dir "/Applications/MaxMSP 4.5/Cycling '74/p5-sketches"

     to your max.java.config.txt file (in /Applications/MaxMSP 4.5/Cycling '74/java).


Restart both apps.  

If you have a firewall running, enable network traffic on port 7474.

Check out the Processing examples from File:Sketchbook:Examples:Library-MaxLink.  Corresponding Max patches can be found in the "example max patches" folder.

It is no longer necessary to copy files into each sketch's code folder -- just add the library from the Processing application from Sketch:Import Library:maxlink.


More info: http://jklabs.net/maxlink/
Page Index Toggle Pages: 1