haskell - FunGen in Ubuntu -


I have successfully installed Ubuntu, mainly making Haskell libraries work easier than Windows.

When I run some Haskell code on which I was working, it just closes my socks. I am using Fengen libraries for my game and I get this error when I tried to run it.

  FreeGlot (Fengen app): Error: Internal error & lt; FBConfig with the necessary capabilities nt found & gt; Error in unsuccessful request in fgOpenWindow X: BadWindow (Invalid Window Parameter) Key Opportunity of Failed Request: 4 (X_DestroyWindow) In Failed Request Resource ID: 0x0 Serial Number of Failed Request: 33 Current Serial Number in Output Stream: 36   

After some web search, I found a way to fix this in C code, (using GlDouble instead of GlDDouble ), And I am using my Haskell code type in Graphics.Rendering.OpenG L.Gldouble

One more research told me that type GlDouble = double, therefore, this is not the reason, besides, I just removed the gldouble part in the code and still it Does not work. So, here's some simple code that takes me to the previous error:

  Module main where import graphics UI. Fenction width, height :: inti width = 600 height = 400 w = from integral width h = main from integral height :: Io (main) = winConfig = ((200, 200), (width, height), "game" "); Gamemap = (Texture Map 0 WHH); Funinit winConfig gameMap [] gamecycle (timer 30) [] gameCycle :: IOGame () () () GameCricks = Show Showfps Times Roman24 (w-40,0) 1.0 0.0 0.0  

Is it any And what's happened with?

Just an estimate, but skimming and making it sound like you get results trying different GLs You can [UT] look at the initial parameter, and probably the funniest funniest of FunGEn is set to indirect mode:

  start the "FunGen app" ["-Directive"]    

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -