Sign in to follow this  

glew32s.lib

This topic is 3489 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

Hi, I've been linking to glew32.lib with no problems, but want to link to glew32s.lib instead so I don't have to worry about glew32.dll. However, when I simply remove glew32.lib from the project and substitute it with glew32s.lib, I get linker errors for all the glew functions. I cannot figure out what the heck is going on. Any ideas? Thanks

Share this post


Link to post
Share on other sites
I think I've got it. You have to #define GLEW_STATIC up front in glew.h to get this to work. Real obvious :)

After that you get an error about not finding LIBC, so you have to exclude that in the linker settings. Then it works.

Share this post


Link to post
Share on other sites
you need something like #define GLEW_BUILD=GLEW_STATIC
and you can also incle glew files into your project, instead of building a library.

Share this post


Link to post
Share on other sites

This topic is 3489 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