Demo project doesn't compile on Linux GCC


#1

Hi Jules,

Since 3 or 4 days, the Demo project return a error on Linux

Compiling juce_opengl.cpp
In file included from ../../../../modules/juce_opengl/juce_opengl.cpp:209:0:
../../../../modules/juce_opengl/opengl/juce_OpenGLContext.cpp: In member function ‘void juce::OpenGLContext::CachedImage::initialiseOnThread()’:
../../../../modules/juce_opengl/opengl/juce_OpenGLContext.cpp:372:53: error: ‘glGenVertexArrays’ was not declared in this scope
             glGenVertexArrays (1, &vertexArrayObject);
                                                     ^
../../../../modules/juce_opengl/opengl/juce_OpenGLContext.cpp:373:49: error: ‘glBindVertexArray’ was not declared in this scope
             glBindVertexArray (vertexArrayObject);
                                                 ^
../../../../modules/juce_opengl/opengl/juce_OpenGLContext.cpp: In member function ‘void juce::OpenGLContext::CachedImage::shutdownOnThread()’:
../../../../modules/juce_opengl/opengl/juce_OpenGLContext.cpp:397:56: error: ‘glDeleteVertexArrays’ was not declared in this scope
             glDeleteVertexArrays (1, &vertexArrayObject);
                                                        ^
make: *** [build/intermediate/Debug/juce_opengl_1890bee0.o] Erreur 1

Thanks :)


#2

Sadly does same on my Pi :'(