Open Vishnu-C opened 5 years ago
Built Static VTK-8.1.0 Built Static OCE
On using IVtkTools_ShapeDataSource for creating a vtk mapper from topoDS_shape, I get the following link error. Other VTK classes works fine tough.
1>RingNamer.obj : error LNK2019: unresolved external symbol "declspec(dllimport) public: static class IVtkTools_ShapeDataSource * __cdecl IVtkTools_ShapeDataSource::New(void)" (imp_?New@IVtkTools_ShapeDataSource@@SAPAV1@XZ) referenced in function "public: static class vtkSmartPointer cdecl vtkSmartPointer::New(void)" (?New@?$vtkSmartPointer@VIVtkTools_ShapeDataSource@@@@SA?AV1@XZ) 1>RingNamer.obj : error LNK2019: unresolved external symbol "declspec(dllimport) public: void __thiscall IVtkTools_ShapeDataSource::SetShape(class Handle_IVtkOCC_Shape const &)" (_imp?SetShape@IVtkTools_ShapeDataSource@@QAEXABVHandle_IVtkOCC_Shape@@@Z) referenced in function _main 1>E:\projects\current\Ryan_Ring\codeBase\RingNamer\Debug\RingNamer.exe : fatal error LNK1120: 2 unresolved externals
Built Static VTK-8.1.0 Built Static OCE
On using IVtkTools_ShapeDataSource for creating a vtk mapper from topoDS_shape, I get the following link error. Other VTK classes works fine tough.
1>RingNamer.obj : error LNK2019: unresolved external symbol "declspec(dllimport) public: static class IVtkTools_ShapeDataSource * __cdecl IVtkTools_ShapeDataSource::New(void)" (imp_?New@IVtkTools_ShapeDataSource@@SAPAV1@XZ) referenced in function "public: static class vtkSmartPointer cdecl vtkSmartPointer::New(void)" (?New@?$vtkSmartPointer@VIVtkTools_ShapeDataSource@@@@SA?AV1@XZ)
1>RingNamer.obj : error LNK2019: unresolved external symbol " declspec(dllimport) public: void __thiscall IVtkTools_ShapeDataSource::SetShape(class Handle_IVtkOCC_Shape const &)" (_imp?SetShape@IVtkTools_ShapeDataSource@@QAEXABVHandle_IVtkOCC_Shape@@@Z) referenced in function _main
1>E:\projects\current\Ryan_Ring\codeBase\RingNamer\Debug\RingNamer.exe : fatal error LNK1120: 2 unresolved externals