Giter Club home page Giter Club logo

juce-opengl-template's People

Contributors

timart avatar

Stargazers

 avatar

Watchers

 avatar

juce-opengl-template's Issues

Template is deprecated as of JUCE 6.0.8

I'm trying to compile this with JUCE 6.0.8, on Debian 11, but compilation fails:

Compiling OpenGLComponent.cpp
Compiling Main.cpp
Compiling BinaryData.cpp
Compiling include_juce_core.cpp
Compiling include_juce_data_structures.cpp
Compiling include_juce_events.cpp
Compiling include_juce_graphics.cpp
Compiling include_juce_gui_basics.cpp
Compiling include_juce_gui_extra.cpp
Compiling include_juce_opengl.cpp
In file included from ../../Source/OpenGLComponent.cpp:9:
../../Source/OpenGLComponent.hpp:20:7: warning: ‘OpenGLComponent’ has a field ‘OpenGLComponent::projectionMatrix’ whose type uses the anonymous namespace [-Wsubobject-linkage]
   20 | class OpenGLComponent : public Component,
      |       ^~~~~~~~~~~~~~~
../../Source/OpenGLComponent.hpp:20:7: warning: ‘OpenGLComponent’ has a field ‘OpenGLComponent::viewMatrix’ whose type uses the anonymous namespace [-Wsubobject-linkage]
../../Source/OpenGLComponent.cpp: In member function ‘virtual void OpenGLComponent::newOpenGLContextCreated()’:
../../Source/OpenGLComponent.cpp:45:30: error: ‘struct juce::OpenGLExtensionFunctions’ has no member named ‘glGenVertexArrays’
   45 |     openGLContext.extensions.glGenVertexArrays(1, &VAO); // Vertex Array Object
      |                              ^~~~~~~~~~~~~~~~~
../../Source/OpenGLComponent.cpp:50:30: error: ‘struct juce::OpenGLExtensionFunctions’ has no member named ‘glBindVertexArray’
   50 |     openGLContext.extensions.glBindVertexArray (VAO);
      |                              ^~~~~~~~~~~~~~~~~
../../Source/OpenGLComponent.cpp: In member function ‘virtual void OpenGLComponent::renderOpenGL()’:
../../Source/OpenGLComponent.cpp:100:30: error: ‘struct juce::OpenGLExtensionFunctions’ has no member named ‘glBindVertexArray’
  100 |     openGLContext.extensions.glBindVertexArray (VAO);
      |                              ^~~~~~~~~~~~~~~~~
../../Source/OpenGLComponent.cpp:102:30: error: ‘struct juce::OpenGLExtensionFunctions’ has no member named ‘glBindVertexArray’
  102 |     openGLContext.extensions.glBindVertexArray (0);
      |                              ^~~~~~~~~~~~~~~~~
make: *** [Makefile:103: build/intermediate/Debug/OpenGLComponent_fe08fa6f.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from ../../Source/MainContentComponent.hpp:11,
                 from ../../Source/Main.cpp:10:
../../Source/OpenGLComponent.hpp:20:7: warning: ‘OpenGLComponent’ has a field ‘OpenGLComponent::projectionMatrix’ whose type uses the anonymous namespace [-Wsubobject-linkage]
   20 | class OpenGLComponent : public Component,
      |       ^~~~~~~~~~~~~~~
../../Source/OpenGLComponent.hpp:20:7: warning: ‘OpenGLComponent’ has a field ‘OpenGLComponent::viewMatrix’ whose type uses the anonymous namespace [-Wsubobject-linkage]

I am assuming something is deprecated as of this JUCE version? Or maybe I'm missing something?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.