Ticket #17 (new defect)

Opened 9 years ago

Last modified 9 years ago

FieldTrip 0.2.2 fails to compile: Not in scope: type constructor or class `AVector'

Reported by: DustinDeWeese Owned by:
Priority: major Milestone:
Version: Keywords:


FieldTrip 0.2.2 fails to compile with the error:

    Not in scope: type constructor or class `AVector'
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.10.1
$ cabal install FieldTrip
Resolving dependencies...
'FieldTrip-0.2.2' is cached.
Configuring FieldTrip-0.2.2...
Preprocessing library FieldTrip-0.2.2...
Building FieldTrip-0.2.2...
[ 1 of 17] Compiling Graphics.FieldTrip.ParamSurf ( src/Graphics/FieldTrip/ParamSurf.hs, dist/build/Graphics/FieldTrip/ParamSurf.o )
[ 2 of 17] Compiling Graphics.FieldTrip.Transform ( src/Graphics/FieldTrip/Transform.hs, dist/build/Graphics/FieldTrip/Transform.o )
[ 3 of 17] Compiling Graphics.FieldTrip.Vector2 ( src/Graphics/FieldTrip/Vector2.hs, dist/build/Graphics/FieldTrip/Vector2.o )
[ 4 of 17] Compiling Graphics.FieldTrip.Vector3 ( src/Graphics/FieldTrip/Vector3.hs, dist/build/Graphics/FieldTrip/Vector3.o )
[ 5 of 17] Compiling Graphics.FieldTrip.Point3 ( src/Graphics/FieldTrip/Point3.hs, dist/build/Graphics/FieldTrip/Point3.o )

    Not in scope: type constructor or class `AVector'
cabal: Error: some packages failed to install:
FieldTrip-0.2.2 failed during the building phase. The exception was:
exit: ExitFailure 1

Change History

  Changed 9 years ago by DustinDeWeese

I downloaded the latest code from the repository and got the exact same results.

in reply to: ↑ description   Changed 9 years ago by dmwit

It looks like the fix for this problem is pretty simple: replace AVector with Diff in src/Graphics/FieldTrip/Point2.hs and src/Graphics/FieldTrip/Point3.hs. I've sent a patch to the mailing list, so hopefully it will be fixed soon.

Note: See TracTickets for help on using tickets.