2- Download the latest version of glew (1.5.3) for using the libs only
3- Compile my project with gl3.h only and link it with glew32.lib
,glew32s.lib and opengl32.lib
First time I didn’t link because the declared functions in gl3.h didn’t match with those in glew32.lib.
Then I add some lines in gl3.h.
Now I link successfully but my SDL window crash…I do anything to get it work without success…
If somebody know how to get it work please help me…
Thanks
my code is the same you mentionned above…
I’m using it to test opengl 3.2 and create an opengl 3.2 core profile.
I’m not at home so I can’t run it now…I will do it later…
Do you try to run this code too ??
You should only link with glew32.lib which contains the link definition so your program will also need glew32.dll
glew32s.lib is for static linking.
Link with one or the other. Not both!
Also, whoever wrote that tutorial should integrate GLEW into it.