Can't install sdl2 via cabal
问题 I am trying to install helm . When I try to install it, however I get this error: $ cabal install helm Resolving dependencies... Configuring sdl2-1.1.0... cabal: The pkg-config package 'sdl2' version >=2.0.3 is required but it could not be found. Failed to install sdl2-1.1.0 cabal: Error: some packages failed to install: helm-0.6.1 depends on sdl2-1.1.0 which failed to install. sdl2-1.1.0 failed during the configure step. The exception was: ExitFailure 1 When I go to install sdl2 by itself, I