tpaviot / oce

OpenCASCADE Community Edition (OCE): a community driven fork of the Open CASCADE library.
http://groups.google.com/group/oce-dev
GNU Lesser General Public License v2.1
811 stars 284 forks source link

IVtkTools_ShapeDataSource link issue #713

Open Vishnu-C opened 5 years ago

Vishnu-C commented 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