PDA

View Full Version : Need help at windows to linux glut



11-25-2005, 05:18 AM
I wrote an application in windows, using glut library and it has been perfectly done well. When I wanted to compile it at my school, where is Linux OS, i can't do it, because i got "segment fault" error before all my actions in my main function. is there any compatible tricks or somithing? Thanks for the help

memfr0b
11-25-2005, 07:50 AM
A segmentation fault means that your programmed tried to access memory that it isn't allowed to. The most frequent causes are uninitialized pointers, and running over array boundaries.

In short, there's probably a bug in your program. It just didn't pop up before. Try running your program through a debugger.