*** setup configure Configuring HipmunkPlayground-5.0.0... Flags chosen: small_base=True Dependency GLFW >=0.3 && <0.4: using GLFW-0.3 Dependency Hipmunk >=5.0 && <5.1: using Hipmunk-5.0.0 Dependency OpenGL >=2.1 && <2.3: using OpenGL-2.2.3.0 Dependency base >=3 && <5: using base-4.1.0.0 Dependency containers >=0.1 && <0.3: using containers-0.2.0.1 Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. package GLFW-0.3 requires OpenGL-2.2.1.1 package HipmunkPlayground-5.0.0 requires OpenGL-2.2.3.0 Using Cabal-1.7.0 compiled by ghc-6.10 Using compiler: ghc-6.10.2 Using install prefix: /usr/local/tmp/archive/install Binaries installed in: /usr/local/tmp/archive/install/bin Libraries installed in: /usr/local/tmp/archive/install/lib/HipmunkPlayground-5.0.0/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/HipmunkPlayground-5.0.0 Documentation installed in: /usr/local/tmp/archive/install/share/doc/HipmunkPlayground-5.0.0 Using alex version 2.2 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar Using c2hs version 0.16.0 found on system at: /usr/local/bin/c2hs Using cpphs version 0.7 found on system at: /usr/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.3.3 found on system at: /usr/bin/gcc Using ghc version 6.10.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.10.2 found on system at: /usr/local/bin/ghc-pkg Using greencard found on system at: /usr/local/tmp/archive/install/bin/greencard Using haddock version 2.4.2 found on system at: /usr/local/bin/haddock Using happy version 1.17 found on system at: /usr/local/bin/happy No hmake found Using hsc2hs version 0.67 found on system at: /usr/local/bin/hsc2hs Using hscolour version 1.9 found on system at: /usr/local/bin/HsColour Using hugs found on system at: /usr/local/bin/hugs No jhc found Using ld found on system at: /usr/bin/ld No lhc found No nhc98 found Using pkg-config version 0.22 found on system at: /usr/bin/pkg-config Using ranlib found on system at: /usr/bin/ranlib Using strip found on system at: /usr/bin/strip Using tar found on system at: /bin/tar /usr/bin/gcc /tmp/13411.c -o /tmp/13411 -D__GLASGOW_HASKELL__=610 -I. -I/usr/local/tmp/archive/install/lib/OpenGL-2.2.3.0/ghc-6.10.2/include -I/usr/local/tmp/archive/install/lib/OpenGL-2.2.1.1/ghc-6.10.2/include -I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include -I/usr/local/lib/ghc-6.10.2/include -IPAPI_INCLUDE_DIR *** setup build Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing executables for HipmunkPlayground-5.0.0... Building HipmunkPlayground-5.0.0... Building executable: HipmunkPlayground... Creating dist/build/HipmunkPlayground (and its parents) Creating dist/build/HipmunkPlayground/HipmunkPlayground-tmp (and its parents) /usr/local/bin/ghc -o dist/build/HipmunkPlayground/HipmunkPlayground --make -hide-all-packages -i -idist/build/HipmunkPlayground/HipmunkPlayground-tmp -i. -idist/build/autogen -Idist/build/autogen -Idist/build/HipmunkPlayground/HipmunkPlayground-tmp -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build/HipmunkPlayground/HipmunkPlayground-tmp -hidir dist/build/HipmunkPlayground/HipmunkPlayground-tmp -stubdir dist/build/HipmunkPlayground/HipmunkPlayground-tmp -package GLFW-0.3 -package Hipmunk-5.0.0 -package OpenGL-2.2.3.0 -package base-4.1.0.0 -package containers-0.2.0.1 -O -Wall ./Playground.hs [1 of 1] Compiling Main ( Playground.hs, dist/build/HipmunkPlayground/HipmunkPlayground-tmp/Main.o ) Playground.hs:234:26: Couldn't match expected type `OpenGL-2.2.1.1:Graphics.Rendering.OpenGL.GL.CoordTrans.Size' against inferred type `Size' In the first argument of `openWindow', namely `(Size 800 600)' In the first argument of `assertTrue', namely `(openWindow (Size 800 600) [] Window)' In a stmt of a 'do' expression: assertTrue (openWindow (Size 800 600) [] Window) "Failed to open a window" Playground.hs:308:14: No instance for (HasGetter OpenGL-2.2.1.1:Graphics.Rendering.OpenGL.GL.StateVar.StateVar) arising from a use of `get' at Playground.hs:308:14-21 Possible fix: add an instance declaration for (HasGetter OpenGL-2.2.1.1:Graphics.Rendering.OpenGL.GL.StateVar.StateVar) In a stmt of a 'do' expression: newTime' <- get time In the expression: do newTime <- get time let slower = ... mult = frameSteps / (framePeriod * slower) .... advanceSimulTime stateVar $ min maxSteps framesPassed newTime' <- get time .... In the definition of `advanceTime': advanceTime stateVar oldTime slowKey = do newTime <- get time let slower = ... .... advanceSimulTime stateVar $ min maxSteps framesPassed .... Playground.hs:415:2: Couldn't match expected type `OpenGL-2.2.1.1:Graphics.Rendering.OpenGL.GL.CoordTrans.Position' against inferred type `Position' In the pattern: Position cx cy In a stmt of a 'do' expression: Position cx cy <- get mousePos In the expression: do Position cx cy <- get mousePos Size _ h <- get $ windowSize model <- get $ matrix (Just $ Modelview 0) proj <- get $ matrix (Just Projection) .... *** Trying again with preferred-versions *** setup configure Configuring HipmunkPlayground-5.0.0... Flags chosen: small_base=True Dependency GLFW >=0.3 && <0.4: using GLFW-0.3 Dependency Hipmunk >=5.0 && <5.1: using Hipmunk-5.0.0 Dependency OpenGL >=2.1 && <2.3: using OpenGL-2.2.3.0 Dependency base >=3 && <5 && <4: using base-3.0.3.1 Dependency containers >=0.1 && <0.3: using containers-0.2.0.1 Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. package GLFW-0.3 requires OpenGL-2.2.1.1 package HipmunkPlayground-5.0.0 requires OpenGL-2.2.3.0 Using Cabal-1.7.0 compiled by ghc-6.10 Using compiler: ghc-6.10.2 Using install prefix: /usr/local/tmp/archive/install Binaries installed in: /usr/local/tmp/archive/install/bin Libraries installed in: /usr/local/tmp/archive/install/lib/HipmunkPlayground-5.0.0/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/HipmunkPlayground-5.0.0 Documentation installed in: /usr/local/tmp/archive/install/share/doc/HipmunkPlayground-5.0.0 Using alex version 2.2 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar Using c2hs version 0.16.0 found on system at: /usr/local/bin/c2hs Using cpphs version 0.7 found on system at: /usr/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.3.3 found on system at: /usr/bin/gcc Using ghc version 6.10.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.10.2 found on system at: /usr/local/bin/ghc-pkg Using greencard found on system at: /usr/local/tmp/archive/install/bin/greencard Using haddock version 2.4.2 found on system at: /usr/local/bin/haddock Using happy version 1.17 found on system at: /usr/local/bin/happy No hmake found Using hsc2hs version 0.67 found on system at: /usr/local/bin/hsc2hs Using hscolour version 1.9 found on system at: /usr/local/bin/HsColour Using hugs found on system at: /usr/local/bin/hugs No jhc found Using ld found on system at: /usr/bin/ld No lhc found No nhc98 found Using pkg-config version 0.22 found on system at: /usr/bin/pkg-config Using ranlib found on system at: /usr/bin/ranlib Using strip found on system at: /usr/bin/strip Using tar found on system at: /bin/tar /usr/bin/gcc /tmp/13455.c -o /tmp/13455 -D__GLASGOW_HASKELL__=610 -I. -I/usr/local/tmp/archive/install/lib/OpenGL-2.2.3.0/ghc-6.10.2/include -I/usr/local/tmp/archive/install/lib/OpenGL-2.2.1.1/ghc-6.10.2/include -I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include -I/usr/local/lib/ghc-6.10.2/include -IPAPI_INCLUDE_DIR *** setup build Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing executables for HipmunkPlayground-5.0.0... Building HipmunkPlayground-5.0.0... Building executable: HipmunkPlayground... Creating dist/build/HipmunkPlayground (and its parents) Creating dist/build/HipmunkPlayground/HipmunkPlayground-tmp (and its parents) /usr/local/bin/ghc -o dist/build/HipmunkPlayground/HipmunkPlayground --make -hide-all-packages -i -idist/build/HipmunkPlayground/HipmunkPlayground-tmp -i. -idist/build/autogen -Idist/build/autogen -Idist/build/HipmunkPlayground/HipmunkPlayground-tmp -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build/HipmunkPlayground/HipmunkPlayground-tmp -hidir dist/build/HipmunkPlayground/HipmunkPlayground-tmp -stubdir dist/build/HipmunkPlayground/HipmunkPlayground-tmp -package GLFW-0.3 -package Hipmunk-5.0.0 -package OpenGL-2.2.3.0 -package base-3.0.3.1 -package containers-0.2.0.1 -O -Wall ./Playground.hs [1 of 1] Compiling Main ( Playground.hs, dist/build/HipmunkPlayground/HipmunkPlayground-tmp/Main.o ) Playground.hs:234:26: Couldn't match expected type `OpenGL-2.2.1.1:Graphics.Rendering.OpenGL.GL.CoordTrans.Size' against inferred type `Size' In the first argument of `openWindow', namely `(Size 800 600)' In the first argument of `assertTrue', namely `(openWindow (Size 800 600) [] Window)' In a stmt of a 'do' expression: assertTrue (openWindow (Size 800 600) [] Window) "Failed to open a window" Playground.hs:308:14: No instance for (HasGetter OpenGL-2.2.1.1:Graphics.Rendering.OpenGL.GL.StateVar.StateVar) arising from a use of `get' at Playground.hs:308:14-21 Possible fix: add an instance declaration for (HasGetter OpenGL-2.2.1.1:Graphics.Rendering.OpenGL.GL.StateVar.StateVar) In a stmt of a 'do' expression: newTime' <- get time In the expression: do newTime <- get time let slower = ... mult = frameSteps / (framePeriod * slower) .... advanceSimulTime stateVar $ min maxSteps framesPassed newTime' <- get time .... In the definition of `advanceTime': advanceTime stateVar oldTime slowKey = do newTime <- get time let slower = ... .... advanceSimulTime stateVar $ min maxSteps framesPassed .... Playground.hs:415:2: Couldn't match expected type `OpenGL-2.2.1.1:Graphics.Rendering.OpenGL.GL.CoordTrans.Position' against inferred type `Position' In the pattern: Position cx cy In a stmt of a 'do' expression: Position cx cy <- get mousePos In the expression: do Position cx cy <- get mousePos Size _ h <- get $ windowSize model <- get $ matrix (Just $ Modelview 0) proj <- get $ matrix (Just Projection) ....