StarCoder17
StarCoder17

Reputation: 175

Error while launching tcl-tk standalone application

I followed the procedure mentioned in below link to create a Tcl standalone application.

The Simplest Steps to Converting TCL TK to a Stand Alone Application

Once I have my wrapped application, I tried launching it on Unix platform and it throws me Invalid command name Error:

I tried launching it with following command

%% tclsh char

Where char is my wrapped application created after running tclkit with sdx.kit.

%% ./tclkit-linux-x86_64 sdx.kit wrap char -runtime basekit
2 updates applied

Please let me know if I am missing anything.

Upvotes: 0

Views: 379

Answers (2)

StarCoder17
StarCoder17

Reputation: 175

%% sdx.kit qwrap char.tcl

This seems to be working fine.

Upvotes: 0

Mathieu
Mathieu

Reputation: 9619

From the post you mentionned:

% ./tclkit sdx.kit wrap myapp -runtime basekit
1 updates applied
% ls 
basekit myapp myapp.vfs sdx.kit tclkit

[...]

You now have an executable file, 'myapp', that is the wrapped application.

So try to launch it like any executable:

%% ./char

Upvotes: 2

Related Questions