
Hello,
This is actually *two different* packages, exposing the same module
(namespace).
GHC has a language extension which allows you to select the correct package:
{-# LANGUAGE PackageImports #-}
module MyModule where
import "glfw-b" Graphics.UI.GLFW
...
This specifies that you want the "GLFW-b" package (as opposed to the "GLFW"
package).
You can also hide/expose/delete packages using the ghc-pkg command line
tool:
ghc-pkg hide GLFW-0.5.0.1
ghc-pkg expose GLFW-0.5.0.1
I don't recall the remove command by heart (probably "remove" :)
Hope this helps,
Balazs
On Sat, May 19, 2012 at 5:53 PM, ai00rea
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.htm... Sent from the Haskell - HOpenGL mailing list archive at Nabble.com.
_______________________________________________ HOpenGL mailing list HOpenGL@haskell.org http://www.haskell.org/mailman/listinfo/hopengl