[Insight-users] Link errors when using Insight Journal Code (Vessel Filters)

Lopez Saratxaga, Cristina Cristina.Lopez at tecnalia.com
Wed Oct 9 06:50:36 EDT 2013


Hello all,

I've downloaded the code of http://www.insight-journal.org/browse/publication/314 and http://www.insight-journal.org/browse/publication/163 because I'm interested in liver vessel segmentation. The problem, is that when
I try to run the code, I receive linker errors like the one below

"Error    89    error LNK2019: símbolo externo "__declspec(dllimport) public: class itk::MultiThreader * __thiscall itk::ProcessObject::GetMultiThreader(void)const " (__imp_?GetMultiThreader at ProcessObject@itk@@QBEPAVMultiThreader at 2@XZ) sin resolver al que se hace referencia en la función "protected: virtual void __thiscall itk::ImageSource<class itk::Image<short,3> >::GenerateData(void)" (?GenerateData@?$ImageSource at V?$Image at F$02 at itk@@@itk@@MAEXXZ)    C:\Users\Cristina\Documents\Visual Studio 2010\Projects\VesselEnhancingDiffusion\itkVEDTest.obj    itkVEDTest"

, and all the link errors allways refer to __declspec(dllimport).

Before using CMAKE and building the code again I've made some adjustments in the CMakeLists file because another library problems I had, but that are currently solved.

I'm using Visual Studio 2010 and ITK 4.2. I've googled the problem but I've not been able to find any valid solution.

Any clue about how to deal with this?

Many many thanks in advance!

Regards,

Cristina


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


More information about the Insight-users mailing list