Doesn't compile

Issue #6 resolved
Андреев Кирилл created an issue

The library doesn't ever compile from "cabal install" for me.

[1 of 7] Compiling Sound.Wav.AudioFormats ( Sound/Wav/AudioFormats.hs, dist/build/Sound/Wav/AudioFormats.o )
[2 of 7] Compiling Sound.Wav.Data   ( Sound/Wav/Data.hs, dist/build/Sound/Wav/Data.o )
[3 of 7] Compiling Sound.Wav.Core   ( Sound/Wav/Core.hs, dist/build/Sound/Wav/Core.o )
[4 of 7] Compiling Sound.Wav.Info   ( Sound/Wav/Info.hs, dist/build/Sound/Wav/Info.o )
[5 of 7] Compiling Sound.Wav.List   ( Sound/Wav/List.hs, dist/build/Sound/Wav/List.o )
[6 of 7] Compiling Sound.Wav.ChannelData ( Sound/Wav/ChannelData.hs, dist/build/Sound/Wav/ChannelData.o )
[7 of 7] Compiling Sound.Wav        ( Sound/Wav.hs, dist/build/Sound/Wav.o )

Sound/Wav.hs:88:19:
    Not in scope: type constructor or class `ByteOffset'

Sound/Wav.hs:89:24:
    Not in scope: `decodeFileOrFail'
    Perhaps you meant `decodeWaveFileOrFail' (line 89)
Failed to install wavy-0.1.0.0
cabal: Error: some packages failed to install:
wavy-0.1.0.0 failed during the building phase. The exception was:
ExitFailure 1

Comments (3)

  1. Robert Massaioli repo owner

    That is good that you were able to find the source of the problem. Is there anything that I should change in the .cabal file to make it better in the future? I am thinking that perhaps I am being too loose with the binary version range atm.

    What version of binary failed for you? (Or did you do a straight re-install of the same version?)

  2. Log in to comment