<!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> </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> </DIV>
<DIV><FONT face=Arial size=2>VTK-4.2.2 ( Release Version )<BR>Windows 98 (
Second Edition )<BR>Pentium III Processor<BR>Cygwin (
Version 1.3.18 ) ( i686-pc-cygwin Platform )<BR>XFree86 (
Version 4.2.0 )<BR>gcc ( Version 3.2
)<BR>Tcl/Tk ( Version 8.4 )</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </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> </DIV>
<DIV><FONT face=Arial size=2>Problem:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </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> </DIV>
<DIV><FONT face=Arial size=2> "Can't find a
usable init.tcl in the following directories:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> ( A list of a
number of directories )</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> This probably
means that Tcl wasn't installed properly."</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> But I find that init.tcl is
present in /usr/share/tcl8.4.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </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> vtk.exe from
the bin directory. This time I receive the error:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> `Application
initialization failed.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> invalid command line
"tcl_findLibrary" '</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </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> </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> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I thank you in advance</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </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> </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> </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> </DIV>
<DIV><FONT face=Arial size=2> -Wno-deprecated -DUSE_NON_CONST
-DUSE_COMPOSITELESS_PHOTO_PUT_BLOCK</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> to avoid warnings caused by the
use of old headers and also because we<BR> 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> </DIV>
<DIV><FONT face=Arial size=2>This also requires the following definitions to be
incorporated:</FONT></DIV>
<DIV> </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> This is because all Tcl
headers are not included in the<BR> tcltk binary
distribution.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>At the end of make, the bin directory looks like
this:<BR>-----------------------------------------------------<BR>VTKWRA~1
EXE 82,628 05-17-03 12:34p
vtkWrapTcl.exe<BR>LIBVTK~1
A 72,862 05-17-03
12:34p libvtkzlib.a<BR>LIBVTK~2
A 172,408 05-17-03 12:35p
libvtkjpeg.a<BR>LIBVTK~3 A
186,618 05-17-03 12:36p libvtkpng.a<BR>MKG3ST~1
EXE 27,463 05-17-03 12:36p
mkg3states.exe<BR>LIBVTK~4 A
367,402 05-17-03 12:39p libvtktiff.a<BR>LIBVTK~5
A 196,474 05-17-03 12:39p
libvtkexpat.a<BR>LIBVTK~6 A
413,196 05-17-03 12:40p libvtkfreetype.a<BR>LIBVTK~7
A 78,650 05-17-03
12:41p libvtkftgl.a<BR>LIBVTK~8 A
5,082,014 05-17-03 1:11p libvtkCommon.a<BR>LIBVTK~9
A 1,837,916 05-17-03 1:26p
libvtkCommonTCL.a<BR>LIBVT~10 A
1,913,108 05-17-03 1:39p libvtkFiltering.a<BR>LIBVT~11
A 463,086 05-17-03
1:46p libvtkFilteringTCL.a<BR>LIBVT~12 A
7,772,866 05-17-03 2:21p libvtkImaging.a<BR>LIBVT~13
A 1,036,002 05-17-03 2:36p
libvtkImagingTCL.a<BR>LIBVT~14 A
9,315,742 05-17-03 5:21p libvtkGraphics.a<BR>LIBVT~15
A 1,752,910 05-17-03 5:48p
libvtkGraphicsTCL.a<BR>LIBVTKIO A
7,285,464 05-17-03 6:17p libvtkIO.a<BR>LIBVT~16
A 863,684 05-17-03
6:31p libvtkIOTCL.a<BR>LIBVT~17 A
6,439,122 05-17-03 7:07p libvtkRendering.a<BR>LIBVT~18
A 1,407,440 05-17-03 7:22p
libvtkRenderingTCL.a<BR>LIBVT~19 A
1,367,810 05-17-03 7:35p libvtkPatented.a<BR>LIBVT~20
A 169,820 05-17-03
7:40p libvtkPatentedTCL.a<BR>VTK
EXE 21,577,671 05-17-03 7:43p vtk.exe<BR>COMMON~1
EXE 2,531,939 05-17-03 7:49p
CommonCxxTests.exe<BR>TESTCX~1 EXE
455,725 05-17-03 7:49p TestCxxFeatures.exe<BR>TESTIN~1
EXE 2,746,795 05-17-03 7:49p
TestInstantiator.exe<BR>FILTER~1 EXE 1,232,855
05-17-03 7:50p FilteringCxxTests.exe<BR>GRAPHI~1
EXE 5,197,286 05-17-03 7:54p
GraphicsCxxTests.exe<BR>IMAGIN~1 EXE 5,971,544
05-17-03 7:55p ImagingCxxTests.exe<BR>IOCXXT~1 EXE
1,332,513 05-17-03 7:55p IOCxxTests.exe<BR>RENDER~1
EXE 3,743,774 05-17-03 7:56p
RenderingCxxTests.exe<BR>TIMERE~1 EXE 3,822,358
05-17-03 7:57p TimeRenderer.exe<BR>TIMERE~2 EXE
3,794,302 05-17-03 7:57p
TimeRenderer2.exe<BR>-------------------------------------------</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>cd bin</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </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 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> </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> </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> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>