[Insight-users] Linking error

Xiaopeng Yang yxp233 at postech.ac.kr
Thu Dec 8 03:00:20 EST 2011


Dear Users,

 

When I try to use vtkKWImage, after release, several errors occurred as
follows. Do I miss some lib files in the CmakeList?

 

Thank you very much!

 

1>SimpleView.obj : error LNK2019: unresolved external symbol "public: class
vtkImageData * __cdecl vtkKWImage::GetVTKImage(void)"
(?GetVTKImage at vtkKWImage@@QEAAPEAVvtkImageData@@XZ) referenced in function
"public: virtual void __cdecl SimpleView::slotDICOMLoading(void)"
(?slotDICOMLoading at SimpleView@@UEAAXXZ)

1>SimpleView.obj : error LNK2019: unresolved external symbol "public: void
__cdecl vtkKWImage::SetITKImageBase(class itk::ImageBase<3> *)"
(?SetITKImageBase at vtkKWImage@@QEAAXPEAV?$ImageBase@$02 at itk@@@Z) referenced
in function "public: virtual void __cdecl
SimpleView::slotDICOMLoading(void)" (?slotDICOMLoading at SimpleView@@UEAAXXZ)

1>SimpleView.obj : error LNK2019: unresolved external symbol "public: static
class vtkKWImage * __cdecl vtkKWImage::New(void)"
(?New at vtkKWImage@@SAPEAV1 at XZ) referenced in function "public: virtual void
__cdecl SimpleView::slotDICOMLoading(void)"
(?slotDICOMLoading at SimpleView@@UEAAXXZ)

1>C:\Dr. Liver\bin\Release\DrLiver.exe : fatal error LNK1120: 3 unresolved
externals

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20111208/f674e18e/attachment.htm>


More information about the Insight-users mailing list