[Insight-users] weird link error 2005 when using ITKv4
Li Zhi-Cheng
zc.li at siat.ac.cn
Wed Jan 11 07:16:42 EST 2012
Hi all,
I am using ITKv4 in my project. After generating the solution using CMake, I
built it but met an weird link error as follow:
2>ITKNrrdIO-4.0.lib(miscAir.obj) : error LNK2005: _itk_airFree already
defined in FtkThinning.lib(FtkThinning.dll)
2>ITKNrrdIO-4.0.lib(simple.obj) : error LNK2005: _itk_nrrdSpaceDimension
already defined in FtkThinning.lib(FtkThinning.dll)
2>ITKNrrdIO-4.0.lib(simple.obj) : error LNK2005: _itk_nrrdSpaceSet already
defined in FtkThinning.lib(FtkThinning.dll)
2>ITKNrrdIO-4.0.lib(simple.obj) : error LNK2005: _itk_nrrdSpaceDimensionSet
already defined in FtkThinning.lib(FtkThinning.dll)
2>ITKNrrdIO-4.0.lib(simple.obj) : error LNK2005: _itk_nrrdSpaceOriginSet
already defined in FtkThinning.lib(FtkThinning.dll)
....
Followed by tons of similar errors. I am not sure what occurred?
Thanks!
Best regards,
Zhicheng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120111/96c0a4fc/attachment.htm>
More information about the Insight-users
mailing list