You are doing the right things. However, there is a long standing bug in our gr_modtool created template that doesn't trigger recompiling the SWIG wrapper when changing the public .h file(s). Just do a 'make clean', 'make', and 'sudo make install' again.
-Johnathan
Johnathan Corgan
Corgan Labs - SDR Training and Development Services
Corgan Labs - SDR Training and Development Services
On Tue, Aug 2, 2016 at 1:40 PM, Damindra Bandara <damindra.bandara@gmail.com> wrote:
DamindraThank you,If you could give me some guidelines to make public methods in OOT modules, I would really appreciate it.Hi,I am looking for a way to add public methods to GNURadio OOT modules. I modified the <oot_module>_impl.cc and <oot_module>_impl.h files. I also added the function signature as a virtual function to /include/<oot_module>.h file. I compiled the code(make /make install/ldconfig), and I did not get any errors. However, the functions are not visible outside. For example, I cannot use the public methods from the topblock.py.
--Damindra Savithri Bandara,Ph.D. in Information Technology (Candidate)
George Mason University,
Fairfax,
Virginia
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
No comments:
Post a Comment