-
Notifications
You must be signed in to change notification settings - Fork 16
Closed
Labels
bugSomething isn't workingSomething isn't workingwindowsProblems with the bindings on windowsProblems with the bindings on windows
Description
Hello,
When I run the following program with cabal run under Windows nothing happens.
hello-raylib> cabal run
hello-raylib>
hello-raylib.cabal
cabal-version: 3.4
name: hello-raylib
version: 0.1.0.0
common warnings
ghc-options: -Wall
executable hello-raylib
import: warnings
main-is: Main.hs
build-depends: base ^>=4.16.0.0
, h-raylib
hs-source-dirs: app
default-language: Haskell2010app/Main.hs
module Main where
import Control.Monad (unless)
import qualified Raylib.Core as Raylib
main :: IO ()
main = do
w <- Raylib.initWindow 480 320 "Hello, Raylib!"
let loop = do
shouldClose <- Raylib.windowShouldClose
unless shouldClose loop
loop
Raylib.closeWindow wI tried updating my NVidia drivers. No change.
I installed raylib and successfully ran one of their examples in C so I suspect there's something wrong with this package or something I've done or missed in the code posted above.
Thank you and kind regards
Björn
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingwindowsProblems with the bindings on windowsProblems with the bindings on windows