Open DamonOehlman opened 10 years ago
Ah. This is because I played it fast and loose and didnt tie down the versions of my dependencies in the .cabal file. The lens library is the culprit, I'll take a look soon.
Im impressed it got that far, getting SDL plus the latest Haskell and OS X working led me through several farms full of yaks.
On Monday, August 12, 2013, Damon Oehlman wrote:
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 1Any 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.
— Reply to this email directly or view it on GitHubhttps://github.com/nkpart/flying-sheep-battles/issues/1 .
Will have a crack at installing this now :)
Anything special needed to do a clean and reinstall? Something like the following?
cabal clean
cabal install
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:
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.