[Haskell-cafe] OpenGL Linking Issue
mark.spezzano at chariot.net.au
Wed Mar 18 02:38:44 EDT 2009
I hope Im posting to the right forum.
Ive got OpenGL up and running on my Windows Vista machine (finally!) and it
runs perfectly well under Eclipse, bringing up a window with a rendered
image as expected.
The only issue starts when I try to compile the program without Eclipse
(using GHC rather than GHCi like Eclipse does).
C:\Users\Mark\workspace2\OpenGLPractice\src>ghc --make Test1.hs
And get the following output
Linking Test1.exe ...
o):fake:(.text+0xcc): undefined reference to `glutGetProcAddress at 4'
collect2: ld returned 1 exit status
Whats happening here? Obviously its a linking issue, but I was wondering
whether I need to include some library or file or option to ghc so that it
No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.557 / Virus Database: 270.11.18/2008 - Release Date: 17/03/2009
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe