OpenGL support is enabled by default provided your system allows it. Enabling it explicitly won't make a difference. From what I see you experience a run-time error from the X server, so either OpenGL support in your system is broken or you do something weird in your application. The problem is surely unrelated to the process of compilation.
Bookmarks