X11 + Opengl

For developers writing C++, Fortran, Java, code who have questions or comments to make.

Moderators: silvia, selimgunay, Moderators

Post Reply
sobh
Posts: 3
Joined: Wed Jan 07, 2009 9:53 pm

X11 + Opengl

Post by sobh »

My linux box does not have the full X11 installed and no Opengl. I compiled and ran Opensees with no display option. Now I want to try the graphics capabilities of Opensees.
[b]Where can I get the needed opengl and x11?[/b]

--N
sobh
Posts: 3
Joined: Wed Jan 07, 2009 9:53 pm

X11 + Opengl

Post by sobh »

I downloaded the Mesa-opengl (MesaLib 7.2) implementation and built the
opengl libraries and did a full recompile on opensees.

The opengl+opensees works fine and I got the force-disp plot in a separate window (as expected)

NOTE: I used the RCFrame1.tcl example
and I removed the following line:

source RCFrameDisplay.tcl



--N
sobh
Posts: 3
Joined: Wed Jan 07, 2009 9:53 pm

X11 + Opengl

Post by sobh »

In the previous message I mentioned that I had to remove one line from the RCFrame1.tcl file.

In fact you don't have to do that as long as you copy the RCFrameDisplay.tcl from the ExampleScript dir.

So the RCFrame1.tcl example works fine but make sure you copy it together with the RCFrameDisplay.tcl file.

--N
Post Reply