[Haskell-cafe] DLL Hell: OpenGL

Mark Spezzano mark.spezzano at chariot.net.au
Tue Mar 17 08:07:38 EDT 2009


Hi all,

 

I’m trying to make the Teapot OpenGL example in Haskell on Windows. It keeps
coming up with this:

 

 

C:\Users\Mark\workspace2\OpenGLPractice\src>ghc --make Teapot

Linking Teapot.exe ...

C:\ghc\ghc-6.10.1\gcc-lib\ld.exe: cannot find -lSM

collect2: ld returned 1 exit status

 

As far as I know, -lSM is to do with XWindows (not windows Vista).How do I
fix this ? What’s going on? I’ve been on this problem now for hours, and all
I wanted to do was get a window up on the screen. Sigh

 

Mark Spezzano


No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.557 / Virus Database: 270.11.15/2004 - Release Date: 16/03/2009
7:04 AM
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090317/b648284b/attachment.htm


More information about the Haskell-Cafe mailing list