Comments (10)
Could you share the error log?
from opengl-boilerplate.
Here is a zip file with my Xcode error log and the altered glew.c file.
I commented out the redefinitions and the compilation all went well.
glew.zip
What's bothering me is that it normally wouldn't be necessary to do this and it should all work out of the box in my opinion.
from opengl-boilerplate.
I did some troubleshooting for this on Linux. See: nigels-com/glew#66
The easy fix to advance external/glew to version 1.13.0, rather than 1.10.0. The longer story is that glew itself is using a git repository of the OpenGL specs, but the default behavior by GLEW is to use the latest version of the specs, not those that corresond to 1.10.0 (and work!).
I'll file a merge request or two for opengl-boilerplate
.
Nice project, BTW, I think I'll start using this, now I know about it!
-- Nigel
from opengl-boilerplate.
For what it's worth, my opinion is that it would be wiser for opengl-boilerplate
to use a numbered release for both the glew and glfixes repositories (for a pre-generated snapshot from a .tgz
) rather than top-of-tree of either of those.
-- Nigel
from opengl-boilerplate.
Yeah pulling in the submodules seems like a good idea but when either of those change, it could break the project like in this case. Glad you found what the issue was. Chopping away the redefs was a pain in the ass.
from opengl-boilerplate.
GLEW can share some of the blame for this. GLEW itself it using git to track the OpenGL specifications, but is fetching the most recent version by default, which is normally what's expected. I'll educate myself some more about submodules, and if GLEW ought to use that rather than Makefile scripting.
from opengl-boilerplate.
Hi @nigels-com, thank you for checking this out. Going to merge your PR tonight 👍
from opengl-boilerplate.
I'm experiencing an error with a similar cause on OSX. Using the currently pinned version of glew causes make to fail while building glew because of an unknown type, PFNGLGETVKPROCADDRNVPROC
. Updating glew to 2.0.0 appears to fix this issue.
from opengl-boilerplate.
My build fails because of PFNGLGETVKPROCADDRNVPROC
as well on OSX. Though updating glew to 2.0 doesn't fix it for me. Weird?
from opengl-boilerplate.
Okay now it worked after following the steps here nigels-com/glew#66 (comment). I guess I hadn't cleared some cache entirely.
from opengl-boilerplate.
Related Issues (5)
- git submodule update not working HOT 2
- no retina support on Mac HOT 1
- clion compatibility HOT 2
- clear screen buffer HOT 1
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 opengl-boilerplate.