Hi,
I have extendet my project (Process Visualisation)
with VTK (Visualization Toolkit)
It all works fine under Linux.
But on Windows I can't initialize the Tcl interpreter.
Wish83 is running also VTK !!!
Versions: VTK 4.0 from User's Guide CD including Tcl/Tk 8.3
WindowsXP
VC++ 6.0
What's the problem ? I couldn't find a FAQ for my problem.
Is it a problem of tcl83 with WindowsXP ?
Please give me a hint.
-------------
Rainer Lehrig
/////////////////////////////////////////////////////////////////////////////
// The following test program exits with TCL_ERROR, but interp seems to be ok
/////////////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "tcl.h"
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
Tcl_Interp *interp;
interp = Tcl_CreateInterp(); // the returned interp looks ok
if(Tcl_Init(interp) == TCL_ERROR)
{
return TCL_ERROR; // here I get an error
}
return 0;
}
I have extendet my project (Process Visualisation)
with VTK (Visualization Toolkit)
It all works fine under Linux.
But on Windows I can't initialize the Tcl interpreter.
Wish83 is running also VTK !!!
Versions: VTK 4.0 from User's Guide CD including Tcl/Tk 8.3
WindowsXP
VC++ 6.0
What's the problem ? I couldn't find a FAQ for my problem.
Is it a problem of tcl83 with WindowsXP ?
Please give me a hint.
-------------
Rainer Lehrig
/////////////////////////////////////////////////////////////////////////////
// The following test program exits with TCL_ERROR, but interp seems to be ok
/////////////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "tcl.h"
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
Tcl_Interp *interp;
interp = Tcl_CreateInterp(); // the returned interp looks ok
if(Tcl_Init(interp) == TCL_ERROR)
{
return TCL_ERROR; // here I get an error
}
return 0;
}