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

Building HaskellSpriteKit fails, Type Constructor or class not in scope #16

Open
braedenf opened this issue May 12, 2018 · 1 comment
Open

Comments

@braedenf
Copy link

I am having a problem compiling the HaskellSprite kit in Xcode 9.1 with GHC v. 8.2.2.
The error is placed below:

Showing Recent Messages
[ 8 of 14] Compiling Graphics.SpriteKit.Types ( Graphics/SpriteKit/Types.hs, /Users/braedenfoster/Library/Developer/Xcode/DerivedData/HaskellSpriteKit-ckqakbbckyvankhijtgdgqnstbxs/Build/Intermediates.noindex/SwiftMigration/HaskellSpriteKit/Intermediates.noindex/HaskellSpriteKit.build/Debug/HaskellSpriteKit.build/spritekit/build/Graphics/SpriteKit/Types.o )


Graphics/SpriteKit/Types.hs:395:19: error:


    Not in scope: type constructor or class ‘GHC.Any’


    Module ‘GHC.Prim’ does not export ‘Any’.


    |


395 | newtype Any = Any GHC.Any


    |                   ^^^^^^^


cabal: Leaving directory 'HaskellSpriteKit/spritekit'


cabal: Error: some packages failed to install:


spritekit-0.9.0.2-CQBFv3qNfz48eVFPtHanfT failed during the building phase. The


exception was:


ExitFailure 1


cabal install failed
@mchakravarty
Copy link
Owner

Thanks for the report. I haven't looked at compiling this with GHC 8.2 yet. Please let me know if you find a fix.

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

2 participants