[HOpenGL] Re: Win32 GHC cannot link GLUT (fixed)

Manuel Garcia Rodriguez manueluniversidad at yahoo.es
Tue Dec 30 09:48:29 EST 2003


> > [...]
> > H:/ghc/ghc-6.2/HSGLUT.o: unknown symbol
> `_glutMainLoop'
> > ghc.exe: panic! (the `impossible' happened, GHC
> version 6.2):
> >         can't load package `GLUT'
> 
> Ooops, something went wrong during building and/or
> packaging the .msi file,
> the glut32 library is missing in the linking step.
> This results in your
> problem with ghci and the linking problem with ghc.
> But this can easily be
> fixed by manually editing the package.conf file
> (probably located at
> H:/ghc/ghc-6.2/package.conf at your site): Find the
> package description
> for GLUT (name = "GLUT",) look for the next line
> containing
> 
>     extra_ld_opts = [],
> 
> and change it to
> 
>     extra_ld_opts = ["-lglut32"]
> 
> Hope that helps,
>     S.

Yes, that's it. Thank you.

___________________________________________________
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
http://messenger.yahoo.es


More information about the HOpenGL mailing list