<div dir="ltr"><div dir="ltr"><div>Hi,</div><div>Please stick to the mailing list. You can start by compiling the HEAD version on the github repo:</div><div>git clone <a href="https://github.com/SimonRit/RTK.git">https://github.com/SimonRit/RTK.git</a></div><div>Best regards,</div><div>Simon<br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Sep 12, 2018 at 8:15 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>Hi Simon,</div><div><br></div><div>I have checked the code and found that the cause may be located at the sub project "rtkcuda". When i tried to compile rtkcuda, error messages came out. Messages told me that modifier is not allowed on a destructor in HEAD FILE "itkExceptionObject.h".</div><div><br></div><div>Here's the error code:</div><div>virtual ~ExceptionObject() ITK_NOEXCEPT ITK_OVERRIDE;</div><div>virtual ~MemoryAllocationError() ITK_NOEXCEPT ITK_OVERRIDE;</div><div>virtual ~RangeError() ITK_NOEXCEPT ITK_OVERRIDE;</div><div>virtual ~InvalidArgumentError() ITK_NOEXCEPT ITK_OVERRIDE;</div><div>virtual ~IncompatibleOperandsError() ITK_NOEXCEPT ITK_OVERRIDE;</div><div>virtual ~ProcessAborted() ITK_NOEXCEPT ITK_OVERRIDE;</div><div><br></div><div>What should I do next?</div><div><br></div><div>Best,</div><div><br></div><div>yusi.</div><div><br></div><div><div><br></div><div><br></div><div style="font-size:12px;font-family:Arial Narrow;padding:2px 0 2px 0">------------------ 原始邮件 ------------------</div><div style="font-size:12px;background:#efefef;padding:8px"><div><b>发件人:</b> "Simon Rit"<<a href="mailto:simon.rit@creatis.insa-lyon.fr" target="_blank">simon.rit@creatis.insa-lyon.fr</a>>;</div><div><b>发送时间:</b> 2018年9月11日(星期二) 下午4:50</div><div><b>收件人:</b> "YusiCHEN"<<a href="mailto:yusichensmu@foxmail.com" target="_blank">yusichensmu@foxmail.com</a>>;</div><div><b>抄送:</b> "rtk-users"<<a href="mailto:rtk-users@public.kitware.com" target="_blank">rtk-users@public.kitware.com</a>>; </div><div><b>主题:</b> Re: [Rtk-users] rtk compile error: can not open file rtkcuda.lib</div></div><div><br></div><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" target="_blank">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" target="_blank">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>hi rtk user,</span><br><br><br><span>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><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><span>My cmake build information is listed as followed. Although there're 2 warnings, the Configure and Generate process are executable.</span><br><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><br><span>I have checked that "HelloWorld" example in ITK can be complied and run. So the problem is only the issue of RTK.</span><br><br><span>Anyone can tell me what should I do?</span><br><br><br><span>Thanks.</span><br><br><br><span>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></div></blockquote></div>