Downloading gloss

85 views
Skip to first unread message

Maryam Raja

unread,
Dec 29, 2020, 7:20:06 AM12/29/20
to Haskell Gloss
Hi,
Currently I am trying to start up my university project but i have trouble getting cabal tp install gloss.
When i try to run cabal i get the following error



Build profile: -w ghc-8.10.2 -O1
In order, the following will be built (use -v for more details):
 - OpenGLRaw-3.3.4.0 (lib) (requires build)
 - GLURaw-2.0.0.4 (lib) (requires build)
 - OpenGL-3.0.3.0 (lib) (requires build)
 - GLUT-2.7.0.15 (lib) (requires build)
 - gloss-rendering-1.13.1.1 (lib) (requires build)
 - gloss-1.13.2.1 (lib) (requires build)
 - myproject-0.1.0.0 (exe:myproject) (first run)
Starting     OpenGLRaw-3.3.4.0 (lib)
Building     OpenGLRaw-3.3.4.0 (lib)

Failed to build OpenGLRaw-3.3.4.0.
Build log (
C:\Users\marya\AppData\Roaming\cabal\logs\ghc-8.10.2\OpenGLRaw-3.3.4.0-5f9573d3039b510803053ef4faa7aaf9322fbf31.log
):
Preprocessing library for OpenGLRaw-3.3.4.0..
Building library for OpenGLRaw-3.3.4.0..
[  1 of 617] Compiling Graphics.GL.Groups ( src\Graphics\GL\Groups.hs, dist\build\Graphics\GL\Groups.o )
[  2 of 617] Compiling Graphics.GL.Types ( src\Graphics\GL\Types.hs, dist\build\Graphics\GL\Types.o )
ghc.exe: could not execute: C:/GitLabRunner/builds/2WeHDSFP/0/ghc/ghc/inplace/mingw/bin/ld.exe
cabal.exe: Failed to build OpenGLRaw-3.3.4.0 (which is required by
exe:myproject from myproject-0.1.0.0). See the build log above for details.

Whatever I seem to try, it doesn't allow these libraries to build. Can anyone help me please?

Ben Lippmeier

unread,
Dec 29, 2020, 7:25:38 AM12/29/20
to haskel...@googlegroups.com, Maryam Raja, sven...@gmail.com, dag...@gmail.com
That problem is when building the OpenGLRaw library, not Gloss itself. You’ll need to contact the OpenGLRaw maintainers to see if they know about the problem. The Hackage page for OpenGLRaw lists Sven Panne and Jason Dagit, cc-d. I don’t know if the Windows build is maintained.


Ben.






Reply all
Reply to author
Forward
0 new messages