[Rtk-users] error on build rtk in visual studio 2012 when rtk use cuda

Yang K Park theday79 at gmail.com
Mon Jun 8 13:17:22 EDT 2015


Hi Safdari,

 

It seems that CUDA path was not properly specified with your project.

How does the cmake look like?

 

For example, I’m attaching a  CMake screen shot for my successfully built rtk.

 

Yang

 

From: Rtk-users [mailto:rtk-users-bounces at public.kitware.com] On Behalf Of safdary mohsen
Sent: Saturday, June 06, 2015 10:35 AM
To: Rtk-users at public.kitware.com
Subject: [Rtk-users] error on build rtk in visual studio 2012 when rtk use cuda

 

Hi rtk-users

I do not have any error when i build rtk for CPU but when i build rtk for gpu i get following error in visual studio 2012 (gpu: GTX 780): 

 

Warning 1 warning D9025: overriding '/W1' with '/w' D:\RTK\build\applications\gengetopt\cl
Warning 2 warning D9025: overriding '/W1' with '/w' D:\RTK\build\applications\gengetopt\cl
Warning 9 warning C4305: '=' : truncation from 'double' to 'float' D:\RTK\build\applications\rtkadmmtotalvariation\rtkadmmtotalvariation_ggo.c 154
Error 3 error MSB6006: "cmd.exe" exited with code 1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets 172
Error 7 error LNK1181: cannot open input file '..\bin\Release\rtkcuda.lib' D:\RTK\build\Testing\LINK
Error 8 error LNK1181: cannot open input file '..\bin\Release\rtkcuda.lib' D:\RTK\build\Testing\LINK
Error 10 error LNK1181: cannot open input file '..\bin\Release\rtkcuda.lib' D:\RTK\build\Testing\LINK
Error 13 error LNK1181: cannot open input file '..\bin\Release\rtkcuda.lib' D:\RTK\build\Testing\LINK
Error 14 error LNK1181: cannot open input file '..\bin\Release\rtkcuda.lib' D:\RTK\build\Testing\LINK
Error 15 error LNK1181: cannot open input file '..\bin\Release\rtkcuda.lib' D:\RTK\build\Testing\LINK
Error 18 error LNK1181: cannot open input file '..\bin\Release\rtkcuda.lib' D:\RTK\build\Testing\LINK
Error 20 error LNK1181: cannot open input file '..\bin\Release\rtkcuda.lib' D:\RTK\build\Testing\LINK
Error 4 error LNK1181: cannot open input file '..\..\bin\Release\rtkcuda.lib' D:\RTK\build\applications\rtkbackprojections\LINK
Error 5 error LNK1181: cannot open input file '..\..\bin\Release\rtkcuda.lib' D:\RTK\build\examples\FirstReconstruction\LINK
Error 6 error LNK1181: cannot open input file '..\..\bin\Release\rtkcuda.lib' D:\RTK\build\examples\HelloWorld\LINK
Error 11 error LNK1181: cannot open input file '..\..\bin\Release\rtkcuda.lib' D:\RTK\build\applications\rtkadmmtotalvariation\LINK
Error 12 error LNK1181: cannot open input file '..\..\bin\Release\rtkcuda.lib' D:\RTK\build\applications\rtkconjugategradient\LINK
Error 16 error LNK1181: cannot open input file '..\..\bin\Release\rtkcuda.lib' D:\RTK\build\applications\rtkfdk\LINK
Error 17 error LNK1181: cannot open input file '..\..\bin\Release\rtkcuda.lib' D:\RTK\build\applications\rtkinlinefdk\LINK
Error 19 error LNK1181: cannot open input file '..\..\bin\Release\rtkcuda.lib' D:\RTK\build\applications\rtkramp\LINK
Error 21 error LNK1181: cannot open input file '..\..\bin\Release\rtkcuda.lib' D:\RTK\build\applications\rtksart\LINK

Regards,

Safdari

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/rtk-users/attachments/20150608/9341355e/attachment-0010.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CudaSetting.PNG
Type: image/png
Size: 60842 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/rtk-users/attachments/20150608/9341355e/attachment-0010.png>


More information about the Rtk-users mailing list