Original Post
Ok, I desperately need some help here. I must of followed every single guide in the world on how to set up opengl and this and that, and NOTHING is working.. Here's the trouble:
I'm trying to learn OpenGL with SuperBible 5th Ed, and it says, in order to do so you need to set up freeglut, glut.h, glew.h, blah blah, link it all, in a right order, disable some things, and what not. Its in chapter 2 when you do your first program; drawing a simple triangle.
Basically, I thought I finally done it all. I downloading GLEW, I downloaded and installed freeglut, but I keep getting an "undefined reference to" when calling functions from glut and glew. Can someone just lay ALL the files I need on a plate and give me a full on guide on how to set it up.
All I'm trying to do is draw this ****ing triangle..
EDIT: The trouble is I haven't got the right .lib files for GLTools. I have all the source code, but I am not sure how to compile these files with MINGW into .o and .a files. Can someone help me? Or can someone direct me to GLTools binaries? Cheers.
I'm trying to learn OpenGL with SuperBible 5th Ed, and it says, in order to do so you need to set up freeglut, glut.h, glew.h, blah blah, link it all, in a right order, disable some things, and what not. Its in chapter 2 when you do your first program; drawing a simple triangle.
Basically, I thought I finally done it all. I downloading GLEW, I downloaded and installed freeglut, but I keep getting an "undefined reference to" when calling functions from glut and glew. Can someone just lay ALL the files I need on a plate and give me a full on guide on how to set it up.
All I'm trying to do is draw this ****ing triangle..
EDIT: The trouble is I haven't got the right .lib files for GLTools. I have all the source code, but I am not sure how to compile these files with MINGW into .o and .a files. Can someone help me? Or can someone direct me to GLTools binaries? Cheers.