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

Julien Jomier julien.jomier at kitware.com
Thu Jan 24 02:52:23 EST 2013


You should be able to turn OFF "BUILD_TESTING" to OFF when running CMake 
and that should help. Otherwise let us know.

Julien

On 23/01/2013 23:57, Simon Rit wrote:
> This is strange, the weblink works for me now. Can you give it another
> try? Maybe Midas was down for some reason.
> Another alternative is to disable BUILD_TESTING, you don't need to
> compile tests to use RTK.
> Simon
>
>
> On Wed, Jan 23, 2013 at 5:28 PM, 古月 <hdb1991a2012 at gmail.com> wrote:
>> CMake Error at D:/RTK/ReconstructionToolkit/cmake/ExternalData.cmake:666
>> (message):
>> 4>    Object MD5=260afb6a211fcd5135f842aea7ee1474 not found at:
>> 4>
>> 4>
>> http://midas3.kitware.com/midas/api/rest?method=midas.bitstream.download&checksum=260afb6a211fcd5135f842aea7ee1474&algorithm=MD5
>> ("couldn't connect to server") now it is only the error.(all is release)
>>
>> 2013/1/23 Simon Rit <simon.rit at creatis.insa-lyon.fr>
>>>
>>> The error is because you compile one in Debug and the other in Release
>>> mode. Please check!
>>>
>>> On Wed, Jan 23, 2013 at 9:13 AM, 古月 <hdb1991a2012 at gmail.com> wrote:
>>>> Yes, my RTK version(RTK-v1.0rc1.zip) is downloades in the
>>>> http://www.openrtk.org/RTK/resources/software.html.And my ITK version is
>>>> InsightToolkit-3.20.1. When i compile the RTK, it appears the error"9
>>>> error
>>>> LNK1104: can't open“..\Debug\rtkIO.lib” D:\RTK\RTK_bin\Testing\LINK"(27
>>>> same
>>>> errors).
>>>>
>>>>
>>>>
>>>> 2013/1/23 Simon Rit <simon.rit at creatis.insa-lyon.fr>
>>>>>
>>>>> RTK is compiling with itk3.20 and itk4.3 (git version). Have you
>>>>> checked that you compile ITK and RTK with Release?
>>>>>
>>>>> On Wed, Jan 23, 2013 at 3:54 AM, 古月 <hdb1991a2012 at gmail.com> wrote:
>>>>>> Hi Simon,
>>>>>>
>>>>>>      My itk version is 4.2.0,and can i use the rtk
>>>>>> version(RTK-v1.0rc1)?They
>>>>>> are all release version?
>>>>>> Best wishes.
>>>>>> Debin
>>>>>>
>>>>>> 2013/1/23 古月 <hdb1991a2012 at gmail.com>
>>>>>>>
>>>>>>> Hi Simon,
>>>>>>>      My itk version is 4.2.0
>>>>>>>
>>>>>>>
>>>>>>> 2013/1/22 Simon Rit <simon.rit at creatis.insa-lyon.fr>
>>>>>>>>
>>>>>>>> Yes, it's normal that there are differences, it's an active
>>>>>>>> project.
>>>>>>>>
>>>>>>>> On Tue, Jan 22, 2013 at 3:39 PM, 古月 <hdb1991a2012 at gmail.com> wrote:
>>>>>>>>> Hi,
>>>>>>>>>    Do both RTK-v1.0rc1 vision and RTK-master vision work well? I
>>>>>>>>> find
>>>>>>>>> that
>>>>>>>>> there are some differences between them.
>>>>>>>>> Best wishes.
>>>>>>>>> Debin
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> 2013/1/22 Simon Rit <simon.rit at creatis.insa-lyon.fr>
>>>>>>>>>>
>>>>>>>>>> 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
>>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>
>>>>
>>
>>
> _______________________________________________
> 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