Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

stand alone application

Status
Not open for further replies.

RajVerma

Programmer
Jun 11, 2003
62
DE
hi all,

I have a simple tk program with a GUI. instead of running the file from a Tcl/Tk prompt I want to make it as a executable file that can run even without having Tcl/Tk compiler. can anyone give me some reference where can I look for the info.

thnx,
Raj.
 
thnx Bob,

I tried it. It works fine in windows without any complaints. But in Linux, it seems it doesn't recognize the "math" package. It creates the executable file, but when I run it, it gives the following error...

Error sourcing /home/raj/Desktop/Report/DLFG/fg23.tk: can't find package math

So does it mean that the Linux version of freewrap doesn't deal with math package?? Windows version of freeWrap is working fine without any problem. What should I do to make sure that it rocognizes the math package in Linux, b'cos I need it for my Random Number Generator.

One more question, when I run the executable(application), both in windows and Linux, there is a shell window that opens along with the application. Is it not possible to block this shell while opening the application??

thanx,
Raj.
 
does the same window appear when you run the script without wrapping?

Bob Rashkin
rrashkin@csc.com
 
hi Bob,

every thing works fine (without opening a shell window, may be b'cos there is already one shell opened from where I ran the script) in Linux as well as windows when I run the script from the shell.

My first concern is, after wrapping in Linux, I tried to run the wrapped application, then it gives an error regarding math package.

My second concern is, after wrapping both in Linux as well as Windows, I tried to run the wrapped application, then it opens the application along with a shell window. In Linux, this shell window has the error message about the math package.

so I don't want this shell window to be opened which is of no use for the user who want to directly run the application.

thnx,
Raj.
 
I'm stumped.

Bob Rashkin
rrashkin@csc.com
 
I guess I was explaining too much too vague.

to put it in a simple way, can FreeWrap(in Linux) deal with math package?

FreeWrap of windows works fine with math package but FreeWrap of Linux gives an error about math package. why?

I'm using the same tk script on both the platforms.

thanx,
Raj.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top