Here are the steps I use to add a block. I piggyback onto gnuradio-core/src/lib/general.
1) Copy test.cc, test.h, and test.i to gnuradio-core/src/lib/general
2) Edit gnuradio-core/src/lib/general/general.i, and add 2 new “include” lines (one for test.h and one for test.i)
3) Edit gnuradio-core/src/lib/general/Makefile.am, and add the 3 new file names in the appropriate place
4) In gnuradio-core, run “make” and “make install”
Hope this helps!
没有评论:
发表评论