[HOpenGL] Linker problem compiling HOpenGL code

Lemmih lemmih at gmail.com
Wed Feb 2 12:48:27 EST 2005


On Wed, 2 Feb 2005 17:57:32 +0000, Michael Pye <mail at mdpye.co.uk> wrote:
> I am trying to compile a simple example programme with ghc-6.2.2. The
> programme compiles OK and I'm left with object code, but the linker fails.
> 
> GHC was compiled from source, and the linker works with other compilers.
> The full output of ghc -v is attached.
> 
> Can anyone shed any light on this problem?

Try compiling with 'ghc -package GLUT Planet2.hs'

-- 
Friendly,
  Lemmih


More information about the HOpenGL mailing list