<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I am seeking help due to the following 
reason:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>VTK-4.2.2&nbsp; ( Release Version )<BR>Windows 98 ( 
Second Edition )<BR>Pentium III Processor<BR>Cygwin&nbsp;&nbsp;&nbsp;&nbsp; ( 
Version 1.3.18 ) ( i686-pc-cygwin Platform )<BR>XFree86&nbsp;&nbsp;&nbsp; ( 
Version 4.2.0 )<BR>gcc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ( Version 3.2 
)<BR>Tcl/Tk&nbsp;&nbsp;&nbsp;&nbsp; ( Version 8.4 )</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Brief Description ( Details given later 
)<BR>-----------------------------------------<BR>VTK is built in the source 
directory /usr/src/VTK-4.2.2 so that executables<BR>are in 
/usr/src/VTK-4.2.2/bin. Test executables are all run and they seem<BR>to be 
generally okay. The CmakeCache.txt is attached.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Problem:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>(1) When vtk.exe is run, I get the 
error</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "Can't find a 
usable init.tcl in the following directories:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ( A list of a 
number of directories )</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This probably 
means that Tcl wasn't installed properly."</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; But I find that init.tcl is 
present in /usr/share/tcl8.4.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>(2) I copy init.tcl into 
/usr/src/VTK-4.2.2/share/tcl8.4 and again run<BR>&nbsp;&nbsp;&nbsp; vtk.exe from 
the bin directory. This time I receive the error:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; `Application 
initialization failed.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; invalid command line 
"tcl_findLibrary" '</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>When I press the OK button, a wish widget appears 
but is blank.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The problem persists after make install has 
installed the programs under<BR>/usr/local/vtk. I cd to /usr/local/vtk/bin and 
run ./vtk.exe</FONT></DIV>
<DIV><FONT face=Arial size=2>I again receive error that init.tcl cannot be 
found. I copy init.tcl to </FONT></DIV>
<DIV><FONT face=Arial size=2>/usr/local/vtk/share/tcl8.4</FONT></DIV>
<DIV><FONT face=Arial size=2>When I run ./vtk again. I receive the second error 
about tcl_findLibrary.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I thank you in advance</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>U.D.Kini</FONT></DIV>
<DIV><FONT face=Arial 
size=2>=======================================================================</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Details<BR>-------<BR>VTK was built in the 
directory /usr/src/VTK-4.2.2 using the default<BR>values presented by ccmake 
except for the following changes:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>(1) Installation prefix is changed to 
/usr/local/vtk<BR>(2) All the CMAKE_CXX_FLAGS and CMAKE_C_FLAGS are edited to 
contain</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;-Wno-deprecated -DUSE_NON_CONST 
-DUSE_COMPOSITELESS_PHOTO_PUT_BLOCK</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; to avoid warnings caused by the 
use of old headers and also because we<BR>&nbsp;&nbsp;&nbsp; have the release 
build being compiled under Tcl/Tk Version 8.4<BR>(3) BUILD_VTK_EXAMPLES is set 
to ON<BR>(4) VTK_DATA_ROOT is defined as /usr/src/VTKData-release-4-2<BR>(5) 
VTK_USE_PATENTED is set to ON<BR>(6) VTK_WRAP_TCL is set to ON</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>This also requires the following definitions to be 
incorporated:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>(6a) TK_INCLUDE_PATH 
/usr/src/tcltk-20001125-1/tk/generic/<BR>(6b) TK_INTERNAL_PATH 
/usr/src/tcltk-20001125-1/tk/win/<BR>(6c) TK_XLIB_PATH 
/usr/src/tcltk-20001125-1/tk/xlib<BR>(6d) TCL_INCLUDE_PATH 
/usr/src/tcltk/tcl/generic<BR>&nbsp;&nbsp;&nbsp;&nbsp; This is because all Tcl 
headers are not included in the<BR>&nbsp;&nbsp;&nbsp;&nbsp; tcltk binary 
distribution.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>At the end of make, the bin directory looks like 
this:<BR>-----------------------------------------------------<BR>VTKWRA~1 
EXE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 82,628&nbsp; 05-17-03 12:34p 
vtkWrapTcl.exe<BR>LIBVTK~1 
A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 72,862&nbsp; 05-17-03 
12:34p libvtkzlib.a<BR>LIBVTK~2 
A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 172,408&nbsp; 05-17-03 12:35p 
libvtkjpeg.a<BR>LIBVTK~3 A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
186,618&nbsp; 05-17-03 12:36p libvtkpng.a<BR>MKG3ST~1 
EXE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 27,463&nbsp; 05-17-03 12:36p 
mkg3states.exe<BR>LIBVTK~4 A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
367,402&nbsp; 05-17-03 12:39p libvtktiff.a<BR>LIBVTK~5 
A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 196,474&nbsp; 05-17-03 12:39p 
libvtkexpat.a<BR>LIBVTK~6 A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
413,196&nbsp; 05-17-03 12:40p libvtkfreetype.a<BR>LIBVTK~7 
A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 78,650&nbsp; 05-17-03 
12:41p libvtkftgl.a<BR>LIBVTK~8 A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
5,082,014&nbsp; 05-17-03&nbsp; 1:11p libvtkCommon.a<BR>LIBVTK~9 
A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1,837,916&nbsp; 05-17-03&nbsp; 1:26p 
libvtkCommonTCL.a<BR>LIBVT~10 A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
1,913,108&nbsp; 05-17-03&nbsp; 1:39p libvtkFiltering.a<BR>LIBVT~11 
A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 463,086&nbsp; 05-17-03&nbsp; 
1:46p libvtkFilteringTCL.a<BR>LIBVT~12 A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
7,772,866&nbsp; 05-17-03&nbsp; 2:21p libvtkImaging.a<BR>LIBVT~13 
A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1,036,002&nbsp; 05-17-03&nbsp; 2:36p 
libvtkImagingTCL.a<BR>LIBVT~14 A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
9,315,742&nbsp; 05-17-03&nbsp; 5:21p libvtkGraphics.a<BR>LIBVT~15 
A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1,752,910&nbsp; 05-17-03&nbsp; 5:48p 
libvtkGraphicsTCL.a<BR>LIBVTKIO A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
7,285,464&nbsp; 05-17-03&nbsp; 6:17p libvtkIO.a<BR>LIBVT~16 
A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 863,684&nbsp; 05-17-03&nbsp; 
6:31p libvtkIOTCL.a<BR>LIBVT~17 A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
6,439,122&nbsp; 05-17-03&nbsp; 7:07p libvtkRendering.a<BR>LIBVT~18 
A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1,407,440&nbsp; 05-17-03&nbsp; 7:22p 
libvtkRenderingTCL.a<BR>LIBVT~19 A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
1,367,810&nbsp; 05-17-03&nbsp; 7:35p libvtkPatented.a<BR>LIBVT~20 
A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 169,820&nbsp; 05-17-03&nbsp; 
7:40p libvtkPatentedTCL.a<BR>VTK&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
EXE&nbsp;&nbsp;&nbsp; 21,577,671&nbsp; 05-17-03&nbsp; 7:43p vtk.exe<BR>COMMON~1 
EXE&nbsp;&nbsp;&nbsp;&nbsp; 2,531,939&nbsp; 05-17-03&nbsp; 7:49p 
CommonCxxTests.exe<BR>TESTCX~1 EXE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
455,725&nbsp; 05-17-03&nbsp; 7:49p TestCxxFeatures.exe<BR>TESTIN~1 
EXE&nbsp;&nbsp;&nbsp;&nbsp; 2,746,795&nbsp; 05-17-03&nbsp; 7:49p 
TestInstantiator.exe<BR>FILTER~1 EXE&nbsp;&nbsp;&nbsp;&nbsp; 1,232,855&nbsp; 
05-17-03&nbsp; 7:50p FilteringCxxTests.exe<BR>GRAPHI~1 
EXE&nbsp;&nbsp;&nbsp;&nbsp; 5,197,286&nbsp; 05-17-03&nbsp; 7:54p 
GraphicsCxxTests.exe<BR>IMAGIN~1 EXE&nbsp;&nbsp;&nbsp;&nbsp; 5,971,544&nbsp; 
05-17-03&nbsp; 7:55p ImagingCxxTests.exe<BR>IOCXXT~1 EXE&nbsp;&nbsp;&nbsp;&nbsp; 
1,332,513&nbsp; 05-17-03&nbsp; 7:55p IOCxxTests.exe<BR>RENDER~1 
EXE&nbsp;&nbsp;&nbsp;&nbsp; 3,743,774&nbsp; 05-17-03&nbsp; 7:56p 
RenderingCxxTests.exe<BR>TIMERE~1 EXE&nbsp;&nbsp;&nbsp;&nbsp; 3,822,358&nbsp; 
05-17-03&nbsp; 7:57p TimeRenderer.exe<BR>TIMERE~2 EXE&nbsp;&nbsp;&nbsp;&nbsp; 
3,794,302&nbsp; 05-17-03&nbsp; 7:57p 
TimeRenderer2.exe<BR>-------------------------------------------</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>cd bin</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Run tests. The tests run without error except for 
Test 6 (volProt) in<BR>---------<BR>GraphicsCxxTests.exe. The&nbsp; error 
message is that the file<BR>Data/ironProt.vtk could not be found ( I checked 
that this file exists in<BR>the /usr/src/VTKData-release-4-2/Data directory ). 
Is this a bug?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>While running GraphicsCxxTests.exe as well as some 
of the other tests in the<BR>bin directory, a widget appears, the object is seen 
for a split second and<BR>the widget vanishes. Is this normal?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>( TimeRenderer.exe and TimeRenderer2.exe show 
animation for a few seconds<BR>and then the widgets disappear; this seems 
alright. )</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>