Re: Problem with Glut
Mark Spezzano <[email protected]> Sun, 20 May 2012 01:35:12 +0930
| Newsgroups | gmane.comp.lang.haskell.hopengl |
|---|---|
| Message-ID | <[email protected]> |
Hi Not sure if this will do the trick, but you might have _two copies_ of the package installed over the top of each other. You often have this problem if there is a local copy for a specific user and a global, system-wide copy. If I remember correctly, I think I used the command ghc-pkg unregister <package name> to de-register a package (You might need to type in the full version number of the package that you wish to de-register) You can use ghc-pkg list to see which packages are installed, first. I don't know the "correct" way to go about installing packages, but I always do a sudo cabal install --global <package name> That way I don't end up with local and global duplicates overlapping and cause me and ghc confusion. Hope that helps. Mark On 20/05/2012, at 1:23 AM, ai00rea wrote: > Ambiguous module name `Graphics.UI.GLFW': > it was found in multiple packages: GLFW-b-0.1.0.2 GLFW-0.5.0.1 > Failed, modules loaded: none. > > > > > > How can i remove one version. I tried reinstalling the Haskell Platform and > deleting all files related to glfw, but useless... Please help me. > > -- > View this message in context: http://haskell.1045720.n5.nabble.com/Problem-with-Glut-tp5689667p5710734.html > Sent from the Haskell - HOpenGL mailing list archive at Nabble.com. > > _______________________________________________ > HOpenGL mailing list > [email protected] > http://www.haskell.org/mailman/listinfo/hopengl > >