This repository has been archived by the owner on Sep 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Setting Up Eclipse for SPARCK
maybites edited this page Mar 18, 2020
·
3 revisions
If you need to edit the java externals for SPARCK, you can use the Eclipse IDE for this.
- download Eclipse: https://www.eclipse.org/downloads/
- Install the Standard Eclipse setup
- Open Eclipse and choose a suitable folder as a workspace on you disk. (shouldn't be inside the sparck repo)
- Import the Eclipse project into your workspace:
- Right-click into the Package Explorer and choose 'Import..'
- Choose 'General/Projects from Folders or Archive' -> Next
- Press 'Directory...' and choose the /externals/java folder.
- Create the needed UserLibraries
- open Eclipse Preferences (On OSX: Menu > Eclipse > Preferences.., On WIN: Menu > Window> Preferences.., )
- navigate to Java > Build Path > User Libraries
- create the SparckLibraries
- Press New..
- Enter 'SparckLibraries'
- Select the newly created library
- Press Add External Jars..
- Navigate to /sparck/java-classes/lib and choose
- commons-net-3.6.jar
- opencv-420.jar
- PixelPusher.jar
- toxiclibscore.jar
- fold open the openCV-420.jar, select native library and press Edit..
- Navigate to the /sparck/java-classes/lib folder and press Open..
- create the MaxMSPLibs
- Press New..
- Enter 'MaxMSPLibs'
- Select the newly created library
- Press Add External Jars..
- Navigate to ~/Documents/Max 8/Packages/max-mxj/java-classes/lib/ and choose
- jitter.jar
- jode-1.1.2-pre-embedded.jar
- max.jar
- Press in the Preference Window on 'Apply and Close'
To test if you setup is complete: Press the 'Build All..' button in the top toolbar. Eclipse should now compile the java code and create the sparck.jar inside /sparck/java-classes/lib.
(c) by Martin Froehlich maybites