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

Invaders: "Can't find import Effect/SDL" #2

Open
noam87 opened this issue May 18, 2016 · 2 comments
Open

Invaders: "Can't find import Effect/SDL" #2

noam87 opened this issue May 18, 2016 · 2 comments

Comments

@noam87
Copy link

noam87 commented May 18, 2016

Hi, I'm trying to run the invaders example using

idris Main.idr -o invaders -p effects

However, I get the error above.

@steshaw
Copy link

steshaw commented Jul 22, 2016

You first need to install the SDL binding https://github.com/edwinb/SDL-idris.

@tluyben
Copy link

tluyben commented Nov 24, 2017

For me the following worked (Ubuntu):

apt-get install libsdl1.2-dev libsdl-gfx1.2-dev

then installing SDL-idris, and then

idris Main.idr -o invaders -p sdl -p effects

Then it worked well (although the game is much too fast).

SDL2 port? :)

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

No branches or pull requests

3 participants