[Rtk-users] rtk compile error: can not open file rtkcuda.lib
Simon Rit
simon.rit at creatis.insa-lyon.fr
Wed Sep 12 02:18:48 EDT 2018
Hi,
Please stick to the mailing list. You can start by compiling the HEAD
version on the github repo:
git clone https://github.com/SimonRit/RTK.git
Best regards,
Simon
On Wed, Sep 12, 2018 at 8:15 AM YusiCHEN <yusichensmu at foxmail.com> wrote:
> Hi Simon,
>
> 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".
>
> Here's the error code:
> virtual ~ExceptionObject() ITK_NOEXCEPT ITK_OVERRIDE;
> virtual ~MemoryAllocationError() ITK_NOEXCEPT ITK_OVERRIDE;
> virtual ~RangeError() ITK_NOEXCEPT ITK_OVERRIDE;
> virtual ~InvalidArgumentError() ITK_NOEXCEPT ITK_OVERRIDE;
> virtual ~IncompatibleOperandsError() ITK_NOEXCEPT ITK_OVERRIDE;
> virtual ~ProcessAborted() ITK_NOEXCEPT ITK_OVERRIDE;
>
> What should I do next?
>
> Best,
>
> yusi.
>
>
>
> ------------------ 原始邮件 ------------------
> *发件人:* "Simon Rit"<simon.rit at creatis.insa-lyon.fr>;
> *发送时间:* 2018年9月11日(星期二) 下午4:50
> *收件人:* "YusiCHEN"<yusichensmu at foxmail.com>;
> *抄送:* "rtk-users"<rtk-users at public.kitware.com>;
> *主题:* Re: [Rtk-users] rtk compile error: can not open file rtkcuda.lib
>
> Hi,
> Is this using the current HEAD? There was yesterday a commit that might
> help:
>
> https://github.com/SimonRit/RTK/commit/0a2d4d573ab7bcf028c1f63d1dd417db29aa8a04
> Otherwise, I'm not sure what's wrong.
> Best regards,
> Simon
>
> On Tue, Sep 11, 2018 at 10:18 AM YusiCHEN <yusichensmu at foxmail.com> wrote:
>
>> hi rtk user,
>>
>>
>> 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:
>>
>> Error 114 error : modifier is not allowed on a destructor
>> g:\rtk\insighttoolkit-4.13.1\modules\core\common\include\itkExceptionObject.h
>> 243
>> Error 115 error : modifier is not allowed on a destructor
>> g:\rtk\insighttoolkit-4.13.1\modules\core\common\include\itkExceptionObject.h
>> 268
>> Error 117 error LNK1104: cannot open file '..\..\bin\Debug\rtkcuda.lib'
>> G:\RTK\RTK-1.4.0\Build\examples\FirstReconstruction\LINK
>> Error 118 error LNK1104: cannot open file '..\..\bin\Debug\rtkcuda.lib'
>> G:\RTK\RTK-1.4.0\Build\examples\HelloWorld\LINK
>> Error 134 error LNK1104: cannot open file '..\..\bin\Debug\rtkcuda.lib'
>> G:\RTK\RTK-1.4.0\Build\applications\rtkadmmtotalvariation\LINK
>> ...
>>
>> My cmake build information is listed as followed. Although there're 2
>> warnings, the Configure and Generate process are executable.
>>
>>
>> CMake Warning (dev) at
>> utilities/SimpleRTK/CMake/srtkLanguageOptions.cmake:67 (find_package):
>> Ignoring EXACT since no version is requested.
>> Call Stack (most recent call first):
>> utilities/SimpleRTK/SimpleRTKWithSwig.cmake:56 (include)
>> CMakeLists.txt:255 (include)
>> This warning is for project developers. Use -Wno-dev to suppress it.
>>
>> CMake Warning at utilities/SimpleRTK/CMake/srtkLanguageOptions.cmake:70
>> (message):
>> Python version less that 2.6: "".
>> Call Stack (most recent call first):
>> utilities/SimpleRTK/SimpleRTKWithSwig.cmake:56 (include)
>> CMakeLists.txt:255 (include)
>>
>> Could NOT find Tclsh (missing: TCL_TCLSH)
>>
>> Found the following C# .NET versions: v4.0.30319, v3.5, v2.0.50727
>>
>> Configuring done
>>
>> Generating done
>>
>>
>> I have checked that "HelloWorld" example in ITK can be complied and run.
>> So the problem is only the issue of RTK.
>>
>> Anyone can tell me what should I do?
>>
>>
>> Thanks.
>>
>>
>> Sincerely.
>> _______________________________________________
>> Rtk-users mailing list
>> Rtk-users at public.kitware.com
>> https://public.kitware.com/mailman/listinfo/rtk-users
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/rtk-users/attachments/20180912/ef150d67/attachment.html>
More information about the Rtk-users
mailing list