You are not logged in.
Pages: 1
I really don't know how to use GLUT on any system, best I can tell you need some packages called something like libglut3 and libglut3-dev. but the closest thing I can find is freeglut, which isn't what I need (or isn't all I need at least). I even went to opengl.org and manually downloaded the header files and put them in numerous directories that seemed like they might be true. I'm sure this is simple but I have no clue what to do. Thanks!
Offline
freeglut would have been my guess at what you needed. What header files are you missing after installing that?
Offline
FreeGLUT is what you need.* It's nearly identical to the original, with the exception of some weird stuff you didn't need anyway.
Just make sure the freeglut package is installed and "#include <GL/glut.h>", along with any other OpenGL headers you need (GL/gl.h and GL/glu.h).
* Assuming you're trying to write or compile programs with it, which I take the meaning of "use GLUT" to be. I guess it's possible that you have some strange binary that needs a particular library version to operate.
Last edited by pauldonnelly (2008-10-06 06:56:41)
Offline
Thanks for the help, I had two things wrong but it's working now. For one my #include statment used to just be
#include <glut.h>
instead of
#include <GL/glut.h>
I didn't even check that because of that because I was editing someone elses file that already had that and it worke don their system. the other thing was that I geany wasn't using the -IGL and -Iglut options on gcc. Thanks a lot!
Last edited by vdogvictor (2008-10-06 22:40:45)
Offline
Pages: 1