Sign in to follow this  

Can I use GLEW without requiring GLU?

This topic is 2571 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I never use GLU functionality anymore, but I've become a big fan of GLEW. I've had a couple people unable to compile my project because they did not have GLU installed yet (Ubuntu users). Is there a way to effectively disable GLU in GLEW? I suppose I could edit the GLEW header to not include GLU, but I think that violates the license, and GLEW seems to have lots of preprocessor directives. Maybe it has one I don't know about... ?

Share this post


Link to post
Share on other sites
Remove it. Also, email the developer to remove it.

//edit: actually, I think they include it because GLU include gl.h and if someone in their source includes glu.h before glew.h, then you get preprocessor messages from GLEW complaining. In your case, just comment out GLU.h

Share this post


Link to post
Share on other sites

This topic is 2571 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this