ghc-6.2/opengl

Johannes Waldmann waldmann at imn.htwk-leipzig.de
Tue Jan 20 12:41:15 EST 2004


we have compiled ghc-6.2 --enable-hopengl from source (with ghc-6.0)
on SunOS userv2 5.8 Generic_108528-27 sun4u sparc SUNW,Ultra-60.

it installs and compiles fine but not for programs that use OpenGL:

ghc --make -Wall -fglasgow-exts -package OpenGL ...

we get this linker error:

Linking ...
Undefined                       first referenced
  symbol                             in file
glXGetProcAddressARB 
/usr/local/share/ghc/lib/ghc-6.2/libHSOpenGL_cbits.a(HsOpenGL.o)

any ideas?
-- 
-- Johannes Waldmann,  Tel/Fax: (0341) 3076 6479 / 6480 --
------ http://www.imn.htwk-leipzig.de/~waldmann/ ---------




More information about the Glasgow-haskell-users mailing list