I think the default GNU Radio search path is /usr/share/gnuradio/grc/blocks because all existing blocks are stored within this directory. I added the new path into GRC_BLOCKS_PATH variable.
export GRC_BLOCKS_PATH=/usr/local/share/gnuradio/grc/blocks:$GRC_BLOCKS_PATH Now I can see the howto block in GRC. For a quick test, I connected a constant source 0.5 to the howto module. The output of howto module is 0.25, which is the square of input. Therefore, the gr-howto block functions as expected. However, when I run the GRC, I saw one error message and am not sure what it indicates. libGL error: failed to load driver: swrast On Thu, May 29, 2014 at 12:28 PM, Alfredo Muniz <[email protected]> wrote: > > On Thu, May 29, 2014 at 5:13 AM, Pengyu Zhang <[email protected]> wrote: > >> I also think some configurations on my machine are not correct > > > Let's simplify the problem even more. It should be the case that when you > place a xml file in /usr/local/share/gnuradio/blocks/ it will show up in > GNU Radio Companion regardless of if you actually made the block. Do a sudo > cp on howto_square2_ff.xml. Then open up GNU Radio and see if you can find > the HOWTO category and the square block. > > If that doesn't work, GNU Radio is likely searching somewhere else for new > blocks similar to this problem > http://gnuradio.4.n7.nabble.com/Cannot-see-my-custom-blocks-in-GRC-td45780.html > since your versions match. I recommend updating. >
_______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
