<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:DotumChe;
        panose-1:2 11 6 9 0 1 1 1 1 1;}
@font-face
        {font-family:DotumChe;
        panose-1:2 11 6 9 0 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:85.05pt 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-family:"Calibri",sans-serif'>Hi<span style='color:black'> </span>all,<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Calibri",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Calibri",sans-serif'>I used to use RTK r1.03 without any problem.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Calibri",sans-serif'>However, today I adapted rtkfdk to my own code and ran into the following compile error messages..<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Calibri",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:DotumChe;color:#1E1E1E;background:white;mso-highlight:white'>1>rtkcuda.lib(cuda_compile_generated_rtkCudaFFTRampImageFilter.cu.obj) : error LNK2019: unresolved external symbol cufftPlan2d referenced in function "void __cdecl CUDA_fft_convolution(struct int3 const &,struct int2 const &,float *,struct float2 *)" (?CUDA_fft_convolution@@YAXAEBUint3@@AEBUint2@@PEAMPEAUfloat2@@@Z)<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:DotumChe;color:#1E1E1E;background:white;mso-highlight:white'>1>rtkcuda.lib(cuda_compile_generated_rtkCudaFFTRampImageFilter.cu.obj) : error LNK2019: unresolved external symbol cufftPlan3d referenced in function "void __cdecl CUDA_fft_convolution(struct int3 const &,struct int2 const &,float *,struct float2 *)" (?CUDA_fft_convolution@@YAXAEBUint3@@AEBUint2@@PEAMPEAUfloat2@@@Z)<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:DotumChe;color:#1E1E1E;background:white;mso-highlight:white'>1>rtkcuda.lib(cuda_compile_generated_rtkCudaFFTRampImageFilter.cu.obj) : error LNK2019: unresolved external symbol cufftExecR2C referenced in function "void __cdecl CUDA_fft_convolution(struct int3 const &,struct int2 const &,float *,struct float2 *)" (?CUDA_fft_convolution@@YAXAEBUint3@@AEBUint2@@PEAMPEAUfloat2@@@Z)<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:DotumChe;color:#1E1E1E;background:white;mso-highlight:white'>1>rtkcuda.lib(cuda_compile_generated_rtkCudaFFTRampImageFilter.cu.obj) : error LNK2019: unresolved external symbol cufftExecC2R referenced in function "void __cdecl CUDA_fft_convolution(struct int3 const &,struct int2 const &,float *,struct float2 *)" (?CUDA_fft_convolution@@YAXAEBUint3@@AEBUint2@@PEAMPEAUfloat2@@@Z)<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:DotumChe;color:#1E1E1E;background:white;mso-highlight:white'>1>rtkcuda.lib(cuda_compile_generated_rtkCudaFFTRampImageFilter.cu.obj) : error LNK2019: unresolved external symbol cufftSetCompatibilityMode referenced in function "void __cdecl CUDA_fft_convolution(struct int3 const &,struct int2 const &,float *,struct float2 *)" (?CUDA_fft_convolution@@YAXAEBUint3@@AEBUint2@@PEAMPEAUfloat2@@@Z)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:DotumChe;color:#1E1E1E;background:white;mso-highlight:white'>1>rtkcuda.lib(cuda_compile_generated_rtkCudaFFTRampImageFilter.cu.obj) : error LNK2019: unresolved external symbol cufftDestroy referenced in function "void __cdecl CUDA_fft_convolution(struct int3 const &,struct int2 const &,float *,struct float2 *)" (?CUDA_fft_convolution@@YAXAEBUint3@@AEBUint2@@PEAMPEAUfloat2@@@Z)</span><span style='font-family:"Calibri",sans-serif'><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Calibri",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Calibri",sans-serif'>I found that this error was caused by the following line in my code:<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white'>#if</span><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'> </span><span style='font-size:9.5pt;font-family:Consolas;color:#6F008A;background:white;mso-highlight:white'>CUDA_FOUND</span><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow'>        </span><span style='font-size:9.5pt;font-family:Consolas;color:navy;background:yellow;mso-highlight:yellow'>feldkamp</span><span style='font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow'> = </span><span style='font-size:9.5pt;font-family:Consolas;color:#216F85;background:yellow;mso-highlight:yellow'>FDKCUDAType</span><span style='font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow'>::</span><span style='font-size:9.5pt;font-family:Consolas;color:#880000;background:yellow;mso-highlight:yellow'>New</span><span style='font-size:9.5pt;font-family:Consolas;color:black;background:yellow;mso-highlight:yellow'>();</span><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'> </span><span style='font-size:9.5pt;font-family:Wingdings;color:black;background:white;mso-highlight:white'>ß</span><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'> here!<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'>        </span><span style='font-size:9.5pt;font-family:Consolas;color:#6F008A;background:white;mso-highlight:white'>SET_FELDKAMP_OPTIONS</span><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'>(</span><span style='font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white'>static_cast</span><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'><</span><span style='font-size:9.5pt;font-family:Consolas;color:#216F85;background:white;mso-highlight:white'>FDKCUDAType</span><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'>*>(</span><span style='font-size:9.5pt;font-family:Consolas;color:navy;background:white;mso-highlight:white'>feldkamp</span><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'>.</span><span style='font-size:9.5pt;font-family:Consolas;color:#880000;background:white;mso-highlight:white'>GetPointer</span><span style='font-size:9.5pt;font-family:Consolas;color:black;background:white;mso-highlight:white'>()));<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.5pt;font-family:Consolas;color:blue;background:white;mso-highlight:white'>#else</span><span style='font-family:"Calibri",sans-serif'><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Calibri",sans-serif'>..<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Calibri",sans-serif'>I also found that those problematic symbols (cufftPlan2d, cufftPlan3d, cufftExecR2C, ..) are defined in “cufft.h”.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Calibri",sans-serif'><o:p> </o:p></span></p><div><p class=MsoNormal><span style='font-family:"Calibri",sans-serif'>It is very weird to me because I did the exactly same thing in my previous project and there was no problem at that time.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Calibri",sans-serif'>Maybe I did something wrong but have no idea now.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Calibri",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Calibri",sans-serif'>Any helps/suggestions will be highly appreciated!<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Calibri",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Calibri",sans-serif'>Regards,<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Calibri",sans-serif'>Yang<span style='color:black'> <o:p></o:p></span></span></p></div></div></body></html>