GUI in Linux

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

Moderators: silvia, selimgunay, Moderators

Post Reply
simon
Posts: 4
Joined: Wed Aug 30, 2006 1:14 pm
Location: Los Angeles

GUI in Linux

Post by simon »

Hi, I have compiled OpenSees in Linux with Graphics enabled ("Graphics=UsingOpenGL"), but when I tried to run the "strain.tcl" from the "SCRIPTS" directory, I got an error saying OpenSees doesn't know the command "wm".

I remember during OpenSees Day 2006, we had to use OpenSeesTK.exe instead when we compiled using Visual C++. Is there something like that for Linux?

Thanks in advance.
simon
Posts: 4
Joined: Wed Aug 30, 2006 1:14 pm
Location: Los Angeles

Post by simon »

To answer my own question, and maybe give other some pointers. When I look into the make file (named "Makefile"), I see that there is a branch "OpenSeesTk". And when I compile with the command

Code: Select all

make OpenSeesTk
I get a new binary that can run the TK commands with the GUI stuffs.

However, that binary said it is only version 1.7.1, which is strange because if I use the command

Code: Select all

make all
I would get version 1.7.3. The source files I got are from CVS on 9/25/2006.

- Simon
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

you wre obtaining 1.7.3, the tkMain.cpp still was using the old version number.
i have made the fix and the cvs repository has been updated.
Post Reply