[Haskell-cafe] Compiled OpenGL program has DOS window?

Lyndon Maydwell maydwell at gmail.com
Fri Aug 13 04:32:27 EDT 2010

I vaguely recall that there is a way to avoid this if you don't import
any terminal functions or something similar. I don't remember the
specifics though.

Sorry I couldn't be of more help!

On Fri, Aug 13, 2010 at 4:18 PM, Eitan Goldshtrom
<thesourceofx at gmail.com> wrote:
> Hi. I'm working in Windows on an OpenGL application. I finally got
> everything working, doing all of my testing through the interpreter. When I
> finally compiled and ran the program from an executable for the first time I
> noticed that before creating my OpenGL window an empty DOS prompt popped up.
> I think I understand why the computer would want to do that, but I don't
> know how to make it stop. I've done some OpenGL in C++ and I remember having
> a similar problem. If I remember correctly the problem was fixed with a
> compiler flag. I'm using GHC and I looked through their compiler flags, but
> I didn't find anything that looked like it would deal with this. Anyone have
> any ideas?
> -Eitan
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

More information about the Haskell-Cafe mailing list