[vtkusers] building hybrid?

Mathieu Malaterre Mathieu.Malaterre at creatis.insa-lyon.fr
Mon Oct 20 07:33:10 EDT 2003


Tim Newsham wrote:
> Hi, I want to use the vtkVectorText, so I'm building support for the
> Hybrid module.  When I try to build with this feature enabled I get
> link errors:
> 
>    Creating library vtkHybrid.lib and object vtkHybrid.exp
> vtkHybridInstantiator.obj : error LNK2001: unresolved external symbol "class vtkObject * __cdecl vtkInstantiatorvtkPushPipelineNew(void)" (?vtkInstantiatorvtkPushPipelineNew@@YAPAVvtkObject@@XZ)
> vtkHybridInstantiator.obj : error LNK2001: unresolved external symbol "class vtkObject * __cdecl vtkInstantiatorvtkPushImageReaderNew(void)" (?vtkInstantiatorvtkPushImageReaderNew@@YAPAVvtkObject@@XZ)
> vtkHybridInstantiator.obj : error LNK2001: unresolved external symbol "class vtkObject * __cdecl vtkInstantiatorvtkPushImageFilterSampleNew(void)" (?vtkInstantiatorvtkPushImageFilterSampleNew@@YAPAVvtkObject@@XZ)
> vtkHybrid.dll : fatal error LNK1120: 3 unresolved externals
> 
> What am I doing wrong?  Are there other modules I must enable when
> I turn on the Hybrid support?


There was some sort of similar problems with VTK 4.2.2 could you please 
update to VTK 4.2.3:

	http://vtk.org/files/release/4.2/

Otherwise to build Hybrid, just select 'VTK_USE_HYBRID=ON' in the CMake 
interface.

mathieu




More information about the vtkusers mailing list