Glad my lead actually lead you somewhere.......<br><br>To link with Tcl for a 64-bit build, you will have to build your own Tcl libraries as 64-bit first. I don&#39;t think ActiveState provides pre-built 64-bit libraries.<br>
<br>Try building Tcl/Tk as 64-bit from source and then link against that.<br><br>I think the error you are seeing is because you are trying to link 32-bit tcl libraries to 64-bit VTK binaries...<br><br><br>Good luck,<br>David
<br><br><br><div><span class="gmail_quote">On 11/4/07, <b class="gmail_sendername">Avishay Sidlesky</b> &lt;<a href="mailto:avishay.s@xurity.com">avishay.s@xurity.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<div link="blue" vlink="purple" lang="EN-US">

<div>

<p>Hi,</p>

<p>&nbsp;</p>

<p>I followed a lead by David Cole, suggesting to build VTK
from the latest sources in CVS,</p>

<p>since it includes several important fixes related to
building VTK on Windows 64-bit.</p>

<p>&nbsp;</p>

<p>Once the sources have been downloaded, I have configured
CMake to build VTK on Visual Studio 2005, 64-bit VTK with WRAP_TCL.</p>

<p>For some reason, vtkCommomTCL doesn't build properly,
issuing many linking errors:</p>

<p style=""><span style="font-size: 8pt;">&nbsp;</span></p>

<p style=""><span style="font-size: 8pt;">15&gt;&nbsp;&nbsp; Creating library
D:\dev\VTK\bin\Debug\vtkCommonTCL.lib and object
D:\dev\VTK\bin\Debug\vtkCommonTCL.exp</span></p>

<p style=""><span style="font-size: 8pt;">15&gt;vtkWin32ProcessOutputWindowTcl.obj : error
LNK2001: unresolved external symbol __imp_Tcl_DeleteCommand</span></p>

<p><span style="font-size: 8pt;">15&gt;vtkTclUtil.obj
: error LNK2001: unresolved external symbol __imp_Tcl_DeleteCommand</span></p>

<p>…..</p>

<p>&nbsp;</p>

<p>I must have missed something in the process, and probably configured
CMake erroneously.</p>

<p>Does anyone have a clue?</p>

<p>&nbsp;</p>

<p>TIA,</p>

<p><span style="font-size: 10.5pt; font-family: Consolas;">Avishay</span></p>

</div>

</div>


<br>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">
http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers
</a><br><br></blockquote></div><br>