For GL tutorials, check out our (actually, DemoNews) hosted site NeHe (http://www.gamedev.net/hosted/nehe).
🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
OpenGL Newbie???...
The windows openGL header references stuff in window.h for the wgl functions so you have to #include windows.h for gl.h to work right (which you would do automatically if you weren't using GLUT).
The GLUT FAQ actually has a Q (and an A) on this if you want more info, but it basically says "Don't include gl.h and glu.h in your source files."
Open up VC++ and once you've started a new project click on...
Projects->settings->link
In the Object/library box before kernal32 type in...
opengl32.lib glu32.lib
Hit ok.
Works the same for DirectX and Glide.
Thanks Alot In Advance,
Tallek,
..spells fizzle too much..darn...
Rhino, thank you for telling me about the tutorial. It was a very good source except now I keep having linking errors with all the gl stuff I put the gl things into the project settings and it reduces it completely except to LIBCD.lib and I am trying to resolve that.
Tallek, any idea's would help
mabye I am just an idiot
or I have bad luck