skaslev / gl3w

Simple OpenGL core profile loading
http://github.com/skaslev/gl3w
The Unlicense
705 stars 157 forks source link

some errors when using gl3w , help!!! #54

Closed lugui2009 closed 6 years ago

lugui2009 commented 6 years ago

when I using the gl3w , I encountered these errors.Someone can help me .Thank you very much. gl3w

skaslev commented 6 years ago

Those are defined in glcorearb.h header which lives right besides gl3w.h.

How are you including gl3w.h header in your code? What's your include path while building? Also, can you paste the full (from the beginning) error output?

tombsar commented 6 years ago

It looks as though you have installed gl3w.h to the /usr/include/GL/ directory. Did you also copy gl3w's version of glcorearb.h to that same location? These kinds of errors usually happen if the version of glcorearb.h used to generate gl3w.h is different from the one the compiler finds when trying to compile a program.

lugui2009 commented 6 years ago

Thank you very much.That's it .@tombsar