[Fieldtrip] FieldTrip 0.2.4 conflicts with OpenGL 2.2.3.0
Conal Elliott
conal at conal.net
Fri Jun 5 00:23:11 EDT 2009
Thanks, Gregory. I just pushed (to darcs & hackage) FieldTrip-0.2.7, which
works with and depends on OpenGL>=2.2.3.0.
- Conal
On Thu, Jun 4, 2009 at 9:46 AM, Gregory D. Weber <gdweber at iue.edu> wrote:
> After upgrading OpenGL, I tried to re-install FieldTrip 0.2.4 and
> encountered these errors, from GHC 6.10.1 on Fedora 10 Linux:
>
> [ 3 of 17] Compiling Graphics.FieldTrip.Vector2
> ( src/Graphics/FieldTrip/Vector2.hs,
> dist/build/Graphics/FieldTrip/Vector2.o )
>
> src/Graphics/FieldTrip/Vector2.hs:69:9:
> Duplicate instance declarations:
> instance Functor Vector2
> -- Defined at src/Graphics/FieldTrip/Vector2.hs:69:9-23
> instance Functor Vector2
> -- Defined in OpenGL-2.2.3.0:Graphics.Rendering.OpenGL.GL.Tensor
>
> src/Graphics/FieldTrip/Vector2.hs:72:9:
> Duplicate instance declarations:
> instance Applicative Vector2
> -- Defined at src/Graphics/FieldTrip/Vector2.hs:72:9-27
> instance Applicative Vector2
> -- Defined in OpenGL-2.2.3.0:Graphics.Rendering.OpenGL.GL.Tensor
> [root at squirrel]#
>
> ------------
>
> Previously, I had installed FieldTrip 0.2.4 with earlier versions
> of OpenGL. I got some scary-looking warnings in the 'configure'
> step:
>
> Configure warns: Warning: This package indirectly depends on
> multiple versions of the same
> package. This is highly likely to cause a compile failure.
> package graphicsFormats-0.1 requires OpenGL-2.2.1.1
> package GLUT-2.1.2.1 requires OpenGL-2.2.2.0
> package FieldTrip-0.2.4 requires OpenGL-2.2.2.0
>
> -- but I did have both those versions of OpenGL installed at the time,
> and it did work.
>
> Is my best move now to re-install OpenGL 2.2.1.1 and OpenGL 2.2.2.0,
> keeping OpenGL 2.2.3.0, or had I better remove the newest version
> of OpenGL and just keep the older two?
>
> I hope I'm not answering my own question here, in my previous post,
> about the desirability
> of moving FieldTrip away OpenGL -- however, I think people meant
> something more than version problems by that ;-)
>
> --
> ___ ___ __ _
> / _ \ / _ \| | | | Gregory D. Weber, Associate Professor
> / /_\// / | | | /\ | | Indiana University East
> / /_\\/ /__| | |/ \| | http://mypage.iu.edu/~gdweber/<http://mypage.iu.edu/%7Egdweber/>
> \____/\_____/\___/\__/ Tel. (765) 973-8420; FAX (765) 973-8550
> _______________________________________________
> FieldTrip mailing list
> FieldTrip at haskell.org
> http://www.haskell.org/mailman/listinfo/fieldtrip
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/fieldtrip/attachments/20090605/49ef8ccd/attachment.html
More information about the FieldTrip
mailing list