Thread: Glut.h

  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    21

    Glut.h

    Hi I am learning openGl and glut now and I place those necessary files like glut.h, glut32.dll and glut32.lib in the respective folders (I am using MSVC ++ 6.0). The problem is the program cannot be executed but it compiles and builds well.

    The error they showed me is
    PHP Code:
    failed to create OPENGL rendering context 
    . what does this means? thanx in advance.

  2. #2
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,268
    There could be a few things wrong to cause this. Your graphics card might night support hardware accelleration. Your graphics drivers could be screwed up. Or there could be some other windows incompatability going on.

    What I would try first is uninstalling your graphics driver, then rebooting. After reboot install the latest graphics driver you can find on the internet for your card. After another reboot, see if that fixed anything.

  3. #3
    Registered User
    Join Date
    Aug 2004
    Posts
    21
    thanx but it didn't work...

  4. #4
    Registered User
    Join Date
    Oct 2005
    Posts
    1

    Lightbulb glut.h

    Please check out this.

  5. #5
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,665
    Yes, talking of checking things out - how about you start with Rule 5
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How do I get and install glut.h?
    By jsrig88 in forum C++ Programming
    Replies: 6
    Last Post: 05-15-2009, 09:35 AM
  2. Switching compilers for C++ for glut.h
    By jsrig88 in forum C++ Programming
    Replies: 1
    Last Post: 05-05-2009, 04:02 PM
  3. Making glut.h work
    By jsrig88 in forum C++ Programming
    Replies: 3
    Last Post: 04-09-2009, 12:35 AM
  4. OpenGL: glut.h error
    By reaperman in forum C++ Programming
    Replies: 2
    Last Post: 10-29-2008, 12:09 PM
  5. Missing glut.h file in Dev C++
    By yaya in forum C++ Programming
    Replies: 3
    Last Post: 06-26-2007, 07:12 AM