[HOpenGL] WinXP, ghc-6.0.1, HOpenGL-1.05 .. problems

C.Reinke C.Reinke at kent.ac.uk
Fri Nov 14 14:20:25 EST 2003


- added GL/glut.h
- applied HOpenGL-1.04 install patch
- replaced evil hack with "ghc --print-libdir"

- configure; make depend; make install 

again goes through, but this time there is a Graphics.UI.Glut
(under HOpenGL, not in the main Graphics, btw).

so far so good, but trying to compile the examples in my old
FunWorld July snapshot doesn't get very far at all:

  Compiling Main             ( Boids.hs, obj/Boids.o )
  Linking ...
  c:/ghc/ghc-6.0.1/libHOpenGL.a(GL_Marshal__1.o)(.text+0x28):ghc2444.hc:
  undefined
   reference to `__stginit_CString_'
  c:/ghc/ghc-6.0.1/libHOpenGL.a(GL_Texturing__1.o)(.text+0x5a):ghc2844.hc:
  undefin
  ed reference to `__stginit_List_'
  c:/ghc/ghc-6.0.1/libHOpenGL.a(GL_BasicTypes__1.o)(.text+0x1e):ghc2944.hc:
  undefi
  ned reference to `__stginit_Bits_'
  make: *** [Boids] Error 1

Further suggestions?-)

Claus


More information about the HOpenGL mailing list