I hope you guys are doing well. I have a compilation problem with GrBlock. I have GNURadio 3.3 and UHD installed in a non standard directory (/opt/gnuradio) and (/opt/uhd). Please help me with this questions. Can I installed GrBlock when GNURadio is in a non-standard directory? What do I need to modify in the configuration files of GrBlock? Is Gnuradio3.3 supported or I need GNURadio3.4?. I have Ubuntu 10.04, 32-bits
I exported as env variable GRUEL_DIR=/opt/gnuradio and GNURADIO_CORE_DIR=/opt/gnuradio, so cmake ../ performed as expected, but when I execute make: [ 7%] Building CXX object lib/CMakeFiles/gnuradio-grblock.dir/grblock_gateway.cc.o In file included from /home/sergio/grblock/lib/grblock_gateway.cc:22: /home/sergio/grblock/lib/grblock_gateway.h:186: error: ISO C++ forbids declaration of ‘gr_tag_t’ with no type /home/sergio/grblock/lib/grblock_gateway.h:186: error: expected ‘,’ or ‘...’ before ‘&’ token /home/sergio/grblock/lib/grblock_gateway.h:201: error: ‘gr_tag_t’ was not declared in this scope /home/sergio/grblock/lib/grblock_gateway.h:201: error: template argument 1 is invalid /home/sergio/grblock/lib/grblock_gateway.h:201: error: template argument 2 is invalid /home/sergio/grblock/lib/grblock_gateway.h:211: error: ‘gr_tag_t’ was not declared in this scope /home/sergio/grblock/lib/grblock_gateway.h:211: error: template argument 1 is invalid /home/sergio/grblock/lib/grblock_gateway.h:211: error: template argument 2 is invalid /home/sergio/grblock/lib/grblock_gateway.h: In member function ‘void grblock_gateway::gr_block__add_item_tag(unsigned int, int)’: /home/sergio/grblock/lib/grblock_gateway.h:188: error: ‘tag’ was not declared in this scope /home/sergio/grblock/lib/grblock_gateway.h:188: error: return-statement with a value, in function returning 'void' /home/sergio/grblock/lib/grblock_gateway.h: In member function ‘int grblock_gateway::gr_block__get_tags_in_range(unsigned int, uint64_t, uint64_t)’: /home/sergio/grblock/lib/grblock_gateway.h:206: error: ‘gr_tag_t’ was not declared in this scope /home/sergio/grblock/lib/grblock_gateway.h:206: error: template argument 1 is invalid /home/sergio/grblock/lib/grblock_gateway.h:206: error: template argument 2 is invalid /home/sergio/grblock/lib/grblock_gateway.h:206: error: invalid type in declaration before ‘;’ token /home/sergio/grblock/lib/grblock_gateway.h:207: error: no matching function for call to ‘grblock_gateway::get_tags_in_range(int&, unsigned int&, uint64_t&, uint64_t&)’ /opt/gnuradio3.3/include/gnuradio/gr_block.h:276: note: candidates are: void gr_block::get_tags_in_range(std::vector<boost::intrusive_ptr<pmt::pmt_base>, std::allocator<boost::intrusive_ptr<pmt::pmt_base> > >&, unsigned int, uint64_t, uint64_t) /opt/gnuradio3.3/include/gnuradio/gr_block.h:296: note: void gr_block::get_tags_in_range(std::vector<boost::intrusive_ptr<pmt::pmt_base>, std::allocator<boost::intrusive_ptr<pmt::pmt_base> > >&, unsigned int, uint64_t, uint64_t, const pmt::pmt_t&) /home/sergio/grblock/lib/grblock_gateway.h: In member function ‘int grblock_gateway::gr_block__get_tags_in_range(unsigned int, uint64_t, uint64_t, const pmt::pmt_t&)’: /home/sergio/grblock/lib/grblock_gateway.h:217: error: ‘gr_tag_t’ was not declared in this scope /home/sergio/grblock/lib/grblock_gateway.h:217: error: template argument 1 is invalid /home/sergio/grblock/lib/grblock_gateway.h:217: error: template argument 2 is invalid /home/sergio/grblock/lib/grblock_gateway.h:217: error: invalid type in declaration before ‘;’ token /home/sergio/grblock/lib/grblock_gateway.h:218: error: no matching function for call to ‘grblock_gateway::get_tags_in_range(int&, unsigned int&, uint64_t&, uint64_t&, const boost::intrusive_ptr<pmt::pmt_base>&)’ /opt/gnuradio3.3/include/gnuradio/gr_block.h:276: note: candidates are: void gr_block::get_tags_in_range(std::vector<boost::intrusive_ptr<pmt::pmt_base>, std::allocator<boost::intrusive_ptr<pmt::pmt_base> > >&, unsigned int, uint64_t, uint64_t) /opt/gnuradio3.3/include/gnuradio/gr_block.h:296: note: void gr_block::get_tags_in_range(std::vector<boost::intrusive_ptr<pmt::pmt_base>, std::allocator<boost::intrusive_ptr<pmt::pmt_base> > >&, unsigned int, uint64_t, uint64_t, const pmt::pmt_t&) make[2]: *** [lib/CMakeFiles/gnuradio-grblock.dir/grblock_gateway.cc.o] Error 1 make[1]: *** [lib/CMakeFiles/gnuradio-grblock.dir/all] Error 2 make: *** [all] Error 2 Thank you, Sergio Pino University of Delaware _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio