Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set proper sdl2 min bound #204

Merged
merged 1 commit into from
May 12, 2024
Merged

Conversation

TristanCacqueray
Copy link
Contributor

This change prevents building against sdl2 version 1 which does not have the necessary exposed modules.

@TristanCacqueray
Copy link
Contributor Author

Not sure how this happened, but in a new environment, cabal somehow picked sdl2 version 1 which was failing with this mysterious error:

src/DearImGui/SDL.hs:44:1: error: [GHC-87110]
    Could not load module `SDL'.
    It is a member of the hidden package `sdl2-2.5.5.0'.
    Perhaps you need to add `sdl2' to the build-depends in your .cabal file.
   |
44 | import SDL
   | ^^^^^^^^^^

This change should prevent that.

This change prevents building against sdl2 version 1 which
does not have the necessary exposed modules.
@dpwiz dpwiz enabled auto-merge (squash) May 12, 2024 10:18
@dpwiz dpwiz merged commit d819410 into haskell-game:main May 12, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants