I don't have OpenGL installed.

Screen Shot 2016-12-08 at 7.19.48 PM

Don't ask me why you don't have opengl, I have no idea.

Where do I download the OpenGL library for processing?

Thank you.



  • edited December 2016

    AFAIK, from P3 atleast, there is no OpenGL library. Just use P3D or P2D. They are both OpenGL based renderers.

  • edited December 2016


    But when I try to run some code that has OpenGL class in it, it gives me this error Screen Shot 2016-12-08 at 7.33.02 PM

    I assume GL2 must be a class in OpenGL library.

  • Now where did you get that code from? It could be possible that the code is for P2 (or even Processing 1) and not P3.

  • @bahtiyar_a

    The issue is that if your code declares or assigns an object of type GL2:

    GL2 gl;

    ...then somewhere, either your code or an imported library needs to say:

    class GL2 {
      // this is my class

    This looks like you found some code somewhere and only copied part of it.

Sign In or Register to comment.