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!

Replying to Installing Glut To Dev C++


Post Options

    • Can't make it out? Click here to generate a new image

  or Cancel


Topic Summary

vignesh_sunder

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

Posted 25 March 2010 - 09:07 AM

Thanks a lot! very helpfull!


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

 


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.


wutske

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

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?


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


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

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

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

Review the complete topic (launches new window)