<div>hi liu,</div>
<div>&nbsp;</div>
<div>(assuming you are using windows system as you are using VS compiling the source.)</div>
<div>&nbsp;</div>
<div>&nbsp;to my knowledge,&nbsp;i guess u need include several things in ur environment variables. if you compiled source code by urself, you need include&nbsp; X:/vtkbin/bin/release into your PATH, and if you are using TCL wrap, then u need set up some TCLLIBPATH point to X:/vtk4.x/Wrapping/tcl
</div>
<div>and also if the compilation did not set the VTK_DATA_ROOT, please manually set it to point it to your vtk data.</div>
<div>&nbsp;</div>
<div>i just compiled vtk4.4, it works decently. </div>
<div>&nbsp;</div>
<div>someone suggests to copy all dll to system32, that's tedious. just including relevant directory to environment , that's all.</div>
<div>&nbsp;</div>
<div>one more thing is that, please remove all previous installation of vtk. search vtk*.dll for whole system and remove them. before doing new compilation.</div>
<div>&nbsp;</div>
<div>Yours</div>
<div>&nbsp;</div>
<div>Peter Pan.</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><br>&nbsp;</div>
<div><span class="gmail_quote">On 12/25/05, <b class="gmail_sendername">zionman</b> &lt;<a href="mailto:zionman@seed.net.tw">zionman@seed.net.tw</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">There are not attachment, so I just guess what's you encountered.<br>Using VTK in VC6.0 you must verify 3 things correct.
<br>1. The include file must in the include path., either by setting the VS<br>include option, or state it in the source code explicitly.<br>2. The compiler options must be coincident both in compiling VTK and your<br>source code., that is, multithread or not, using DLL or not, Debug or not...
<br>3. If using DLL, you must place vtk related DLLs along with the path, so the<br>OS may execute it correctly.<br><br><br>Subject: [vtkusers] I want to use the VTK in VC6.0 but met some error<br><br><br>&gt; Dear Sir/Mam,
<br>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; It's my first time to use the VTK in VC6.0. And I can compile the my<br>&gt; source code correctly, but when I exceute the program there are a list of<br>&gt; errors. Please see the detail information in the attachment.
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; And I donn't know whether I need to recompile the VTK again in my<br>&gt; computer cause I download the release package in kitware site.<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Thanks anyway.<br>&gt;<br>&gt;<br>&gt;<br>
&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; Sincerely,<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;liubl<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2005-12-25<br>&gt;<br>&gt;<br>&gt;<br>&gt; Company :&nbsp;&nbsp;Philips and Neusoft&nbsp;&nbsp;Medical Systems Co.,Ltd.
<br>&gt; Address :&nbsp;&nbsp;Neusoft Park Hun Nan Industrial Area New&amp;High-Tech&nbsp;&nbsp;Development<br>&gt; Zone Shenyang China 110179<br>&gt; Ph.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;13002460918<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 024-62505091<br>&gt; Email&nbsp;&nbsp; :&nbsp;&nbsp;<a href="mailto:lblsam@tom.com">
lblsam@tom.com</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:lblsam@hotmail.com">lblsam@hotmail.com</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:liubl@neusoft.com">liubl@neusoft.com</a><br>&gt;<br><br><br>--------------------------------------------------------------------------------
<br><br><br>&gt; _______________________________________________<br>&gt; This is the private VTK discussion list.<br>&gt; Please keep messages on-topic. Check the FAQ at:<br>&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ">
http://www.vtk.org/Wiki/VTK_FAQ</a><br>&gt; Follow this link to subscribe/unsubscribe:<br>&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>&gt;<br><br>_______________________________________________
<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br></blockquote></div><br>