make glut go....

This is a discussion on make glut go.... within the Windows Programming forums, part of the Platform Specific Boards category; ok, noob here. im not sure how (or possibly where) to install glut. ive extracted all the required files, but ...

  1. #1
    glutin
    Guest

    make glut go....

    ok, noob here. im not sure how (or possibly where) to install glut. ive extracted all the required files, but im not sure how to go about setting them up. ( the set up instruction that came with it require microsoft Developer Studio 6)

    help please!

  2. #2
    Registered User foniks munkee's Avatar
    Join Date
    Nov 2001
    Posts
    343
    Okay, but what are you using?
    "Queen and huntress, chaste and fair,
    Now the sun is laid to sleep,
    Seated in thy silver chair,
    State in wonted manner keep."

  3. #3
    glutin
    Guest
    oh yeah, srry. i'm using codewarrior but i have been considering picking up borland. i do most of my c++ programming at school on linux/unix/bsd/solaris but i want to start playing with ogl graphics at home on windowsME.

  4. #4
    Registered User foniks munkee's Avatar
    Join Date
    Nov 2001
    Posts
    343
    I've never used CodeWarrior - but the concept should be the same. If you have downloaded the precompiled versions of GLUT then it is as simple as placing the files in the correct place.

    Put the glut32.dll in your /windows/system directory.
    glut32.lib goes in your compilers ../lib directory
    glut.h goes in your ../include/GL directory.

    I am not sure of the exact directory structure of the Metrowerks compiler package.. but this may be close.

    the glut.h file goes into /Headers/Win32 SDK/GL/
    the glut32.lib file goes into /Libraries/Win32 SDK/
    "Queen and huntress, chaste and fair,
    Now the sun is laid to sleep,
    Seated in thy silver chair,
    State in wonted manner keep."

  5. #5
    glutin
    Guest
    well, thanks for the help. i found all the right places for the files but i get a "cannot open file" error when codewarrior tries to access them. i think im gonna look into borland or vc++

  6. #6
    Registered User foniks munkee's Avatar
    Join Date
    Nov 2001
    Posts
    343
    When you are including the files you are doing this?

    #include <GL/glut.h>

    and you are linking glut32.lib as well?
    "Queen and huntress, chaste and fair,
    Now the sun is laid to sleep,
    Seated in thy silver chair,
    State in wonted manner keep."

  7. #7
    glutin
    Guest
    Code:
    #include <windows.h>
    #pragma comment(lib, "glut32.lib")
    
    #include <gl/glut.h>
    im doin it like that.

  8. #8
    glutin
    Guest
    woohoo, got vc++ and evrything works fine. i guess it was just my out dated codewarrior having issues. thanx for your help

  9. #9
    Registered User foniks munkee's Avatar
    Join Date
    Nov 2001
    Posts
    343
    Excellent! I had completely run out of ideas to tell you the truth
    "Queen and huntress, chaste and fair,
    Now the sun is laid to sleep,
    Seated in thy silver chair,
    State in wonted manner keep."

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how to make a windows application
    By crvenkapa in forum C++ Programming
    Replies: 3
    Last Post: 03-26-2007, 09:59 AM
  2. HELP!wanting to make full screen game windowed
    By rented in forum Game Programming
    Replies: 3
    Last Post: 06-11-2004, 04:19 AM
  3. make all rule
    By duffy in forum C Programming
    Replies: 9
    Last Post: 09-11-2003, 01:05 PM
  4. Question about atheists
    By gcn_zelda in forum A Brief History of Cprogramming.com
    Replies: 160
    Last Post: 08-11-2003, 11:50 AM
  5. Replies: 6
    Last Post: 04-20-2002, 06:35 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21