From: Patrick S. <mai...@st...> - 2005-01-04 13:17:12
|
Hi, I try to run the GLCanvas sample from the source of wxHaskell and the only thing I get is a blank screen. Mike said I should try to recompile all stuff (wxGTK and wxHaskell) with the --with-opengl option. But this was what I did in the first time. The opengl sample in the wxGTK source (penguin and so on) runs perfectly. I can compile wxHaskell with opengl without any error. But the sample shows just the blank screen. I figured out that it doesn't matter when I don't give the -package OpenGL option to ghc. The sample compiles without error and runs in the same way. Does wxHaskell add the Gl libs itself? Has anybody a compiled wxhaskell where this sample runs and can he help me by showing his configuration of ghc, gtk, wxgkt, glib, wxhaskell, ... I have a running SuSe distribution. Cheers Patrick On Monday 03 January 2005 19:50, Mike Gunter wrote: > I was seeing the same behavior. Responding to my question, Sean > Seefried pointed out that both wxWidgets and wxHaskell must be built > with OpenGL support (by passing --with-opengl to their configure > scripts). I haven't had time to determine if that's the issue for me. > Perhaps it is for you? (If you do figure out why you're seeing the > behavior you are, please let me know ...) > > mike |