<div dir="ltr"><div>Hi Anupam,<br><br></div>please check if the fftw lib is the right one - I had similar errors recently when I confused 32 and 64 Bit versions of the fftw libs. Otherwise you are correct, its a linker error, so the problem must resolve somewhere around the libs.<br>
<div class="gmail_extra"><br clear="all"><div>73, Hermann<br>DL3HVH</div>
<br><br><div class="gmail_quote">On Thu, Oct 31, 2013 at 2:38 PM, Anupam Prasad <span dir="ltr"><<a href="mailto:anupam@ancorlabs.org" target="_blank">anupam@ancorlabs.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
***** High Performance Software Defined Radio Discussion List *****<br>
<br>
<br><div link="#0563C1" vlink="#954F72" lang="EN-IN"><div><p class="MsoNormal">Dear All,<u></u><u></u></p><p class="MsoNormal">I am trying to compile cuSDR64 but I am getting the following errors whose description is as below. It’s a linker error but I am unable to resolve it. It's to be noted that all the .lib files in ./lib/ directory have been added to the Linker properties. Any suggestions to this?? My config is as below:- <u></u><u></u></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"" lang="EN-US">OS: Windows 7 Ultimate 64-bit<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"" lang="EN-US">CPU: Intel Core i7-3820 @ 3.60GHz<u></u><u></u></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"" lang="EN-US">RAM: 32 GB DDR3<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"" lang="EN-US">IDE: Visual Studio 2010 SP1<u></u><u></u></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"" lang="EN-US">QT: v4.8.4<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"" lang="EN-US">Building cuSDR on the above system gives the following errors:<u></u><u></u></span></p><p class="MsoNormal" style="text-autospace:none">
<span style="font-family:"Courier New"" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"" lang="EN-US">1. error LNK2019: unresolved external symbol __imp__fftwf_plan_dft_1d referenced in function "public: __thiscall QFFT::QFFT(int)" (??0QFFT@@QAE@H@Z) C:\Users\Charlie\Desktop\cusdr\cuSDR64\qtdsp_fft.obj cuSDR64<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"" lang="EN-US">2. error LNK2019: unresolved external symbol __imp__fftwf_malloc referenced in function "public: __thiscall QFFT::QFFT(int)" (??0QFFT@@QAE@H@Z) C:\Users\Charlie\Desktop\cusdr\cuSDR64\qtdsp_fft.obj cuSDR64<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"" lang="EN-US">3. error LNK2019: unresolved external symbol __imp__fftwf_free referenced in function "public: virtual __thiscall QFFT::~QFFT(void)" (??1QFFT@@UAE@XZ) C:\Users\Charlie\Desktop\cusdr\cuSDR64\qtdsp_fft.obj cuSDR64<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"" lang="EN-US">4. error LNK2019: unresolved external symbol __imp__fftwf_destroy_plan referenced in function "public: virtual __thiscall QFFT::~QFFT(void)" (??1QFFT@@UAE@XZ) C:\Users\Charlie\Desktop\cusdr\cuSDR64\qtdsp_fft.obj cuSDR64<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"" lang="EN-US">5. error LNK2019: unresolved external symbol __imp__fftwf_execute referenced in function "public: void __thiscall QFFT::DoFFTWForward(class QVector<struct _QCOMPLEX> &,class QVector<struct _QCOMPLEX> &,int)" (?DoFFTWForward@QFFT@@QAEXAAV?$QVector@U_QCOMPLEX@@@@0H@Z) C:\Users\Charlie\Desktop\cusdr\cuSDR64\qtdsp_fft.obj cuSDR64<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-family:"Courier New"" lang="EN-US">6. error LNK1120: 5 unresolved externals C:\Users\Charlie\Desktop\cusdr\cuSDR64\bin\\cuSDR64.exe 1 1 cuSDR64<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span>Warm Regards,<u></u><u></u></span></p><p class="MsoNormal"><span><u></u> <u></u></span></p><p class="MsoNormal"><span>Anupam Prasad<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p></div></div><br>_______________________________________________<br>
HPSDR Discussion List<br>
To post msg: <a href="mailto:hpsdr@openhpsdr.org">hpsdr@openhpsdr.org</a><br>
Subscription help: <a href="http://lists.openhpsdr.org/listinfo.cgi/hpsdr-openhpsdr.org" target="_blank">http://lists.openhpsdr.org/listinfo.cgi/hpsdr-openhpsdr.org</a><br>
HPSDR web page: <a href="http://openhpsdr.org" target="_blank">http://openhpsdr.org</a><br>
Archives: <a href="http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/" target="_blank">http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/</a><br></blockquote></div><br></div></div>