<div dir="ltr"><div dir="ltr"><div>Hi,</div><div>Is this using the current HEAD? There was yesterday a commit that might help:</div><div><a href="https://github.com/SimonRit/RTK/commit/0a2d4d573ab7bcf028c1f63d1dd417db29aa8a04">https://github.com/SimonRit/RTK/commit/0a2d4d573ab7bcf028c1f63d1dd417db29aa8a04</a></div><div>Otherwise, I'm not sure what's wrong.</div><div>Best regards,</div><div>Simon<br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Sep 11, 2018 at 10:18 AM YusiCHEN <<a href="mailto:yusichensmu@foxmail.com">yusichensmu@foxmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><span style="font-family:"lucida Grande",Verdana,"Microsoft YaHei"">hi rtk user,</span><br style="font-family:"lucida Grande",Verdana,"Microsoft YaHei""><br style="font-family:"lucida Grande",Verdana,"Microsoft YaHei""><br style="font-family:"lucida Grande",Verdana,"Microsoft YaHei""><span style="font-family:"lucida Grande",Verdana,"Microsoft YaHei"">I have been stuck in rtk compiling for a long time: My compile platform is vs2012. Anytime when I tried to compile rtk code, numerous errors occurred. Here's the error messages look like:</span></div><div><br style="font-family:"lucida Grande",Verdana,"Microsoft YaHei""><div><font face="lucida Grande, Verdana, Microsoft YaHei">Error<span style="white-space:pre-wrap">  </span>114<span style="white-space:pre-wrap">     </span>error : modifier is not allowed on a destructor<span style="white-space:pre-wrap"> </span>g:\rtk\insighttoolkit-4.13.1\modules\core\common\include\itkExceptionObject.h<span style="white-space:pre-wrap">   </span>243</font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei">Error<span style="white-space:pre-wrap">       </span>115<span style="white-space:pre-wrap">     </span>error : modifier is not allowed on a destructor<span style="white-space:pre-wrap"> </span>g:\rtk\insighttoolkit-4.13.1\modules\core\common\include\itkExceptionObject.h<span style="white-space:pre-wrap">   </span>268</font></div><div><div>Error<span style="white-space:pre-wrap"> </span>117<span style="white-space:pre-wrap">     </span>error LNK1104: cannot open file '..\..\bin\Debug\rtkcuda.lib'<span style="white-space:pre-wrap">   </span>G:\RTK\RTK-1.4.0\Build\examples\FirstReconstruction\LINK</div></div><div><div>Error<span style="white-space:pre-wrap">     </span>118<span style="white-space:pre-wrap">     </span>error LNK1104: cannot open file '..\..\bin\Debug\rtkcuda.lib'<span style="white-space:pre-wrap">   </span>G:\RTK\RTK-1.4.0\Build\examples\HelloWorld\LINK</div></div><div><div>Error<span style="white-space:pre-wrap">      </span>134<span style="white-space:pre-wrap">     </span>error LNK1104: cannot open file '..\..\bin\Debug\rtkcuda.lib'<span style="white-space:pre-wrap">   </span>G:\RTK\RTK-1.4.0\Build\applications\rtkadmmtotalvariation\LINK</div></div><div>...</div><br style="font-family:"lucida Grande",Verdana,"Microsoft YaHei""><span style="font-family:"lucida Grande",Verdana,"Microsoft YaHei"">My cmake build information is listed as followed. Although there're 2 warnings, the Configure and Generate process are executable.</span><br style="font-family:"lucida Grande",Verdana,"Microsoft YaHei""><p style="margin:0px"><span style="color:#ff0000"><br></span></p><p style="margin:0px">CMake Warning (dev) at utilities/SimpleRTK/CMake/srtkLanguageOptions.cmake:67 (find_package):<br>  Ignoring EXACT since no version is requested.<br>Call Stack (most recent call first):<br>  utilities/SimpleRTK/SimpleRTKWithSwig.cmake:56 (include)<br>  CMakeLists.txt:255 (include)<br>This warning is for project developers.  Use -Wno-dev to suppress it.<br></p>
<p style="margin:0px">CMake Warning at utilities/SimpleRTK/CMake/srtkLanguageOptions.cmake:70 (message):<br>  Python version less that 2.6: "".<br>Call Stack (most recent call first):<br>  utilities/SimpleRTK/SimpleRTKWithSwig.cmake:56 (include)<br>  CMakeLists.txt:255 (include)<br><br></p>
<p style="margin:0px">Could NOT find Tclsh (missing: TCL_TCLSH) </p>
<p style="margin:0px">Found the following C# .NET versions: v4.0.30319, v3.5, v2.0.50727</p>
<p style="margin:0px">Configuring done</p>
<p style="margin:0px">Generating done</p><br style="font-family:"lucida Grande",Verdana,"Microsoft YaHei""><br style="font-family:"lucida Grande",Verdana,"Microsoft YaHei""><span style="font-family:"lucida Grande",Verdana,"Microsoft YaHei"">I have checked that "HelloWorld" example in ITK can be complied and run. So the problemĀ  is only the issue of RTK.</span><br style="font-family:"lucida Grande",Verdana,"Microsoft YaHei""><br style="font-family:"lucida Grande",Verdana,"Microsoft YaHei""><span style="font-family:"lucida Grande",Verdana,"Microsoft YaHei"">Anyone can tell me what should I do?</span><br style="font-family:"lucida Grande",Verdana,"Microsoft YaHei""><br style="font-family:"lucida Grande",Verdana,"Microsoft YaHei""><br style="font-family:"lucida Grande",Verdana,"Microsoft YaHei""><span style="font-family:"lucida Grande",Verdana,"Microsoft YaHei"">Thanks.</span><br style="font-family:"lucida Grande",Verdana,"Microsoft YaHei""><br style="font-family:"lucida Grande",Verdana,"Microsoft YaHei""><br style="font-family:"lucida Grande",Verdana,"Microsoft YaHei""><span style="font-family:"lucida Grande",Verdana,"Microsoft YaHei"">Sincerely.</span></div>_______________________________________________<br>
Rtk-users mailing list<br>
<a href="mailto:Rtk-users@public.kitware.com" target="_blank">Rtk-users@public.kitware.com</a><br>
<a href="https://public.kitware.com/mailman/listinfo/rtk-users" rel="noreferrer" target="_blank">https://public.kitware.com/mailman/listinfo/rtk-users</a><br>
</blockquote></div>