Re: Can't find a usable init.tcl ... Tcl wasn't installed correctly
- From: Christian Gollwitzer <auriocus@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 06 Mar 2006 21:15:58 +0100
Patrick wrote:
Here is the code that is supposed to create and initialize an interpreter but instead prints the error message:
int status;
Does it help to call
Tcl_FindExecutable(argv[0]);
here?
tkinterp = Tcl_CreateInterp();
status = Tcl_Init(tkinterp);
if (status != TCL_OK) {
fprintf(
stderr,
"Tcl_Init failed. status: %d. result: %s\n",
status, tkinterp->result
);
exit(1);
}
Christian
.
- Follow-Ups:
- References:
- Prev by Date: Re: Trouble with TCL install on Red Hat Enterprise Linux 4
- Next by Date: Re: Trouble with TCL install on Red Hat Enterprise Linux 4
- Previous by thread: Re: Can't find a usable init.tcl ... Tcl wasn't installed correctly
- Next by thread: Re: Can't find a usable init.tcl ... Tcl wasn't installed correctly
- Index(es):
Relevant Pages
|