[vtkusers] unresolved external

Rainer Lehrig lehrig at t-online.de
Wed Jun 12 03:58:13 EDT 2002


Hi,

I have an application that is calling Tcl from C++
This application is working on Linux.
But on Windows I get an unresolved external.

Line in sourcecode that is unresolved:

tclcommand = vtkTclCommand::New();

##########################################################
--------------------Configuration: processview - Win32 
Debug--------------------
Linking...
   Creating library Debug/processview.lib and object Debug/processview.exp
pvVtkTclWidget.obj : error LNK2001: unresolved external symbol "protected: 
__thiscall vtkTclCommand::vtkTclCommand(void)" (??0vtkTclCommand@@IAE at XZ)
Debug/processview.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

processview.exe - 2 error(s), 0 warning(s)
##########################################################


The corresponding file is located under:
./Common/vtkTclUtil.h and vtkTclUtil.cxx

On Linux I made a source installation.
On Windows I made a binary installation.

Version: VTK 4.0 CD from Book
         VC++ 6.0

What's wrong ?

Yours:
Rainer Lehrig




More information about the vtkusers mailing list