Closed vijayank88 closed 1 year ago
If you tried a build before installing tcl-dev and tk-dev, then you might have to do a make clean
and start over again with ./configure
. Otherwise you might end up with the system trying to link together files that were compiled with Tcl/Tk support and other files that weren't. (FYI, I don't think this is a version issue because I'm using Tk version 8.6.10-7 and the Tk console which generated the error message has been working for years).
Otherwise, the error message seems to be Tk-specific (not Tcl). You may still be able to run in terminal mode (netgen -noconsole
) or batch mode (netgen -batch ...
).
Note that in practice, netgen is almost always used in batch mode (at least that's the way I always use it).
Thanks @RTimothyEdwards.
It is working with -noconsole
~$ netgen -noconsole
Netgen 1.5.255 compiled on Friday 14 July 2023 04:52:36 PM IST
Warning: netgen command 'format' use fully-qualified name '::netgen::format'
Warning: netgen command 'global' use fully-qualified name '::netgen::global'
%
Using Ubuntu 20.04. Installed with
./configure make sudo make install
If I launch
netgen
, it is failing with below log:I tried to install
tcl-dev
andtk-dev
it says both or exist.How to resolve that error.