Results 1 to 2 of 2

Thread: GLUT errors with NVIDIA

  1. #1

    GLUT errors with NVIDIA

    I downloaded the source rpms for X4.0, used rpm --rebuild, and upgraded my Red Hat 6.2's default X11 install. Everything works fine including Quake 3. However, when I recompile my programs, I get

    GLUT: Fatal Error in graph3d: visual with necessary capabilities not found.

    I then tested some of the NeHe tutorials (lessonX.c) and got the same results. The programs have been modified to use both windowing and full screen -- no go. In my XF86Config file, I have my driver specified as 'nvidia' (and not 'nv'). Using 'nv' gives a broken X11. The NVIDIA drivers (.93; also tested .92) were also rebuilt (well, the kernel driver for .93 was) using rpm --rebuild.

    As for gcc options, I used:

    -lX11 -lXi -lXmu -lglut -lGL -lGLU -lm

    The glut libraries, along with the headers for glut, GLU, and GL were from the X4.0 distribution.

    Any clues as to what I've done wrong? I can also put up links to my source if need be.

  2. #2

    Re: GLUT errors with NVIDIA

    Hm.. figured it out. Using GLUT_ALPHA in the window initilization causes this problem. Fixed when


    was changed to

    glutInitDisplayMode(GLUT_RGBA | GLUT_DOUBLE | GLUT_DEPTH);

Similar Threads

  1. Linker Errors GLUT
    By Augusto in forum OpenGL: Windows
    Replies: 3
    Last Post: 12-21-2013, 02:08 PM
  2. nvidia sample causes win32 errors?
    By imported_titan in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 03-19-2003, 12:49 PM
  3. Blending errors on Nvidia GF4MX460 (OT?)
    By imported_Marc in forum OpenGL: Advanced Coding
    Replies: 9
    Last Post: 06-18-2002, 12:51 AM
  4. nvidia wolfman demo - shading errors
    By Zeno in forum OpenGL: User Software
    Replies: 0
    Last Post: 03-21-2002, 03:46 PM
  5. Linux GLUT errors!
    By Hamcha in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 09-14-2001, 01:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean