I’m using Redhat 8.0 and I’m a unix/GL beginner (not really a newbie anymore) and I’m breaking away from windows. I think the final straw was when Windows XP stopped booting up a few minutes ago and then started again. Maybe its hardware problems but I’m betting linux will cope with them better anyways but onto my question:
How do I get GLUT to work under linux? The only RPM’s I can find on rpmfind.net are “src” rpm’s and when I install em all I get is a bunch of header files and shannanigins.
The wierd thing about redhat linux that I’ve noticed is that after installing it gl.h, glu.h, and all that other good stuff is there and I include it and it compiles fine. But there’s no glut.h!!! Does redhat use mesa? Is that what these gl header files are?
ok well now when I compile my GLUT basecode that I wrote I get a segmentation fault. Very strange, I’m totally stoked. Is there some general reason for why this would happen? It compiles fine…
Originally posted by 31337: ok well now when I compile my GLUT basecode that I wrote I get a segmentation fault. Very strange, I’m totally stoked. Is there some general reason for why this would happen? It compiles fine…
Does it seg. fault immediately you run it? What happens if you run it under the debugger?
Well I’m not sure how to use g++'s debugger. I commented out virtually every line in the glut code and it still segmentation faulted. Like 2 commands after the glutInit command I believe. Do I need to be more specific?
I will try that debugger thing when I get home. Maybe I’m passing incorrect arguements to glutInit? I just pass it the things my main function takes. Should I post the source code here? I bet that would help heh