[HOpenGL] problems with package GLUT

Scott J. jscott at skynet.be
Wed May 25 10:32:08 EDT 2005


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: hopengl at haskell.org 
  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" <Sven.Panne at aedion.de>
  To: "Scott J." <jscott at skynet.be>
  Cc: <hopengl at haskell.org>
  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
  HOpenGL at haskell.org
  http://www.haskell.org/mailman/listinfo/hopengl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org//pipermail/hopengl/attachments/20050525/7aed6c46/attachment.htm


More information about the HOpenGL mailing list