Giter Club home page Giter Club logo

Comments (10)

andersonfreitas avatar andersonfreitas commented on September 15, 2024

Could you share the error log?

from opengl-boilerplate.

ackoujens avatar ackoujens commented on September 15, 2024

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.

nigels-com avatar nigels-com commented on September 15, 2024

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.

nigels-com avatar nigels-com commented on September 15, 2024

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.

ackoujens avatar ackoujens commented on September 15, 2024

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.

nigels-com avatar nigels-com commented on September 15, 2024

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.

andersonfreitas avatar andersonfreitas commented on September 15, 2024

Hi @nigels-com, thank you for checking this out. Going to merge your PR tonight 👍

from opengl-boilerplate.

SamDeakin avatar SamDeakin commented on September 15, 2024

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.

Tsarpf avatar Tsarpf commented on September 15, 2024

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.

Tsarpf avatar Tsarpf commented on September 15, 2024

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)

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.