Jump to content



Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!

Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  agyat : (23 May 2013 - 01:23 AM) Wow! Mr. Sb Back Home.
@  OpaQue : (23 May 2013 - 12:44 AM) Ting
@  OpaQue : (24 April 2013 - 02:44 PM) I guess, Time to run Mycent script.
@  OpaQue : (24 April 2013 - 02:43 PM) wow.. not much spam. except habatt posting lot of links.. :P
@  yordan : (23 April 2013 - 01:04 PM) You're welcome, agyat. Nice to have been helpful. Second lesson: try full words, "you" instead of "EW".
@  agyat : (23 April 2013 - 05:03 AM) @YORDAN: tHANK EW FOR YOUR FIRST LESSON.   :D
@  yordan : (22 April 2013 - 09:43 PM) @agyat : "why don't you help me", or "please help me", or "please teach us"
@  yordan : (22 April 2013 - 09:42 PM) welcome back, velma
@  velma : (22 April 2013 - 07:51 AM) **yawns** Good to be back, wonder what is going on here :)
@  agyat : (22 April 2013 - 03:50 AM) Oh! so, why don't help me learn english..
@  yordan : (21 April 2013 - 08:38 PM) The goal mentioned by shiu : "learning english, learning computer"
@  agyat : (21 April 2013 - 06:31 PM) WHAT GOAL?
@  yordan : (20 April 2013 - 10:39 AM) yes, that's our goal. simultaneouly learning English and teaching/learning computer using.
@  shiyu : (20 April 2013 - 07:30 AM) learning english,learning computer
@  yordan : (19 April 2013 - 01:11 PM) Oh, I see, it's just a trick in order to force people looking at your texte. Somehow smart, maybe.
@  agyat : (19 April 2013 - 02:54 AM) And of course I know it is not SEO friendly.
@  agyat : (19 April 2013 - 02:52 AM) There may be two possible answers for that ....


1) Shout was posted using mobile keypad.

2) To force people read content carefully and/or with more concentration.
@  agyat : (19 April 2013 - 02:49 AM) There may be two possible answers for that ....
@  yordan : (18 April 2013 - 09:35 PM) however, why this mixing of capital letters in the middle of your text?
@  agyat : (18 April 2013 - 11:10 AM) false feelings.

Photo
- - - - -

Installing Glut To Dev C++


12 replies to this topic

#1 t3jem

t3jem

    Member [ Level 1 ]

  • Members
  • 48 posts

Posted 26 November 2006 - 06:06 PM

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.

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.



#2 Guest_FeedBacker_*

Guest_FeedBacker_*
  • Guests

Posted 26 January 2008 - 01:27 PM

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

Thanks for this tutorial. Its simple but brilliant!

-james waples

#3 Guest_FeedBacker_*

Guest_FeedBacker_*
  • Guests

Posted 23 January 2008 - 01:13 PM

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

#4 Guest_iGuest-_*

Guest_iGuest-_*
  • Guests

Posted 26 July 2008 - 09:58 PM

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

#5 Guest_(G)Dimitra_*

Guest_(G)Dimitra_*
  • Guests

Posted 26 November 2008 - 02:02 PM

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 sitePlease try another mirror siteCould you please help me with this.What should I do? 
Thanks,
 Dimitra


#6 Guest_(G)_*

Guest_(G)_*
  • Guests

Posted 26 November 2008 - 02:01 PM

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

#7 Guest_(G)_*

Guest_(G)_*
  • Guests

Posted 01 April 2009 - 11:35 AM

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...



#8 Guest_(G)heya_*

Guest_(G)heya_*
  • Guests

Posted 01 April 2009 - 12:47 PM

Glut Vista 32Installing 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-Cppinclude 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?



#9 wutske

wutske

    Way Out Of Control - You need a life :)

  • [HOSTED]
  • 1,443 posts
  • Gender:Male
  • Location:Belgium
  • myCENTs:98.90

Posted 04 April 2009 - 06:00 PM

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

#10 Guest_(G)Krisztian Kispeti _*

Guest_(G)Krisztian Kispeti _*
  • Guests

Posted 01 August 2009 - 06:12 PM

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.



#11 Guest_(G)Zack_*

