Problem with openGL import
in
Core Library Questions
•
2 years ago
using processing 1.2.1
On windows or on linux I get this exception:
Exception in thread "Animation Thread" java.lang.RuntimeException: You need to use "Import Library" to add processing.opengl.PGraphicsOpenGL to your sketch.
at processing.core.PApplet.makeGraphics(Unknown Source)
at processing.core.PApplet.size(Unknown Source)
at processing.core.PApplet.size(Unknown Source)
at Rama.setup(Rama.java:180)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
just by using this code:
import processing.opengl.*;
.
.
.
size(255,255,OPENGL);
Wasn't this supposed to be solved?
1