A Tcl programmer that I know says:
He is not calling Tcl_FindExecutable() before creating interpreters.
That is needed to initialize things like encodings.
--
Tcl - The glue of a new generation. http://wiki.tcl.tk/
Larry W. Virden
http://www.facebook.com/lvirden/
Even if explicitly stated to t
From: Pavel Kudrna
>
> Hi All,
> I have problem with tcl initialization, see example. Am I doing
> something wrong?
> Thanks for help
> Pavel Kudrna
>
Change: if (Tcl_Init(0) == TCL_ERROR)
To: if (Tcl_Init(interp) == TCL_ERROR)
Still, it shouldn't seg fault.
--Ken Nellis
--
Problem reports
Hi All,
I have problem with tcl initialization, see example. Am I doing
something wrong?
Thanks for help
Pavel Kudrna
$ cat example.c
#include
#include
int main(int argc, char * argv[])
{
printf("Tcl_CreateInterp()\n");
Tcl_Interp * interp = Tcl_CreateInterp();
if (!interp) { printf("fa
3 matches
Mail list logo