Anut-py / h-raylib

Haskell bindings for raylib
https://hackage.haskell.org/package/h-raylib
Apache License 2.0
84 stars 14 forks source link

Module ‘Raylib.Util’ does not export ‘raylibApplication’ #47

Closed delyan-kirov closed 7 months ago

delyan-kirov commented 7 months ago

Basically title.

My ghc version is ghc 9.2.8.

Other functions from Raylib.Util are there.

Template Haskell is enabled.

The cabal file is this:

common warnings
    ghc-options: -Wall

executable pokiclone
    -- Import common warning flags.
    import:           warnings

    -- .hs or .lhs file containing the Main module.
    main-is:          Main.hs

    -- Modules included in this executable, other than Main.
    -- other-modules:

    -- LANGUAGE extensions used by modules in this package.
    other-extensions: MultiWayIf

    -- Other library packages from which modules are imported.
    build-depends:    base ^>=4.16.4.0
                    , h-raylib
                    , lens

    -- Directories containing source files.
    hs-source-dirs:   app

    -- Base language which the package is written in.
    default-language: GHC2021
Anut-py commented 7 months ago

Add the version constraint >= 5.1.1.0 to h-raylib

delyan-kirov commented 7 months ago

That worked, cheers!