z0w0 / helm

A functionally reactive game engine, with headgear to protect you from the headache of game development provided.
http://helm-engine.org/
MIT License
600 stars 69 forks source link

Installing from source gives me an error about SDL2 dependency. #45

Closed seanparsons closed 10 years ago

seanparsons commented 10 years ago

I just tried to install using "cabal install" and got an error with the dependencies:

$ cabal install
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: helm-0.6.0 (user goal)
next goal: SDL2 (dependency of helm-0.6.0)
Dependency tree exhaustively searched.
ojw commented 10 years ago

Have you installed SDL2 using your package manager?

z0w0 commented 10 years ago

You need to clone the SDL2 bindings repo and cabal install them to get the SDL2 dependency. You will of course need SDL2 installed on the system in order to do that. I'll leave this issue open until the SDL2 bindings get published to Hackage (no idea when that'll be) so that anyone else that runs into this knows what do.