Hi everyone, I'm using Ubuntu 20.04,, UHD 4.2.0 and GNU Radio 3.8. I'm using also an USRP X310 for RFNoC development but I'm getting problems when I'm creating the FFT block. Once I've changed all the Verilog files, all the .yml and all the controllers, I see that the files named fft_impl.cc and fft_impl.h, which are the GNU Radio block C++ code, are not provided in UHD. As I don't have them, I use te default blocks that rfnocmodtool provides by default. After I use make in the build directory I get the next error:
[ 6%] Building CXX object lib/CMakeFiles/gnuradio-bloquefft.dir/fft_impl.cc.o In file included from /home/benito.paramo/rfnoc/src/rfnoc-bloquefft/lib/fft_impl.cc:26: /home/benito.paramo/rfnoc/src/rfnoc-bloquefft/lib/fft_impl.h:47:5: error: expected class-name before '{' token 47 | { | ^ /home/benito.paramo/rfnoc/src/rfnoc-bloquefft/lib/fft_impl.cc:29:10: error: 'sptr' in namespace 'gr::fft' does not name a type 29 | fft::sptr | ^~~~ /home/benito.paramo/rfnoc/src/rfnoc-bloquefft/lib/fft_impl.cc: In constructor 'gr::bloquefft::fft_impl::fft_impl(uhd::rfnoc::noc_block_base::sptr)': /home/benito.paramo/rfnoc/src/rfnoc-bloquefft/lib/fft_impl.cc:48:11: error: 'gr::ettus' has not been declared 48 | gr::ettus::rfnoc_block(block_ref), | ^~~~~ /home/benito.paramo/rfnoc/src/rfnoc-bloquefft/lib/fft_impl.cc:48:18: error: expected '{' before 'rfnoc_block' 48 | gr::ettus::rfnoc_block(block_ref), | ^~~~~~~~~~~ /home/benito.paramo/rfnoc/src/rfnoc-bloquefft/lib/fft_impl.cc: At global scope: /home/benito.paramo/rfnoc/src/rfnoc-bloquefft/lib/fft_impl.cc:48:29: error: expected constructor, destructor, or type conversion before '(' token 48 | gr::ettus::rfnoc_block(block_ref), Anyone had a similar result and could resolve it? Or I just don't have a file that is necessary? Thank you everyone Benito __________________________________________________________________________ The content of this e-mail is strictly confidential. It is forbidden to share any part of this message with any third party without the prior written consent of SENER Group. If you received this message by mistake, please inform the sender and delete the e-mail.