discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] Template Error


From: Sumit Kumar
Subject: [Discuss-gnuradio] Template Error
Date: Thu, 17 May 2018 10:31:24 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

Hi,

I was converting the single channel FFT block to dual channel FFT block. I took the fft_vcc_fftw.cc code and tailored it for dual channel. Also I edited the corresponding xml file.

But when I try to run it in any application from GRC, it says

self.fft_vxx_0_0 = Template error: #if $type() == "complex"
                                    ^
SyntaxError: invalid syntax

Name of the GRC block is FFT DC and the corresponding c++ file is inside gr-fft, named : fft_vcc_fftw.cc & fft_vcc_fftw.h

The xml file name is fft_fft_vxx_dc.xml

I have pushed the code here https://github.com/sumitstop/MTSDR-gnuradio

Only last three commits are relevant.

Regards

Sumit





reply via email to

[Prev in Thread] Current Thread [Next in Thread]