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@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/
\____/\_____/\___/\__/ Tel. (765) 973-8420; FAX (765) 973-8550
Greetings! I am a beginner to FieldTrip (which I have not yet
even been able to install) and to computer graphics in general
(which my questions will probably make obvious).
On Mar. 6, Hugo Gomes asked:
> Are there any plans to remove the OpenGL dependency on FieldTrip ? Is this
> desirable (i can argue that it is) ?
and Conal Elliott replied:
> Personally, I want to move away from OpenGL to a GPU-centric architecture.
Now my questions:
Since OpenGL is the only 3D graphics framework that I am familiar with,
I am wondering how a "GPU-centric architecture" would be different.
Indeed, I was under the impression that OpenGL _is_ an API for
controlling the GPU; so another way of putting my question is:
if that's not GPU-centric, then what is?
And why would that be better?
--
___ ___ __ _
/ _ \ / _ \| | | | Gregory D. Weber, Associate Professor
/ /_\// / | | | /\ | | Indiana University East
/ /_\\/ /__| | |/ \| | http://mypage.iu.edu/~gdweber/
\____/\_____/\___/\__/ Tel. (765) 973-8420; FAX (765) 973-8550