У меня, например, нет ни винды, и я ни разу в жизни не использовал OpenGL и GLUT, т.е. не смогу угадать проблему. А вот подсказать, что не то по тексту ошибки и команде - смогу
q:\LosProgram\StudioMicroProject\HaskellGames>ghc LosGame.hs [1 of 1] Compiling Main ( LosGame.hs, LosGame.o )
LosGame.hs:4:1: error: Could not find module `Graphics.Rendering.OpenGL' Use -v (or :set -v in ghci) to see a list of the files searched for. | 4 | import Graphics.Rendering.OpenGL | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
LosGame.hs:5:1: error: Could not find module `Graphics.UI.GLUT' Use -v (or :set -v in ghci) to see a list of the files searched for. | 5 | import Graphics.UI.GLUT
q:\LosProgram\StudioMicroProject\HaskellGames>cabal install OpenGL Resolving dependencies... Up to date Warning: You asked to install executables, but there are no executables in target: OpenGL. Perhaps you want to use --lib to install libraries instead.