Re: problems with package GLUT
"Scott J." <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.hopengl |
|---|---|
| Message-ID | <003f01c56136$87c30380$2097fea9@janxp> |
Hello, I think I might be using an old Planet.hs file. I have reread again my my emails and according to Lemmih (email to Sandra Fontes) there is a new Planet.hs file. I am now exploring this link: http://cvs.haskell.org/cgi-bin/cvsweb.cgi/~checkout~/fptools/libraries/GLUT/examples/ further. ----- Original Message ----- From: Scott J. To: [email protected] Sent: Wednesday, May 25, 2005 3:26 PM Subject: Re: [HOpenGL] problems with package GLUT > Did you install the GLUT DLL? You can find it at > > http://www.xmission.com/~nate/glut.html > > You basically need to have a C:\WINNT\system32\glut32.dll. > >> My .ghci file contains: >> :set -fglasgow-exts -cpp -package wx -package wxcore -package OpenGL >> :set -package GLUT > > Looks OK, but the "-package OpenGL" is redundant, because the GLUT package > already depends on it. > > Cheers, > S. Many thanks for your hint, the package GLUT is now loaded, but I still get the message Can't find module `GLU' This is what happens now when double clicking Planet.hs: Loading package base . . . linking . . . done Loading package OpenGL . . . linking . . . done Loading package GLUT . . . linking . . . done Loading package lang . . . linking . . . done Loading package haskell98 . . . linking . . . done Loading package concurrent . . . linking . . . done Loading package wxcore . . . linking . . . done Loading package wx . . . linking . . . done C:/Documents and Settings/Jan/Desktop/Planet.hs: Can't find module `GLU' (use -v to see . . . . for) Prelude> I can't find any package in the Haskel Hierarchical Libraries containing GLU. Here's my revised .ghci file :set -fglasgow-exts -cpp -package wx -package wxcore -package GLUT As I have said I use GHCi 6.2.2 Jan ----- Original Message ----- From: "Sven Panne" <[email protected]> To: "Scott J." <[email protected]> Cc: <[email protected]> Sent: Tuesday, May 24, 2005 6:32 PM Subject: Re: [HOpenGL] problems with package GLUT > Scott J. wrote: >> When trying to open Planet.hs with Ghci 6.2.2 I get this: >> >> Loading package base . . . linking . . . done >> Loading package OpenGL . . . linking . . . done >> . >> .(several packages) >> . >> Loading package GLUT . . . can't load .so/.DLL for glut32 (addDLL: >> unknown error >> >> C:/Documents and Settings/Jan/Desktop/Planet.hs: >> Can't find module `GLU' >> >> Does anyone using OpenGl on Windows XP can help me? > > Did you install the GLUT DLL? You can find it at > > http://www.xmission.com/~nate/glut.html > > You basically need to have a C:\WINNT\system32\glut32.dll. > >> My .ghci file contains: >> :set -fglasgow-exts -cpp -package wx -package wxcore -package OpenGL >> :set -package GLUT > > Looks OK, but the "-package OpenGL" is redundant, because the GLUT package > already depends on it. > > Cheers, > S. > > ------------------------------------------------------------------------------ _______________________________________________ HOpenGL mailing list [email protected] http://www.haskell.org/mailman/listinfo/hopengl _______________________________________________ HOpenGL mailing list [email protected] http://www.haskell.org/mailman/listinfo/hopengl