Re: HOpenGL install help
"Jamin A. Ohmoto-Frederick" <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.hopengl |
|---|---|
| Message-ID | <[email protected]> |
Hi Chris, If you use a newer version of GHC (>= v6.4 or so) you shouldn't need to install OpenGL, and should be able to just do: ghc --make test.hs -- test.hs: import Graphics.Rendering.OpenGL import Graphics.UI.GLUT main = do _ <- getArgsAndInitialize createWindow "Hello World" displayCallback $= display mainLoop display = do clear [ColorBuffer] flush Did that work? --- Chris Perez <[email protected]> wrote: > Hello, > > I am writing a graphical program in Haskell as a > final project for > university to show that it is not a "toy language". > Unfortunatly when trying > to install HOpenGL I get past the ./configure part > but then fail with errors > on the make depend and make all or even make > install. I can't seem to locate > the problem or where the errors are coming from. > > I get the following error report: > > module 'Main' is defined in multiple files: Info.hs > > QBSP.hs > > QuakeMovement.hs > > TestGLUT.hs > > make[2]: *** [depend] Error 1 > make[1]: *** [depend] Error 1 > make: *** [depend] Error 1 > I would really like to use HOpenGL for this project, > so If anyone knows how > I can solve this I would love to know. > > -- > Without Wax, > Chris > > _______________________________________________ > HOpenGL mailing list > [email protected] > http://www.haskell.org/mailman/listinfo/hopengl > ____________________________________________________________________________________ Have a burning question? Go to www.Answers.yahoo.com and get answers from real people who know.