Guest_(G)Zack_*
  • Guests

Posted 17 January 2010 - 07:10 PM

It didnInstalling Glut To Dev C++

I followed this tutorial but is still get the following errors

  [Linker error] undefined reference to `_imp____glutInitWithExit@12'

  [Linker error] undefined reference to `_imp____glutCreateWindowWithExit@8'

  [Linker error] undefined reference to `_imp____glutCreateMenuWithExit@8'

  [Linker error] undefined reference to `_imp__glutGet@4'

  [Linker error] undefined reference to `_imp__glutSolidSphere@16'

  [Linker error] undefined reference to `_imp__glutSolidCone@24'

  [Linker error] undefined reference to `_imp__glutSolidTorus@24'

  [Linker error] undefined reference to `_imp__glutWireSphere@16'

  [Linker error] undefined reference to `_imp__glutWireCone@24'

  [Linker error] undefined reference to `_imp__glutWireTorus@24'

  [Linker error] undefined reference to `_imp__glutSwapBuffers@0'

  [Linker error] undefined reference to `_imp__glutPostRedisplay@0'

  [Linker error] undefined reference to `_imp__glutPostRedisplay@0'

  [Linker error] undefined reference to `_imp__glutInitWindowSize@8'

  [Linker error] undefined reference to `_imp__glutInitWindowPosition@8'

  [Linker error] undefined reference to `_imp__glutInitDisplayMode@4'

  [Linker error] undefined reference to `_imp__glutReshapeFunc@4'

  [Linker error] undefined reference to `_imp__glutDisplayFunc@4'

  [Linker error] undefined reference to `_imp__glutKeyboardFunc@4'

  [Linker error] undefined reference to `_imp__glutIdleFunc@4'

  [Linker error] undefined reference to `_imp__glutMainLoop@0'

...

I'm pretty sure it's a linker error(aren't I so smart?) but this is just running the glut template so... I have no idea what's wrong with it...

any ideas?

-reply by Zack

 



#12 Guest_(G)_*

Guest_(G)_*
  • Guests

Posted 25 March 2010 - 09:07 AM

Thanks a lot! very helpfull!



#13 vignesh_sunder

vignesh_sunder

    Newbie [ Level 1 ]

  • Members
  • 1 posts

Posted 08 February 2012 - 05:18 AM

It didnInstalling Glut To Dev C++
I followed this tutorial but is still get the following errors
[Linker error] undefined reference to `_imp____glutInitWithExit@12'
[Linker error] undefined reference to `_imp____glutCreateWindowWithExit@8'
[Linker error] undefined reference to `_imp____glutCreateMenuWithExit@8'
[Linker error] undefined reference to `_imp__glutGet@4'
[Linker error] undefined reference to `_imp__glutSolidSphere@16'
[Linker error] undefined reference to `_imp__glutSolidCone@24'
[Linker error] undefined reference to `_imp__glutSolidTorus@24'
[Linker error] undefined reference to `_imp__glutWireSphere@16'
[Linker error] undefined reference to `_imp__glutWireCone@24'
[Linker error] undefined reference to `_imp__glutWireTorus@24'
[Linker error] undefined reference to `_imp__glutSwapBuffers@0'
[Linker error] undefined reference to `_imp__glutPostRedisplay@0'
[Linker error] undefined reference to `_imp__glutPostRedisplay@0'
[Linker error] undefined reference to `_imp__glutInitWindowSize@8'
[Linker error] undefined reference to `_imp__glutInitWindowPosition@8'
[Linker error] undefined reference to `_imp__glutInitDisplayMode@4'
[Linker error] undefined reference to `_imp__glutReshapeFunc@4'
[Linker error] undefined reference to `_imp__glutDisplayFunc@4'
[Linker error] undefined reference to `_imp__glutKeyboardFunc@4'
[Linker error] undefined reference to `_imp__glutIdleFunc@4'
[Linker error] undefined reference to `_imp__glutMainLoop@0'
...
I'm pretty sure it's a linker error(aren't I so smart?) but this is just running the glut template so... I have no idea what's wrong with it...
any ideas?
-reply by Zack

if you are running c++, then just try to this command line in the parameters under c++ compiler

-DGLUT_STATIC



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users