Sign in to follow this  
patric

Visual C++ cant find specified file

Recommended Posts

patric    101
I've been trying to use visual c++ 2008 express and whenever i try to debug a programme it says that it cant find the specified file. Heres my source code if that helps

#include <GL/gl.h>
#include <GL/glut.h>

void display (void){
glClearColor (0.0, 0.0, 0.0, 1.0);
glClear (GL_COLOR_BUFFER_BIT);
glLoadIdentity();
gluLookAt (0.0, 0.0, 5.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0);
square();
glFlush();
}
int main (int argc, char **argv){
glutInit (&argc, argv);
glutInitDisplayMode (GLUT_SINGLE);
glutInitWindowSize (500,500);
glutInitWindowPosition (100, 100);
glutCreateWindow ("Simple Window");
glutDisplayFunc (display);
glutMainLoop();
return 0;
}

Please help, I've been looking for a sulution for hours

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this