Comments (7)
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.
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.
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.
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.
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.
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.
Oops, I overlooked this, fixed. GLLoadGen work is now in master
, so closing.
from magnum.
Related Issues (20)
- MacOS: GlfwApplication.cpp::currentGlfwModifiers wrongly detects modifiers in mouseMoveEvent HOT 7
- magnum example code can't find SDL2 file HOT 2
- CorradeMain.lib - unresolved external symbol main HOT 3
- Provide a passthrough access to image data from scene importers HOT 1
- Update vcpkg packages to include EmscriptenApplication on Emscripten HOT 2
- Failing to link Magnum::Math? HOT 3
- few compile warnings HOT 1
- How to point to a local installation of `corrade` without using the bootstrap project? HOT 3
- undefined symbol: flextGLInit HOT 4
- Image rendered in gray since 1847c72 HOT 18
- Emscripten 3.1.21+ crashes EmscriptenApplication: "AsciiToString is not defined" HOT 4
- How to build from source on MSYS2 MINGW64? HOT 1
- keyReleaseEvent not triggered after printscreen on OSX HOT 6
- Conversion from CubicHermite to Bezier is wrong
- Mixing with raw openGL calls and Context::current().resetState() HOT 3
- C Bindings HOT 5
- WebGPU backend HOT 2
- Parallel rendering with glb files HOT 5
- Conflict with near and far Macros When Including WinSock2.h After Matrix4.h HOT 2
- emsdk compile error: typedef redefinition with different types HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magnum.