Hello, Affan, Sorry to disturb you. I have halt importing my own block process for quite long time. Since I have read what your are posted in Feb and download the modified files howto from your website. It is quite useful to me. However, I am not quite sure how to compare every file with the original file.
Actually I have faced the same problem that I can only follow the shen's tutriol which might be insufficient to current howto file. So just for a quick question, can you list which file I should modify to apply my own block? What I did so far is just rename the howto_square_ff.h=>myblock_square_ff.h, howto_square_ff.cc=>myblock_square_ff.cc howto.i=>myblock.i and changed all the words "howto" in those three files with "myblock". I did the same thing in Makefile.am. Should I change anything else in another file? Thank you. regards, Andy Affan Ahmed wrote: > > Hello all, > > I have been spending a considerable amount of time to modify the how- > to-write-a-block to compile and make my own, different name, module. > While changing the code withing the howto_square_ff.cc is a simple > solution, it is unfulfilling. > > Sadly, I think I tried to make big changes in the code structure and a > simple find/replace of Makefile.am and howto.i (as well as renaming > the files) and other obvious files, does not suffice. I tried to look > for instructions on exactly which files and lines to modify, but there > seem to be none for the structure provided in the example for version > 3.2.2. There are several places (Dawei Shen's tutorial amongst > others) that explain the modification for a boilerplate model for, I > believe, version 3.02 and before, but nothing for the newer version > where the Makefiles.am in the src/lib directory is quite different. > > I will continue to hack on the current version, and keep notes so that > so I can report what and how it works, but if anyone knows of an > existing enumeration of steps on how to take the boilerplate provided > by the how-to-write-a-block ver 3.2.2 and modify it to say a module > name toneDetect, I will appreciate it. > > Regards, > > Affan. > > > _______________________________________________ > Discuss-gnuradio mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > -- View this message in context: http://old.nabble.com/modifying-how-to-write-a-block-3.2.2-tp27602155p28195224.html Sent from the GnuRadio mailing list archive at Nabble.com. _______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
