nkpart / flying-sheep-battles Goto Github PK
View Code? Open in Web Editor NEWFlying Sheep Battles - a game built at campjs with Haskell, SDL and Netwire
Flying Sheep Battles - a game built at campjs with Haskell, SDL and Netwire
Hey Nick,
In uncharted territory here - can't get past the compiler ;)
I think I've got everything setup now (ghc 7.6.3, haskell platform, etc) only catch is I'm on ubuntu 13.04 which does take some configuration jiggering around to get haskell platform playing nice.
Took a few iterations of installing various libsdl*-dev
packages and I think I'm hitting a genuine compiler problem here, which is probably just me doing something dumb.
Here's a snapshot of the output I get:
Preprocessing executable 'sdltemplate' for SDLTemplate-1.0...
[1 of 5] Compiling Wires ( Wires.hs, dist/build/sdltemplate/sdltemplate-tmp/Wires.o )
[2 of 5] Compiling Graphics ( Graphics.hs, dist/build/sdltemplate/sdltemplate-tmp/Graphics.o )
[3 of 5] Compiling Config ( Config.hs, dist/build/sdltemplate/sdltemplate-tmp/Config.o )
[4 of 5] Compiling SDLTemplate ( SDLTemplate.hs, dist/build/sdltemplate/sdltemplate-tmp/SDLTemplate.o )
SDLTemplate.hs:127:22:
Not in scope: `holding'
Perhaps you meant one of these:
`folding' (imported from Control.Lens),
`ifolding' (imported from Control.Lens)
Failed to install SDLTemplate-1.0
cabal: Error: some packages failed to install:
SDLTemplate-1.0 failed during the building phase. The exception was:
ExitFailure 1
Any help you can provide would be great. Keen to have a play with haskell and game + FRP has definitely got me interested :)
Thanks heaps,
Damon.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.