How to Install Glut?

This is a discussion on How to Install Glut? within the Game Programming forums, part of the General Programming Boards category; Ok, complete nub here, but i have not installed a bigger API as of yet so im clueless here lol. ...

  1. #1
    #junkie
    Join Date
    Oct 2004
    Posts
    240

    How to Install Glut?

    Ok, complete nub here, but i have not installed a bigger API as of yet so im clueless here lol.

    I found this link:
    http://www.opengl.org/resources/libr...s.html#windows

    now i at first thought dev c++ had all the popular libraries included (cept DX), however, it does not have the header file for Glut, so i went in search.

    From that link, which file exactly do i dl? I got both 3.7 source and plain dll file. and i should be able to find where to put the dll's and whatnot, from whats already around lol. But i just want to make sure i am using the right files.

    Can anyone help? Someone with Dev C++ Experience would be of help too, thx

    (and sorry for such an idiotic question lol)
    01110111011000010110110001100100011011110010000001 11000101110101011010010111010000100000011011000110 10010110011001100101001000000111100101101111011101 0100100000011011100111010101100010

  2. #2
    #junkie
    Join Date
    Oct 2004
    Posts
    240
    Well i put the DLL's in my system folder, include in dev c++'s include folder (\gl), and the lib files in the lib folder, all fairly self explanitory. But i am getting an odd error when trying to run some tut programs that use GLUT.
    43 C:\Dev-Cpp\include\gl\glut.h redeclaration of C++ built-in type ` wchar_t'
    Makefile.win [Build Error] [main.o] Error 1
    and line 43 is
    typedef unsigned short wchar_t;
    So what exactly is the problem, it has to be something i am doing cuz an unedited header file that everyone is using wouldent have a huge blatent bug right?

    Or is there something wrong with their syntax (i havent used typedef much lol).

    Well please help, just wanna get glut workin lol.
    01110111011000010110110001100100011011110010000001 11000101110101011010010111010000100000011011000110 10010110011001100101001000000111100101101111011101 0100100000011011100111010101100010

  3. #3
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    Try out Perspective's Nibbles program which uses GLUT. There's a how-to in that thread for dev-cpp.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  4. #4
    #junkie
    Join Date
    Oct 2004
    Posts
    240
    Worked!!! Thank you so much!

    It was a combination of umm, quirks of Dev C++ if you will, and the tutorials i was using had the include files in the wrong order, one being from gamedev.net, so i assume it was just dev c++ again.

    Any thanks a ton
    01110111011000010110110001100100011011110010000001 11000101110101011010010111010000100000011011000110 10010110011001100101001000000111100101101111011101 0100100000011011100111010101100010

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Dis/Advantages of Glut?
    By Zeusbwr in forum Game Programming
    Replies: 1
    Last Post: 11-28-2004, 09:00 PM
  2. Glut - What/How to Install & What to Attach/Include
    By drdroid in forum Linux Programming
    Replies: 0
    Last Post: 10-12-2003, 08:17 AM
  3. Opengl and Glut install for Borland
    By drdroid in forum Game Programming
    Replies: 3
    Last Post: 05-26-2003, 08:54 PM
  4. Linux install
    By moi in forum Tech Board
    Replies: 0
    Last Post: 12-08-2002, 09:35 AM
  5. trying to install linux
    By task in forum Linux Programming
    Replies: 19
    Last Post: 10-28-2002, 08:42 AM

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