<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"> </span>114<span style="white-space:pre"> </span>error : modifier is not allowed on a destructor<span style="white-space:pre"> </span>g:\rtk\insighttoolkit-4.13.1\modules\core\common\include\itkExceptionObject.h<span style="white-space:pre"> </span>243</font></div><div><font face="lucida Grande, Verdana, Microsoft YaHei">Error<span style="white-space:pre"> </span>115<span style="white-space:pre"> </span>error : modifier is not allowed on a destructor<span style="white-space:pre"> </span>g:\rtk\insighttoolkit-4.13.1\modules\core\common\include\itkExceptionObject.h<span style="white-space:pre"> </span>268</font></div><div><div>Error<span style="white-space:pre"> </span>117<span style="white-space:pre"> </span>error LNK1104: cannot open file '..\..\bin\Debug\rtkcuda.lib'<span style="white-space:pre"> </span>G:\RTK\RTK-1.4.0\Build\examples\FirstReconstruction\LINK</div></div><div><div>Error<span style="white-space:pre"> </span>118<span style="white-space:pre"> </span>error LNK1104: cannot open file '..\..\bin\Debug\rtkcuda.lib'<span style="white-space:pre"> </span>G:\RTK\RTK-1.4.0\Build\examples\HelloWorld\LINK</div></div><div><div>Error<span style="white-space:pre"> </span>134<span style="white-space:pre"> </span>error LNK1104: cannot open file '..\..\bin\Debug\rtkcuda.lib'<span style="white-space:pre"> </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>