[vtkusers] Problems with VTK_WRAP_TCL

N David Brown hubdave at gmail.com
Tue Sep 6 22:41:48 EDT 2011


Ack, I DO have a 32 bit compiler specified, not 64 bit. And my TCL is
definitely 32 bit. So what's going wrong?

On 7 September 2011 03:39, N David Brown <hubdave at gmail.com> wrote:

> Ah, I need to select a 32 bit compiler, in CMake, that's it :) Solved.
>
>
>
> On 7 September 2011 03:38, N David Brown <hubdave at gmail.com> wrote:
>
>> Some progress: I think the problem arises because I'm building 64 bit VTK
>> against 32 bit Tcl.
>>
>> I'm on Windows 7 64 bit and want to build 32 bit VTK libraries - can I do
>> this?
>>
>>
>>
>> On 7 September 2011 03:05, N David Brown <hubdave at gmail.com> wrote:
>>
>>> Further info:
>>>
>>> FindTCL.make has one potential inclusion path "C:/Program
>>> Files/Tcl/include" which is where I have Tcl/Tk installed, and the version
>>> is 8.5 which is supported.
>>>
>>> Any ideas?
>>>
>>> Best,
>>>
>>> David
>>>
>>>
>>>
>>> On 7 September 2011 03:01, N David Brown <hubdave at gmail.com> wrote:
>>>
>>>> I need to generate vtkCommonTCL.dll thus have enabled VTK_WRAP_TCL in
>>>> CMake. The other changes from default I have are:
>>>>
>>>> BUILD_SHARED_LIBS => yes
>>>> VTK_USE_PARALLEL => yes
>>>>
>>>> At linking stage in Visual Studio 2008 I get this:
>>>>
>>>> *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
>>>> 4>vtkTreeMapLayoutStrategy.cxx
>>>> 8>vtkAngleWidgetTest1.cxx
>>>> 2>vtkTclUtil.obj : error LNK2001: unresolved external symbol
>>>> __imp__Tcl_DeleteCommand
>>>> 2>vtkTypeFloat64ArrayTcl.obj : error LNK2001: unresolved external symbol
>>>> __imp__Tcl_DeleteCommand
>>>> 2>vtkArrayTcl.obj : error LNK2001: unresolved external symbol
>>>> __imp__Tcl_DeleteCommand
>>>> 2>vtkWin32OutputWindowTcl.obj : error LNK2001: unresolved external
>>>> symbol __imp__Tcl_DeleteCommand
>>>> ....*
>>>>
>>>> The errors continue with more '*__imp__Tcl_DeleteCommand*' references.
>>>>
>>>> Does anyone know why this would happen? I haven't set any custom
>>>> environment variables relating to Tcl/Tk.
>>>>
>>>> Thanks for your time.
>>>>
>>>> David
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110907/ae2c81cb/attachment.htm>


More information about the vtkusers mailing list