Possible to build without tk?

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

Moderators: silvia, selimgunay, Moderators

Post Reply
Nero
Posts: 51
Joined: Wed Jun 22, 2005 2:19 am

Possible to build without tk?

Post by Nero »

Is it possible to build a non-tk dependent OpenSees? If I understand correctly, tk is a GUI building tool that works hand in hand with tcl. When I do an OpenSees build, I get a normal OpenSees executable that runs without any GUI, and a tk version.

I ask, because I am trying to build on a cluster machine that has tcl, but not tk. I dont need the GUI stuff- just the simple command line version. Any info on how I might modify the makefile.def to not build the tk version, and thus not have the tk dependency would be greatly appreciated. Thanks!
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

it is ossible .. look at Makefile.def.TERAGRID or .DATASTAR or
any without a tk in it.
Nero
Posts: 51
Joined: Wed Jun 22, 2005 2:19 am

Post by Nero »

Thanks Frank.

I was able to stop building the tk version, and take away the tk dependency by:

1) Removing all references to libtk in the makefile.def (all -ltk)
2) making via "make OpenSees" which only builds the tcl version.
Post Reply