Bug: not exiting program correctly on windows

28 views
Skip to first unread message

Devil may Cry

unread,
Jan 3, 2013, 7:17:58 AM1/3/13
to haskel...@googlegroups.com
cabal install gloss

Examples worked ok. BugsL
- window didn't catch alt+f4 (exit)
- it didn't exit correctly when mouse was clicked on x. Window disappeared, but process was still alive. Needed task manager to kill it.
problem was solved by: cabal install gloss --flags="GLFW -GLUT"


Post on faq that every Windows example should be compiled with:
ghc --make -optl-mwindows fileName.hs
Otherwise ghc will create .exe that opens console and gui window at same time which is not good.

Ben Lippmeier

unread,
Jan 3, 2013, 10:58:45 PM1/3/13
to haskel...@googlegroups.com, Devil may Cry
Thanks, I've posted this.

Ben.
Reply all
Reply to author
Forward
0 new messages