Results 1 to 6 of 6

Thread: Very very new to OpenGL

  1. #1
    Guest

    Very very new to OpenGL

    Ok, I'll probably just get flamed for being so ignorant, but I've wasted good money on a book and many hours searching the site for this so I might as well ask. I understand OpenGL code and know C++ (points, trees, classes, etc), but am very shakey on linking and header files. I can't get the computer to find gl.h or glu.h and I was wondering what I need to DL, or include (besides #include<gl\gl.h> etc...) to get anything to run on codewarrior 5 for win98... I mean like, what .mcp do I set up/ where do I find the files I need to include. This alwasy seems to be handwaved or just overlooked as something people should know from C, esp. in introductory courses which is why I'm here wasting everyone's time. I'm hurting for specifics, so responses like: DL the files from the opengl site and link them, won't do much good...
    Thanks in advance for any help.

  2. #2
    Senior Member Frequent Contributor
    Join Date
    Sep 2000
    Location
    SWEDEN
    Posts
    601

    Re: Very very new to OpenGL

    Copy gl.h and glu.h to the following directory:

    [CodeWarrior]\Win32-x86 Support\Headers\GL

    I think you have to create the GL folder first though. Then add the gl.lib and glu.lib files to the project that uses OpenGL. Also remember that on windows you need to include windows.h before gl.h

    [This message has been edited by harsman (edited 07-12-2001).]

  3. #3
    Guest

    Re: Very very new to OpenGL

    Where do I find the gl.lib and glu.lib? Do I DL them from somewhere? I saw instructions on the NeHe site for installing software on a mac, but not about a PC.

  4. #4
    Guest

    Re: Very very new to OpenGL

    Where do I find the gl.lib and glu.lib? Do I DL them from somewhere? I saw instructions on the NeHe site for installing software on a mac, but not about a PC.

  5. #5
    Senior Member Frequent Contributor
    Join Date
    Sep 2000
    Location
    SWEDEN
    Posts
    601

    Re: Very very new to OpenGL

    They are included with CodeWarrior (at lest I think they are). Check out the directories with libraries, or do a search for the files.

  6. #6
    Member Contributor
    Join Date
    Dec 2000
    Location
    Halifax, Nova Scotia, Canada
    Posts
    86

    Re: Very very new to OpenGL

    glu,opengl32 and glaux libs can be found in
    [Compiler]/codewarrior/win32-x86support/libraries/win32sdk

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