Okay, so, I've done a bit more research into the area of OpenGL programming, and I've noticed one common thing that I don't have, opengl.h
I'm going to make the assumption that this would have a...
Type: Posts; User: insane
Okay, so, I've done a bit more research into the area of OpenGL programming, and I've noticed one common thing that I don't have, opengl.h
I'm going to make the assumption that this would have a...
okay, so I think I've narrowed down my problem, now I need someone to help me expand upon the glut APIENTRY glutMainLoop(). I don't actually know how to use it, or expand upon it, so if someone could...
I changed the void main to int main, and when I did that, it successfully compiled, but I have absolutely no idea why, it shouldn't have made a difference on the declarations within gl.h. But I'll...
sorry about that
Okay, so I tried taking out windows.h, and changed the void to int and gave it a return value. It compiled, but nothing happenedwhen I ran it. So I put windows.h back in, and it...
okay, here is the source code, and I have attached a copy of gl.h just to be sure
//---------------------------------------------------------------------------
#pragma hdrstop
...
I am trying to teach myself open gl programming (with the help of glut), but every time I try to compile a program, I get a declaration syntax error within gl.h, and I can't seem to get around it....
I'm using Borland Visual C++ 5.0, and I did keep a copy of the original header just to be safe
I'm looking to get started on learning how to use open gl, but every time I try to compile one of the many sample programs that I have, I keep getting multiple declaration syntax errors within gl.h...