<div>hi liu,</div>
<div> </div>
<div>(assuming you are using windows system as you are using VS compiling the source.)</div>
<div> </div>
<div> to my knowledge, i guess u need include several things in ur environment variables. if you compiled source code by urself, you need include 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> </div>
<div>i just compiled vtk4.4, it works decently. </div>
<div> </div>
<div>someone suggests to copy all dll to system32, that's tedious. just including relevant directory to environment , that's all.</div>
<div> </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> </div>
<div>Yours</div>
<div> </div>
<div>Peter Pan.</div>
<div> </div>
<div> </div>
<div><br> </div>
<div><span class="gmail_quote">On 12/25/05, <b class="gmail_sendername">zionman</b> <<a href="mailto:zionman@seed.net.tw">zionman@seed.net.tw</a>> 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>> Dear Sir/Mam,
<br>><br>><br>> It's my first time to use the VTK in VC6.0. And I can compile the my<br>> source code correctly, but when I exceute the program there are a list of<br>> errors. Please see the detail information in the attachment.
<br>><br>> And I donn't know whether I need to recompile the VTK again in my<br>> computer cause I download the release package in kitware site.<br>><br>> Thanks anyway.<br>><br>><br>><br>
><br>><br>><br>><br>><br>><br>><br>><br>><br>> Sincerely,<br>><br>> liubl<br>> 2005-12-25<br>><br>><br>><br>> Company : Philips and Neusoft Medical Systems Co.,Ltd.
<br>> Address : Neusoft Park Hun Nan Industrial Area New&High-Tech Development<br>> Zone Shenyang China 110179<br>> Ph. 13002460918<br>> 024-62505091<br>> Email : <a href="mailto:lblsam@tom.com">
lblsam@tom.com</a><br>> <a href="mailto:lblsam@hotmail.com">lblsam@hotmail.com</a><br>> <a href="mailto:liubl@neusoft.com">liubl@neusoft.com</a><br>><br><br><br>--------------------------------------------------------------------------------
<br><br><br>> _______________________________________________<br>> This is the private VTK discussion list.<br>> Please keep messages on-topic. Check the FAQ at:<br>> <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>><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>