Results 1 to 5 of 5

Thread: HOW DO I MAKE OPENGL WORK<<<<

  1. #1
    Member Newbie
    Join Date
    Oct 2003
    Posts
    35

    HOW DO I MAKE OPENGL WORK<<<<

    I am trying to get OpenGL to work with codewarrior v.8, and I recieved the following instructions:

    1) Put the following files in the following locations:

    • glut32.dll, opengl.dll, glu32.dll -into- C:\Windows\System32
    • glut32.lib, glu32.lib, opengl32.lib, glaux.lib -into- C:\Program Files\Metrowerks\Codewarrior\Win32 -x86 Support\Libraries\Win32 SDK
    • GL.h, GLU.h, GLAUX.f -into- C:\Program Files\Metrowerks\Codewarrior\Win32 -x86 Support\Headers\Win32 SDK\GL
      2) At the top of the program put the following:
    • #define WIN32_LEAN_AND_MEAN
    • #include <windows.h>

    The problem is, I can't find glut32.lib and glut32.dll . I did searches for them (in windows explorer) but turned up nothing. I tried running an asteroids program (which I had made in version 7 of codewarrior on an old computer far far away) but it gave me a thousand errors, saying mostly "undefined identifier, It also had a problem with #include <gl/glut.h> I believe. Please help!
    DirectX: A giant pile of undocumented CRAP

  2. #2
    Member Contributor
    Join Date
    May 2003
    Location
    Cologne / Germany
    Posts
    66

    Re: HOW DO I MAKE OPENGL WORK<<<<

    You can't find GLUT, because GLUT is not a part of OpenGL. It's a Utility Toolbox, that you have to download separatly : http://www.opengl.org/developers/documentation/glut/

    cu
    Tom

  3. #3
    Senior Member OpenGL Guru
    Join Date
    Jun 2000
    Location
    Gastonia, NC, USA
    Posts
    2,068

    Re: HOW DO I MAKE OPENGL WORK<<<<

    I don't know the compiler you are using but some compilers don't like the / over the \.

    #include <gl/glut.h> change to #include <gl\glut.h>

    In the case of linux the paths are case sensitive.
    #include <gl/glut.h> maybe should be this <GL/glut.h>

  4. #4
    Senior Member OpenGL Guru
    Join Date
    Jun 2000
    Location
    Gastonia, NC, USA
    Posts
    2,068

    Re: HOW DO I MAKE OPENGL WORK<<<<

    Also would add you need to make sure you have the correct version of the glut library for your compiler.

  5. #5
    Member Newbie
    Join Date
    Oct 2003
    Posts
    35

    Re: HOW DO I MAKE OPENGL WORK<<<<

    Thanks SO much. I REALLY appreciate it.
    DirectX: A giant pile of undocumented CRAP

Similar Threads

  1. How to make flying around in 3d Space work with Quaternions in OpenGL
    By ProgrammingPlumber in forum OpenGL: General
    Replies: 0
    Last Post: 01-04-2016, 07:51 PM
  2. glGetStringi how make it work?
    By ewerton in forum OpenGL: Basic Coding
    Replies: 8
    Last Post: 01-06-2013, 02:33 PM
  3. To make it work, Fedora4, Anjuta 1.2.2, OpenGL..
    By Luz in forum OpenGL: Linux
    Replies: 1
    Last Post: 09-26-2005, 10:01 AM
  4. Replies: 3
    Last Post: 09-16-2001, 09:59 PM
  5. I can' make it work on C++ Builder 1.0
    By Machiavelly in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 03-15-2001, 04:26 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