Ah, I need to select a 32 bit compiler, in CMake, that&#39;s it :) Solved.<br><br><br><div class="gmail_quote">On 7 September 2011 03:38, N David Brown <span dir="ltr">&lt;<a href="mailto:hubdave@gmail.com">hubdave@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Some progress: I think the problem arises because I&#39;m building 64 bit VTK against 32 bit Tcl.<br><br>I&#39;m on Windows 7 64 bit and want to build 32 bit VTK libraries - can I do this?<div>
<div></div><div class="h5"><br><br><br><div class="gmail_quote">
On 7 September 2011 03:05, N David Brown <span dir="ltr">&lt;<a href="mailto:hubdave@gmail.com" target="_blank">hubdave@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Further info:<br><br>FindTCL.make has one potential inclusion path &quot;C:/Program Files/Tcl/include&quot; which is where I have Tcl/Tk installed, and the version is 8.5 which is supported.<br><br>Any ideas?<br><br>Best,<br>

<font color="#888888">
<br>David</font><div><div></div><div><br><br><br><div class="gmail_quote">On 7 September 2011 03:01, N David Brown <span dir="ltr">&lt;<a href="mailto:hubdave@gmail.com" target="_blank">hubdave@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I need to generate vtkCommonTCL.dll thus have enabled VTK_WRAP_TCL in CMake. The other changes from default I have are:<br><br>BUILD_SHARED_LIBS =&gt; yes<br>VTK_USE_PARALLEL =&gt; yes<br><br>At linking stage in Visual Studio 2008 I get this:<br>



<br><b>Creating library C:\Users\David\Projects\Crystallography\Crystallography\lib\vtkbin\bin\Debug\vtkCommonTCL.lib and object C:\Users\David\Projects\Crystallography\Crystallography\lib\vtkbin\bin\Debug\vtkCommonTCL.exp<br>



4&gt;vtkTreeMapLayoutStrategy.cxx<br>8&gt;vtkAngleWidgetTest1.cxx<br>2&gt;vtkTclUtil.obj : error LNK2001: unresolved external symbol __imp__Tcl_DeleteCommand<br>2&gt;vtkTypeFloat64ArrayTcl.obj : error LNK2001: unresolved external symbol __imp__Tcl_DeleteCommand<br>



2&gt;vtkArrayTcl.obj : error LNK2001: unresolved external symbol __imp__Tcl_DeleteCommand<br>2&gt;vtkWin32OutputWindowTcl.obj : error LNK2001: unresolved external symbol __imp__Tcl_DeleteCommand<br>....</b><br><br>The errors continue with more &#39;<b>__imp__Tcl_DeleteCommand</b>&#39; references.<br>



<br>Does anyone know why this would happen? I haven&#39;t set any custom environment variables relating to Tcl/Tk.<br><br>Thanks for your time.<br><font color="#888888"><br>David<br><br>
</font></blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>