Hello everybody!
I finally decided to jump in and start learning some OpenGL. I am using Code::Blocks and the MinGW compiler. I am also using freeGLUT for windowing, as well as GLEW for the handling of extensions. I am running Windows 7 and my AMD HD 6450 has it's drivers all up to date. I believe the problem I am having is specifically with GLEW. The reason I say this is because I was able to open up a window with freeGlut and everything
was fine and dandy until I tried adding in GLEW
Whenever I try building my project it throws me "undefined reference to ___" errors to several OpenGL functions. The weird part too is for example when it complains about glEnableVertexAttribArray it says:
undefined reference to `_imp___glewEnableVertexAttribArray
Now I'm not too knowledgeable to these things so I tried exercising my Google-fu. Alas my opponent was too strong and I was soundly defeated. The only possible lead I have is that the GLEW lib is not being recognized because the GLEW binaries are not compiled for MinGW, but only for Visual Studio.
Please let me know if you can come up with any solutions, I have been tearing out my hair in frustration at this issue for quite some time now.
As some added information I am following these tutorials on OpenGL codewise:
http://ogldev.atspace.co.uk/index.html
However, I used LazyFoo's tutorials to set up OpenGL on Code::Blocks.
Thank you so much for your help!
-Adrian