[Rtk-users] it's difficult to install RTK

Simon Rit simon.rit at creatis.insa-lyon.fr
Tue Jan 22 09:05:15 EST 2013


Hi,
It's a linking problem. Have you compiled both ITK and RTK in Debug or
Release? If yes, do they both have the same /MD and /MT options?
Simon

On Tue, Jan 22, 2013 at 9:26 AM, 古月 <hdb1991a2012 at gmail.com> wrote:
> Hello,
>    I have downloaded the RTK vision "RTK-master.zip" in the
> https://github.com/SimonRit/RTK. And i have installed the ITK successfully.
> My cmake vision is cmake-2.8.10.1-win32-x86. The step to build the
> ReconstructionToolkit_bin is successful. Then i click the RTK.sln and enter
> the vs2010. And i start to build the solution "F7". At last, it appears lots
> of error.
> (1)    3    error LNK2019: unable to resolve external symbol "protected:
> __cdecl rtk::
> ThreeDCircularProjectionGeometryXMLFileReader::ThreeDCircularProjectionGeometryXMLFileReader(void)"
> (??0ThreeDCircularProjectionGeometryXMLFileReader at rtk@@IEAA at XZ),the symbol
> in function "public: static class itk::SmartPointer<class
> rtk::ThreeDCircularProjectionGeometryXMLFileReader> __cdecl
> rtk::ThreeDCircularProjectionGeometryXMLFileReader::New(void)"
> (?New at ThreeDCircularProjectionGeometryXMLFileReader@rtk@@SA?AV?$SmartPointer at VThreeDCircularProjectionGeometryXMLFileReader@rtk@@@itk@@XZ)
> D:\RTK\ReconstructionToolkit_bin\applications\rtkrayquadricintersection\rtkrayquadricintersection.obj
> (2)    5    error LNK2019: unable to resolve external symbol "public: class
> itk::Vector<double,4> const __cdecl
> rtk::ThreeDCircularProjectionGeometry::GetSourcePosition(unsigned int)const
> "
> (?GetSourcePosition at ThreeDCircularProjectionGeometry@rtk@@QEBA?BV?$Vector at N$03 at itk@@I at Z),the
> symbol in function "protected: virtual void __cdecl
> rtk::RayQuadricIntersectionImageFilter<class itk::Image<float,3>,class
> itk::Image<float,3> >::ThreadedGenerateData(class itk::ImageRegion<3> const
> &,unsigned int)"
> (?ThreadedGenerateData@?$RayQuadricIntersectionImageFilter at V?$Image at M$02 at itk@@V12@@rtk@@MEAAXAEBV?$ImageRegion@$02 at itk@@I at Z)
> D:\RTK\ReconstructionToolkit_bin\applications\rtkrayquadricintersection\rtkrayquadricintersection.obj
> ........(lots of similary errors)
> I have tried many methods to solve them,but failed. So i hope you can give
> me some suggestions. At the same time, i hope you can give me advice about
> the  detail and right steps to build the RTK.
> Best wishes.
> Debin
>
> _______________________________________________
> Rtk-users mailing list
> Rtk-users at openrtk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/rtk-users
>



More information about the Rtk-users mailing list