Git Product home page Git Product logo

Comments (7)

mosra avatar mosra commented on April 28, 2024

It seems that you have too old GLEW (this function is part of OpenGL 4.3, which was added in version 1.9). Try updating it, if possible.

This isn't mentioned in documentation, because I thought that it would cause no issues, as 1.9 isn't too new to not be included as part of regular updates. Actually I want to ditch GLEW altogether and replace it with something more lightweight what can be built directly in the engine. For similar reasons I'm not able to use OpenGL 4.4 functions yet even though it is already supported in some drivers. I'm going to fix this as the first thing when I get some time.

from magnum.

severin-lemaignan avatar severin-lemaignan commented on April 28, 2024

I'm not sure if it is funny or not, but: apt-cache show libglew-dev | grep Version returns 1.9.0.is.1.8.0-0ubuntu1 on Ubuntu 13.04 :-)

from magnum.

mosra avatar mosra commented on April 28, 2024

Yep, that package is 1.8, as it depends on libglew1.8. Even (future) 13.10 has this exact version of GLEW, probably because of this: https://lists.ubuntu.com/archives/ubuntu-devel/2012-November/036123.html. So the only option is to build it from source (or wait until I replace it with something better).

from magnum.

mosra avatar mosra commented on April 28, 2024

I replaced GLEW with glLoadGen. The work is in branch glloadgen, no additional dependencies are needed as everything is built in. Didn't put it into master yet, as I need to test it properly, mainly on OpenGL 2.1 hardware. Please try that branch and report if the issue persists.

from magnum.

severin-lemaignan avatar severin-lemaignan commented on April 28, 2024

Ok, the glloadgen branch compiles fine for me with default CMake options + WITH_SDL2APPLICATION=ON. clang emits an error when compiling with GL_TESTS, but this is unrelated. I open another issue for that.

from magnum.

severin-lemaignan avatar severin-lemaignan commented on April 28, 2024

Actually, there is an issue when enabling TARGET_GLES:

CMake fails with:

 CMake Error at src/CMakeLists.txt:166 (add_library):
   Objects of target "MagnumGLLoadGenObjects" referenced but no such target
   exists.

from magnum.

mosra avatar mosra commented on April 28, 2024

Oops, I overlooked this, fixed. GLLoadGen work is now in master, so closing.

from magnum.

Related Issues (20)

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.