Hi all Useres ;)
I am beginner in c++.
I received an error.
vtkXMLFiberDataSetReader.cxx
15> vtkXMLFiberDataSetWriter.cxx
15> vtkDataManagerWriter.cxx
16> itkReshaper.vcxproj -> C:\dev\projects-32\vtkinria3d-public\build\bin\Release\itkReshaper.exe
15> vtkDataManagerReader.cxx
15> Creating library C:/dev/projects-32/public/build/bin/Release/vtkDataManagement.lib and object C:/dev/projects-32/build/bin/Release/vtkDataManagement.exp
15>vtkMetaSurfaceMesh.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class vtkDelimitedTextReader * __cdecl vtkDelimitedTextReader::New(void)" (__imp_?New@vtkDelimitedTextReader@@SAPAV1@XZ) referenced in function "protected: virtual void __thiscall vtkMetaSurfaceMesh::ReadCardioFile(char const *)" (?ReadCardioFile@vtkMetaSurfaceMesh@@MAEXPBD@Z)
15>C:\dev\projects-32\build\bin\Release\vtkDataManagement.dll : fatal error LNK1120: 1 unresolved exter
Error 1 error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class vtkDelimitedTextReader * __cdecl vtkDelimitedTextReader::New(void)" (__imp_?New@vtkDelimitedTextReader@@SAPAV1@XZ) referenced in function "protected: virtual void __thiscall vtkMetaSurfaceMesh::ReadCardioFile(char const *)" (?ReadCardioInsightFile@vtkMetaSurfaceMesh@@MAEXPBD@Z) C:\dev\projects-32\build\vtkDataManagement\vtkMetaSurfaceMesh.obj vtkDataManagement
I would appreciate for any help.
What I should do ?
You get this message because you are calling a function, which has been declared in the header file but has not been defined any where
Check the header file to make sure that you have the definition and declaration for that function in places. you are missing one of them
Maybe you specified incorrect number or types of arguments of the function.
Which libraries did you link it with? Looks like you miss some of them - perhaps vtkIO.lib?