Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: Setting for using OpengGl in VC.Net

  1. #1
    Junior Member Newbie
    Join Date
    May 2005
    Location
    China
    Posts
    1

    Setting for using OpengGl in VC.Net

    I meet a problem when I use the glu fuctions.I've put the glut.dll and glut32.dll in system32(windows 2000),and the .lib and .h files in the include and lib directorys.But I meet errors when debug.I list the codes below:
    int _tmain(int argc, _TCHAR* argv[])
    {
    glutInit(&argc, argv);
    glutInitDisplayMode (GLUT_SINGLE | GLUT_RGB);
    glutInitWindowSize(650, 50);
    glutCreateWindow(argv[0]);
    init ();
    glutReshapeFunc (reshape);
    glutDisplayFunc (display);
    glutKeyboardFunc (keyboard);
    glutMainLoop();
    return 0;
    }
    It seems that the glut fuctions failed to work.Could you help me?Thank you! violinming@163.com
    if start,go ahead

  2. #2
    Junior Member Regular Contributor
    Join Date
    Aug 2004
    Location
    Angers, France
    Posts
    248

    Re: Setting for using OpengGl in VC.Net

    Hello,
    Post these errors to help us understanding your problem
    The .Product will make you .Believe

  3. #3
    Junior Member Newbie
    Join Date
    Oct 2004
    Location
    PA, USA
    Posts
    5

    Re: Setting for using OpengGl in VC.Net

    This link tells about setting up glut amoung other things:
    http://www.geocities.com/hughesinnov...glsetup01.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •