Results 1 to 4 of 4

Thread: very simple question

  1. #1
    Junior Member Newbie
    Join Date
    Jun 2000
    Location
    detroit,mi,usa
    Posts
    1

    very simple question

    i don't know why i should get this error. i have made sure all .h and .dll files included.

    C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\GL/glut.h(10) : fatal error C1083: Cannot open include file: 'GL/gl.h': No such file or directory
    Error executing cl.exe.

    can anyone help to run opengl in windows 98 with vc++.

    Thanks in advance

  2. #2
    Member Contributor
    Join Date
    May 2000
    Location
    Ottawa, Ontario, Canada
    Posts
    75

    Re: very simple question

    What's with the (10)? Also, are you sure the file is there? In your .cpp file, I assume you just have #INCLUDE <glut.h> - if the file is there it should work. Open the glut.h file to make sure is not corrupted; also check its attributes. Hope that helps.

  3. #3
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    2,978

    Re: very simple question

    Looks like the compiler can't open gl.h.
    glut.h needs gl.h to work, so make sure gl.h is in the <includedirectory>/gl/ directory.

  4. #4
    Junior Member Newbie
    Join Date
    May 2000
    Location
    cologne/germany
    Posts
    24

    Re: very simple question

    checked your #include ??? is it #include <glut.h> ?? it has to be #include <gl/glut.h> if your glut.h is in the GL directory

Similar Threads

  1. simple question
    By technologist in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 10-04-2017, 11:57 AM
  2. hello! A simple question
    By yxyybbs in forum OpenSL ES
    Replies: 1
    Last Post: 07-19-2011, 09:03 AM
  3. new to GL simple question
    By idunno in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 03-10-2005, 02:18 AM
  4. A simple question
    By thunder2001 in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 02-16-2004, 11:52 PM
  5. one more simple question
    By newmannium in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 02-22-2001, 06:09 PM

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