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- (which is required by
exe:bouncingball from bouncingball- See the build log above for
-- project.cabal
build-depends:    base ^>=, gloss

anyone can help how could I fix this issue?

1 Answer 1


I see you've also opened this, cabal issue. I'm afraid, this is really not a cardano question.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.