Is there any way to run OpenGL C programs?


After installing ‘freeglut3-dev’ library I can compile the simple program I created. But when I try to run it, the terminal shows me a message saying “failed to open display ()”. In c9, it’s possible to create an external window to OpenGL programs?


Can you let me know if this thread helps?


Thanks, that’s exactly what I needed. I followed the instructions, installed the Desktop plugin and now it’s working.
Thanks again :smiley: