Nov 22, 2009

Installing Glut To Dev C++ - A tutorial to install GLUT on Dev C++

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > How-To's and Tutorials > Programming > MISC (not applicable to above Programming Categories)

Installing Glut To Dev C++ - A tutorial to install GLUT on Dev C++

t3jem
This is a tutorial that someone submitted to my programming site when it was up because I didn't know how to install glut on any other compiler than my own. I though it would be helpful to post this up for everyone here so they can use GLUT as well without having to google for hours. I'm not sure if I'm allowed, but I have quoted it and have given credit where credit is due, so if this post is allowed I hope this helps those people who couldn't program in GLUT yet.

QUOTE

Installing G.L.U.T. to Dev C++
By James Duran (email: vrok137@yahoo.com)

For those of you who do not have the $100 visual studio and cannot install glut, this is for you. Practically all the articles I read to install the glut files were designed for people who owned visual studio. So im gonna share with you how not only to install glut, but get a powerful IDE with it (Dev C++).

NOTE: If you already have Dev C++, skip to step 6.

1. Go to www.bloodshed.net (although the name sounds gory, the website is not)

2. Now that you are at the Dev C++ site, look for the "whats new" news tab. It should be right in the middle of the home page.

3. Click and follow the Dev C++ Beta link and download the program.
(get the latest version, v4.9.9.2)

NOTE: If you have a compiler but not an IDE, download the "executable only file". Otherwise download the file that includes Dev C++ plus the Mingw/GCC compiler.

4. Next choose a mirror site to download from.
(For dial-up users, try to pick a mirror site that is in the US or else your connection will be really weak. )

5. Install Dev C++.

6. Open Dev C++ and go to "Tools > Check for Updates/Packages". This should bring you to the update manager.

7. Click below the "Select devpack server" and select "devpacks.org community devpacks".

8. Now click "check for updates" at the bottom of the page. Once its done loading, scroll through the lists of packages until you find a glut package. Once you are ready, check the small box to the left of the name. Download it, and then the computer will install it automatically. Now you have opengl (opengl comes w/dev c++) and glut.

Once you download glut, dev c++ even does you a favor by creating a template for glut programs (isnt that cool!). To use the template, click the "multimedia" tab in the
"create a project" window. The glut template should be there for you to use.

 

 

 


Comment/Reply (w/o sign-up)

FeedBacker
just cool...
Installing Glut To Dev C++

Thanks for this tutorial. Its simple but brilliant!

-james waples

Comment/Reply (w/o sign-up)

FeedBacker
Great!!!
Installing Glut To Dev C++

This was really great!! And it was like the third website google found on [glut see++] . I'm so thankful for not been having to search the web for hours for a change. It was and worked good, exept one thing: I downloaded freeglut from "devpacks.Org community devpacks". And when I was trying to compile the default glut template it told me that "gl/glut.H" was not to be found. However I saw that the update had installed freeglut.H, so I just changed that in the code, and now everything works! Again, great!

-Matte

Comment/Reply (w/o sign-up)

iGuest-
I know a little of C++ and am currently using for an IDE, Dev-C++. I found a tutorial by Mike Serrano that showed me just enough to be able to draw a line from A to B, using graphics.H.

Can you point me to a tutorial that would allow me to program a simple plotting program that would accept a file of X-Y coordinates and give me plot of them that I can print out?

A list of all the commands in graphics.H, and their documentation, would be a good start.

Many thanks.

Mauri
Mauripelto@aol.Com

Comment/Reply (w/o sign-up)

(G)Dimitra
Replying to t3jem
 
 I am so sorry but we did this and something strange appears to our pc.Particularly, we have the message: Could not connect to remote site Please try another mirror site Could you please help me with this.What should I do? 
Thanks,
 Dimitra

Comment/Reply (w/o sign-up)

(G)
Replying to t3jem I am so sorry but we did this and something strange appears to our pc.Particularly, we have the message: Could not connect to remote site Please try another mirror site Could you please help me with this.What should I do? Thanks

Comment/Reply (w/o sign-up)

(G)
Not working...or well sort of...
Installing Glut To Dev C++

Hmm, I followed your "tutorial" and installed the devpak glut,the glut template appears but when I try to compile it, it states that: GL/glut.H No such file or directory.

Although, in the include map there is another map called GL with glut.H in it...


Comment/Reply (w/o sign-up)

(G)heya
Glut Vista 32
Installing Glut To Dev C++

hey all!

 so, I am running vista 32, and have followed the turoiral for MinGw to make Dev C++ run on my system, and it works. Now I want to use glut for a course I am taking.
I followed the above tutorial, downloaded and installed the Glut package.
In my C:\Dev-Cpp\include it created a folder called GL and in it there is glut.H

