Results 1 to 4 of 4

Thread: GLUT and Codewarrior

  1. #1
    Junior Member Newbie
    Join Date
    Sep 2000
    Posts
    15

    GLUT and Codewarrior

    Im trying to use glut in Codewarrior v5, has anyone else had any success in this area?

  2. #2
    Junior Member Newbie
    Join Date
    May 2000
    Location
    Klagenfurt, Kaernten, Austria
    Posts
    2

    Re: GLUT and Codewarrior

    Originally posted by mike:
    Im trying to use glut in Codewarrior v5, has anyone else had any success in this area?
    [br]I have Trouble getting GLUT and CodeWarrior to run myself (I do use the discover programming edition, though). Noone knows what settings I need to use when starting a project?

  3. #3
    Junior Member Newbie
    Join Date
    May 2000
    Location
    Klagenfurt, Kaernten, Austria
    Posts
    2

    Re: GLUT and Codewarrior

    ah well, I just found info on it at http://lahs.losalamos.k12.nm.us/depa...ngl/Howto.html

  4. #4
    Member Contributor
    Join Date
    Apr 2000
    Location
    Staten Island New York
    Posts
    53

    Re: GLUT and Codewarrior

    1. Place the Glut Libs. and Headers in the same folder as the project.
    2. Go to Edit-Debug Settings - Access Paths
    and add the GLUT Libs. in your project folder.
    3. #include "glut.h" not #include <GL\glut.h>
    4. If using Windows start like this:
    #define WIN32_LEAN_AND_MEAN
    #include <windowsx.h>//this has to come first
    #include <windows.h>//so does this
    #include "glut.h"

    I went and opened the glut header and also
    changed #define WIN_32 to #define WIN32_LEAN_AND_MEAN.
    Don't know if that was necessary. This worked for me. Good luck.

Similar Threads

  1. GLUT and CodeWarrior please help
    By Pancho in forum OpenGL: General
    Replies: 2
    Last Post: 12-06-2003, 07:34 AM
  2. OpenGL SDK with CodeWarrior?
    By dragonworx in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 08-22-2002, 10:05 AM
  3. GLUT with CodeWarrior
    By escozooz in forum OpenGL: General
    Replies: 4
    Last Post: 03-13-2002, 07:36 AM
  4. Problems with CodeWarrior and GLUT
    By in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 12-12-2000, 08:55 AM
  5. Metrowerks Codewarrior and GLUT
    By in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 10-21-2000, 07:43 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