If you’re seeing this:
No library found for wordcram
As of release 1.0, libraries must be installed in a folder named ‘libraries’ inside the ‘sketchbook’ folder.
…you’ve come to the right place!
WordCram installs like any normal Processing library — just download,
unzip, and copy it into the “libraries” folder.
- Make sure you have Processing installed and working on your computer
- version 1.0 or greater should be fine.
- Download and unzip WordCram.
- Open your Processing sketchbook folder, where all your sketches are
saved. If you don’t know where your Processing sketchbook folder is,
open Processing, and in File > Preferences, look for “Sketchbook
folder”. - In your Processing sketchbook folder, there should be a folder named
libraries. Copy the WordCram folder into it. - Restart Processing.
WordCram is installed!
Run a Sample WordCram
In Processing, open File > Examples…, look under Contributed Libraries > WordCram, and run the ‘helloWorld’ example.
Hi – newbie at this so sorry if I am being a bit dim. I have installed Processing 1.5.1 but cannot find the sketchbook folder or the libraries folder.
With Processing running when I click on the File Menu I can see New, Open, Sketchbook & Examples . . . but not Preferences as you suggest in your instructions.
Under the Processing Menu there is About Processing (nothing happens when I click on this) and Preferences.
When I click on Prefrences I am told my Sketchbook location is: /Users/[myusername]/Documents/Processing .
I have put WordCram in this folder but I still get the “No library found for wordcram
As of release 1.0, libraries must be installed in a folder named ‘libraries’ inside the ‘sketchbook’ folder. ” when I try to run WordCram.
So I am a bit stuck. I am running Mac OS X Version 10.6.8. Can you help?
Try adding WordCram into /Users/[yourusername]/Documents/Processing/libraries, and restart Processing.
You should have these paths:
/Users/[yourusername]/Documents/Processing/libraries/WordCram
/Users/[yourusername]/Documents/Processing/libraries/WordCram/examples
/Users/[yourusername]/Documents/Processing/libraries/WordCram/library
/Users/[yourusername]/Documents/Processing/libraries/WordCram/reference
/Users/[yourusername]/Documents/Processing/libraries/WordCram/src
If you have all those paths, and you’re still having problems, let me know.
Hi, Thanks for the reply.
In my /Users/[yourusername]/Documents/Processing folder I do not have a libraries folder. So I made one (using create new folder), renamed it libraries and put WordCram in it.
I restarted Processing and when I go to File > Sketchbook – libraries is not available as an option.
However – if I rename it Libraries (with a capital ‘L’ rather than a lower case one) it is available and I can navigate through to the Hello World example – and that works as well.
Oh! I’m sorry, I think I see where the confusion is coming from. Processing used to put library examples in the menu under File > Sketchbook > libraries, but recently, they moved it to File > Examples…, then Contributed Libraries.
Rename the folder back to “libraries,” lower-case L, and restart Processing. Then open File > Examples…, look under Contributed Libraries > WordCram, and run the ‘helloWorld’ example. If you leave it named “Libraries,” I’m not sure Processing will find it. Let me know if this helps.
I updated the description above. Sorry for the confusion, but thanks for letting me know!
hi….i installed processing 2.0b3. and using wordcram 0.5.1……but none of the word cram examples are running in processing.
getting the following exception
Exception in thread “Animation Thread” java.lang.NoClassDefFoundError: processing/core/PGraphics2D
at wordcram.WordCramEngine.(Unknown Source)
at wordcram.WordCram.getWordCramEngine(Unknown Source)
at wordcram.WordCram.drawAll(Unknown Source)
at helloworld.setup(helloworld.java:47)
at processing.core.PApplet.handleDraw(PApplet.java:2103)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:190)
at processing.core.PApplet.run(PApplet.java:2006)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassNotFoundException: processing.core.PGraphics2D
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
… 8 more
But, when i tried running the same word cram file on processing 1.5.1 it works.
Its not recognizing word cram.
Please help.
Looks like a bug! https://github.com/danbernier/WordCram/issues/10
Wait, if you’re using 0.5.1, that’s the problem. WordCram wasn’t ready for Processing 2.0 until v0.5.3. Try upgrading to the latest WordCram, and you should be fine.
It appears this is a result of moving from PGraphics to OpenGL in the shift from 1.5.x to 2.0. Wordcram appears to depend on classes that were deprecated and have now been removed. Unfortunately processing 1.5.1 is only available for a limited number of platforms (which does not include linux x64) so I have not been able to test this by trying 1.5.1.
Andrae, what version of WordCram are you using? I can run WC0.5.6 on Processing 2.0 just fine; any version after 0.5.3 should work.
I have processing 2.0b3 and wordcram 0.5.3 and for some reason installation isn’t working. I cannot load the examples and my program will not run and I’m not sure why. I am very new to this but have comp sci knowledge..
Do you have any error messages? In the meantime, I’d say upgrade wordcram 0.5.6, but without error messages, it’s hard to say. I’ve been running with 2.0b5, and it works nicely…
Are there any plans to support the “Export Application” feature in the new Processing? As far as I can tell it doesn’t work with WordCram right now…
It should work – it just did for me, anyway.
Try posting the code, and any error messages, in the forum, and we’ll see if we can sort it out: https://groups.google.com/forum/?fromgroups#!forum/wordcram