in my lib folder there is "libglut32.A"

When I try to runt the template it comlains about "GL/glut.H No such file or directory."
And I get loads of linker errors.
I also checked my System32 folder and there is no "glut.Dll" or "glut32.Dll" file present...

 Any solutions to this?


Comment/Reply (w/o sign-up)

wutske
Also worth mentioning when you want to program in openGL:
http://www.videotutorialsrock.com/
http://nehe.gamedev.net/

I have a school assignment where I have to program in openGL using only the GLUT library and I'm not realy sure whether I have to be happy about it. It's quite easy to use, but so limited and some stuff like collision detection are 100x more easy in to implement DirectX.

But hey ... it's not like I have a choise

Comment/Reply (w/o sign-up)

(G)Krisztian Kispeti
Help needed....
Installing Glut To Dev C++

hey everyone XD! I good to see this site, because I'm interested in the C++ programming language, and I have some questions. First, where can I download a NORMAL(WORKING) glut file? Because I downloaded one from the internet, but it doesn't work in the Dev-c++ well... So I need this file. Second I have some problem with the settings in the options. For example =  where should I write these commands:  -lopengl32 -lglu32 -lglut32 ??? Can you tell me? ThX. I hope, someone can help me, because it's very important to me :) And I need to do this application

 Krisztian, 2009 Hungary.


Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : installing, glut, dev, c, tutorial, install, glut, dev, c

  1. Programming In Glut (lesson 6)
    Texture filters and lighting (1)
  2. Programming In Glut (lesson 5)
    How to texture map and use keyboard controls. (1)
    In this tutorial I am going to teach you how to texture map your polygons and implement basic
    keyboard control. There is alot of new material in this tutorial and I hope I have explained it
    enough. Before you get started you will want to name a bmp file "image.bmp" or "image" depending on
    your computer settings (if one doesn't work then use the other) and place it in the same folder
    as your project. Now to start we will be making a seperate header file where we will write our
    function to load a bitmap file. You should name it "bmpload.h". The code to write in it ....
  3. Programming In Glut (lesson 4)
    Making 3D objects (7)
    Hello, in this tutorial we will be creating a 3D pyramid. We are building this tutorial from Lesson
    3, but I took out the 2D objects and placed a 3D pyramid in there instead. The 3rd axis for drawing
    can be a litle confusing, but after you get the hand of it you'll do fine. Now when you are
    setting a 3D vertex just remember that the camera is on the positive end of the z axis. So things
    that have a more positive z axis value are closer than verteces with a more negative value. Well
    let's get started We always start by including the glut library CODE #i....
  4. Programming In Glut (lesson 3)
    How to animate objects in GLUT (1)
    In this tutorial I am going to talk about how to get animation in your program. I will be working
    directly off of Lesson 2 and will now take out the notes left behind from Lesson 1, but I will leave
    the notes from Lesson 2. CODE #include //include our glut library First we are going to
    initialize a variable called "time" which will record how much time has passed so we can use it to
    determine how to animate the objects. Then we have our init function that initializes some stuff in
    GLUT CODE float time = 0;//(NEW) variable to record the how much time has....
  5. Programming In Glut (lesson 2)
    Learn how to draw 2D polygons in this tutorial (10)
    This is the second lesson in my series of tutorials on how to use GLUT to create graphics. In this
    tutorial I am going to be teaching you how to create different types of polygons. I am going to be
    adding on to last tutorial's code and will leave the notes in to help you remember what all the
    function are. I will also be noting the new functions that we will be using and how to use them.
    CODE #include //Include the GLUT functions This time we are going to not only set the
    background color, but set the area that we are viewing as well. gluOrtho2D(); sets....
  6. Programming In Glut (lesson 1)
    The first of a series of tutorials on how to use the OpenGL Utility To (4)
    Hello, I'm starting a series on how to program in OpenGL using the OpenGL Utility Toolkit,
    a.k.a. GLUT. I chose GLUT because it is quick and easy to write, and very easy to learn. In this
    tutorial I am going to teach you how to create a basic window which we will build off of in later
    tutorials. Throughout the tutorial I will leave notes to let you know what each command does, and
    how you can modify it to fit your needs. Everything in the code section can be copied and pasted
    into your compiler and it should compile proporly, if it does not, please let me know, a....

    1. Looking for installing, glut, dev, c, tutorial, install, glut, dev, c

See Also,

*SIMILAR VIDEOS*
Searching Video's for installing, glut, dev, c, tutorial, install, glut, dev, c
advertisement



Installing Glut To Dev C++ - A tutorial to install GLUT on Dev C++

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com