Can someone please respond to my message which is the same as Message: 4235315 :
 Thank you,
Cristina.
 
 
  I tried to build a simple program with Open GL and Microsoft Developer
Studio 6, but I had some problems linking it, as the file attached
(erros.txt).
    I tried to follow the example 2 (atached program.txt) of the Red_Book,
but this erros did not allowed me to continue .
    In the file readme-win32.txt, that I had downloaded it, talks about an
glut.dsw file, but i don`t have it.
    I`m using a windows98 and Microsoft developer studio Visual c++.
    If you have any advice or know any site in the net that can help me, I
will be vary glad.
    The same program running in the windows NT, another error appeard
"unexpected end of file".

    I`m sending my workspace for you try to see if I made some mistake

    Thank you so much !

    Joo Aurelio

Content-Type: text/plain;
name="program.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="program.txt"

#include <gl/gl.h>
#include <gl/glu.h>
#include <gl/glaux.h>
#include <gl/glut.h>

void display(void)
{
glClear (GL_COLOR_BUFFER_BIT);

glColor3f (1.0, 1.0, 1.0);
glBegin (GL_POLYGON);

glVertex3f (0.25, 0.25, 0.0);
glVertex3f (0.75, 0.25, 0.0);
glVertex3f (0.75, .075, 0.0);
glVertex3f (0.25, 0.75, 0.0);
glEnd();

glFlush();
}

void init (void)

{
glClearColor (0.0, 0.0, 0.0, 0.0);

glMatrixMode(GL_PROJECTION);

glLoadIdentity();

glOrtho(0.1, 1.0, 0.0, 1.0, -1.0, 1.0);
}

int main (int argc, char** argv)
{
glutInit(&argc, argv);
glutInitDisplayMode (GLUT_SINGLE | GLUT_RGB);
glutInitWindowSize (250, 250);
glutInitWindowPosition (100, 100);
glutCreateWindow ("hello");
init ();
glutDisplayFunc (display);
glutMainLoop();


return 0;
}
Content-Type: text/plain;
name="erros.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="erros.txt"

error LNK2001: unresolved external symbol _glFlush
teste.obj : error LNK2001: unresolved external symbol _glEnd
teste.obj : error LNK2001: unresolved external symbol _glVertex3f
teste.obj : error LNK2001: unresolved external symbol _glBegin
teste.obj : error LNK2001: unresolved external symbol _glColor3f
teste.obj : error LNK2001: unresolved external symbol _glClear
teste.obj : error LNK2001: unresolved external symbol _glOrtho
teste.obj : error LNK2001: unresolved external symbol _glLoadIdentity
teste.obj : error LNK2001: unresolved external symbol _glMatrixMode
teste.obj : error LNK2001: unresolved external symbol _glClearColor
teste.obj : error LNK2001: unresolved external symbol _glutMainLoop@0
teste.obj : error LNK2001: unresolved external symbol _glutDisplayFunc@4
teste.obj : error LNK2001: unresolved external symbol =
_glutCreateWindow@4
teste.obj : error LNK2001: unresolved external symbol =
_glutInitWindowPosition@8
teste.obj : error LNK2001: unresolved external symbol =
_glutInitWindowSize@8
teste.obj : error LNK2001: unresolved external symbol =
_glutInitDisplayMode@4
teste.obj : error LNK2001: unresolved external symbol _glutInit@8
LIBC.lib(wincrt0.obj) : error LNK2001: unresolved external symbol =
_WinMain@16
Release/joao.exe : fatal error LNK1120: 18 unresolved externals
Error executing link.exe.

joao.exe - 19 error(s), 0 warning(s)