user6519: 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-3.3.4.1 (which is required by
exe:bouncingball from bouncingball-0.1.0.0). See the build log above for
details.

-- project.cabal
build-depends:    base ^>=4.14.3.0, gloss

anyone can help how could I fix this issue?

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

6519: <p>I just learning about Haskell and trying to create Haskell project with <em><strong>Cabal</strong></em>, but when I tried install <em><strong>Gloss</strong></em>, it always return an error</p>
<pre><code>-- error
...
ghc: could not execute: opt
cabal: Failed to build OpenGLRaw-3.3.4.1 (which is required by
exe:bouncingball from bouncingball-0.1.0.0). See the build log above for
details.
</code></pre>
<pre><code>-- project.cabal
build-depends:    base ^&gt;=4.14.3.0, gloss
</code></pre>
<p>anyone can help how could I fix this issue?</p>
 6044: <p>I see you've also opened <a href="https://github.com/haskell/cabal/issues/7984" rel="nofollow noreferrer">this</a>, cabal issue. I'm afraid, this is really not a cardano question.</p>
