[Discuss-gnuradio] libboost error

2014-07-20 Thread Hoang Ngo Khac
Dear all, I'm installing GNU Radio 3.7.3 on Ubuntu 14.04. When I run "make", I got this error: [ 86%] Built target gnuradio-uhd > Linking CXX executable tags_demo > /usr/bin/ld: warning: libboost_date_time.so.1.46.1, needed by > /usr/local/lib/libuhd.so, not found (try using -rpath or -rpath-link

Re: [Discuss-gnuradio] how does Packet Header Generator module handle tags

2014-07-20 Thread Marcus Müller
Hi Tiankun, On 20.07.2014 15:50, hutiantian wrote: > Hi Marcus, > My tx_ofdm.py is gen by tx_ofdm.grc, there are a > 'packet_headergenerator_bb' module in it. This module use > 'set_tag_propagation_policy(TPP_DONT)' to handle tags by itself. Ah ok! > I didn't find any code has touch tags in this m

Re: [Discuss-gnuradio] Implementing callbacks in custom blocks

2014-07-20 Thread jsam45
Remaking after 'make clean' solved the problem. Thanks a lot for the help! Joseph Samuel -- View this message in context: http://gnuradio.4.n7.nabble.com/Implementing-callbacks-in-custom-blocks-tp49462p49468.html Sent from the GnuRadio mailing list archive at Nabble.com. _

Re: [Discuss-gnuradio] how does Packet Header Generator module handle tags

2014-07-20 Thread hutiantian
Hi Marcus, My tx_ofdm.py is gen by tx_ofdm.grc, there are a 'packet_headergenerator_bb' module in it. This module use 'set_tag_propagation_policy(TPP_DONT)' to handle tags by itself. I didn't find any code has touch tags in this module, but when I connect it to Tag Debug module, I can find the

Re: [Discuss-gnuradio] how does Packet Header Generator module handle tags

2014-07-20 Thread Marcus Müller
Hi Tiankun, what's your GNU Radio version [1]? Where did you find that tx_ofdm.py? There is no tx_ofdm.py in my GNU Radio source tree (in none of v3.7.4, v3.6.5 or v3.4.2). There is a tx_ofdm.grc, which can be used to generate a tx_ofdm.py, but that does not (and shouldn't) contain a "set_tag_prop

[Discuss-gnuradio] how does Packet Header Generator module handle tags

2014-07-20 Thread Tiankun Hu
Hi Experts, I was reading tx_ofdm.py. I found this module use 'set_tag_propagation_policy(TPP_DONT)' to handle tags by itself, but I cann't find the code that used to handle tag in this module. I knew this module will call 'packet_header_ofdm.header_formatter()' and 'packet_header_default.header_fo

Re: [Discuss-gnuradio] Implementing callbacks in custom blocks

2014-07-20 Thread Marcus Müller
In addition to what Johannes said: Make sure that you have virtual void set_gain(float gain) = 0; in your var_gain.h and virtual void set_gain(float gain); in your var_gain_impl.h, as well as void var_gain_impl::set_gain(float gain) { ... } in your var_gain_impl.c

Re: [Discuss-gnuradio] Implementing callbacks in custom blocks

2014-07-20 Thread Johannes Demel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hey, I'm not entirely sure if it still holds true, but that might be an error related to SWIG. For some reason virtual header files don't get swig'ed again unless explicitly triggered. Just do a 'make clean' and 'make' again. That should rebuild your