prog.cpp:4:21: error: GL/glut.h: No such file or directory
prog.cpp:5:20: error: GL/glu.h: No such file or directory
prog.cpp:9:48: error: /usr/lib/oss/include/sys/soundcard.h: No such file or directory
prog.cpp: In function ‘int main(int, char**)’:
prog.cpp:31: error: ‘SNDCTL_DSP_SETFRAGMENT’ was not declared in this scope
prog.cpp:36: error: ‘AFMT_S16_LE’ was not declared in this scope
prog.cpp:37: error: ‘SNDCTL_DSP_SETFMT’ was not declared in this scope
prog.cpp:43: error: ‘SNDCTL_DSP_SPEED’ was not declared in this scope
prog.cpp:49: error: ‘SNDCTL_DSP_CHANNELS’ was not declared in this scope
prog.cpp:54: error: ‘glutInit’ was not declared in this scope
prog.cpp:55: error: ‘GLUT_DEPTH’ was not declared in this scope
prog.cpp:55: error: ‘GLUT_RGBA’ was not declared in this scope
prog.cpp:55: error: ‘GLUT_DOUBLE’ was not declared in this scope
prog.cpp:55: error: ‘glutInitDisplayMode’ was not declared in this scope
prog.cpp:56: error: ‘glutInitWindowSize’ was not declared in this scope
prog.cpp:57: error: ‘glutCreateWindow’ was not declared in this scope
prog.cpp:58: error: ‘glutDisplayFunc’ was not declared in this scope
prog.cpp:59: error: ‘glutIdleFunc’ was not declared in this scope
prog.cpp:60: error: ‘glutKeyboardFunc’ was not declared in this scope
prog.cpp:61: error: ‘glutMouseFunc’ was not declared in this scope
prog.cpp:62: error: ‘glutReshapeFunc’ was not declared in this scope
prog.cpp:63: error: ‘glClearColor’ was not declared in this scope
prog.cpp:65: error: ‘glutMainLoop’ was not declared in this scope
prog.cpp: In function ‘void display()’:
prog.cpp:76: error: ‘GL_COLOR_BUFFER_BIT’ was not declared in this scope
prog.cpp:76: error: ‘GL_DEPTH_BUFFER_BIT’ was not declared in this scope
prog.cpp:76: error: ‘glClear’ was not declared in this scope
prog.cpp:77: error: ‘GL_DEPTH_TEST’ was not declared in this scope
prog.cpp:77: error: ‘glEnable’ was not declared in this scope
prog.cpp:79: error: ‘glLoadIdentity’ was not declared in this scope
prog.cpp:87: error: ‘GL_LINE_STRIP’ was not declared in this scope
prog.cpp:87: error: ‘glBegin’ was not declared in this scope
prog.cpp:88: warning: comparison between signed and unsigned integer expressions
prog.cpp:120: error: ‘glVertex3f’ was not declared in this scope
prog.cpp:124: error: ‘glEnd’ was not declared in this scope
prog.cpp:126: error: ‘glutSwapBuffers’ was not declared in this scope
prog.cpp:127: error: ‘glutPostRedisplay’ was not declared in this scope
prog.cpp:81: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result
prog.cpp: In function ‘void keyboard(unsigned char, int, int)’:
prog.cpp:134: error: ‘glutDestroyWindow’ was not declared in this scope
prog.cpp:135: error: ‘exit’ was not declared in this scope
prog.cpp: In function ‘void changeSize(int, int)’:
prog.cpp:152: error: ‘GL_PROJECTION’ was not declared in this scope
prog.cpp:152: error: ‘glMatrixMode’ was not declared in this scope
prog.cpp:155: error: ‘glLoadIdentity’ was not declared in this scope
prog.cpp:158: error: ‘glViewport’ was not declared in this scope
prog.cpp:162: error: ‘glOrtho’ was not declared in this scope
prog.cpp:165: error: ‘GL_MODELVIEW’ was not declared in this scope
prog.cpp:149: warning: unused variable ‘ratio’