Skip to content

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

Open
@ghost

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions