I just learning about Haskell and trying to create Haskell project with Cabal, but when I tried install Gloss, it always return an error
-- error ... ghc: could not execute: opt cabal: Failed to build OpenGLRaw-18.104.22.168 (which is required by exe:bouncingball from bouncingball-0.1.0.0). See the build log above for details.
-- project.cabal build-depends: base ^>=22.214.171.124, gloss
anyone can help how could I fix this issue?