Re: Linker problem compiling HOpenGL code

Lemmih <[email protected]>
Newsgroups gmane.comp.lang.haskell.hopengl
Message-ID <[email protected]>
On Wed, 2 Feb 2005 17:57:32 +0000, Michael Pye <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.