Re: [Discuss-gnuradio] importing blocks to GRC

2014-05-29 Thread Pengyu Zhang
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

Re: [Discuss-gnuradio] importing blocks to GRC

2014-05-29 Thread Alfredo Muniz
On Thu, May 29, 2014 at 5:13 AM, Pengyu Zhang 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

Re: [Discuss-gnuradio] importing blocks to GRC

2014-05-29 Thread Pengyu Zhang
Yeah. I also think some configurations on my machine are not correct. Here are the output of several commands. $ cmake .. -- The CXX compiler identification is GNU 4.8.2 -- The C compiler identification is GNU 4.8.2 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler:

Re: [Discuss-gnuradio] importing blocks to GRC

2014-05-28 Thread Alfredo Muniz
On Wed, May 28, 2014 at 6:36 PM, Marcus D. Leech wrote: > Setting users environment variables is unrelated to building software. That's right. I more wanted to make sure that the thing installed correctly. Pengyu, I downloaded your zip and rebuilt it on my machine with no errors. I can use yo

Re: [Discuss-gnuradio] importing blocks to GRC

2014-05-28 Thread Marcus D. Leech
On 05/28/2014 09:11 PM, Pengyu Zhang wrote: When I do "echo $PYTHONPATH", nothing shows up. How is $PYTHONPATH set? I thought it should be configured automatically by cmake and make. Correct? On Wed, May 28, 2014 at 4:56 PM, Alfredo Muniz > wrote: On Wed,

Re: [Discuss-gnuradio] importing blocks to GRC

2014-05-28 Thread Pengyu Zhang
When I do "echo $PYTHONPATH", nothing shows up. How is $PYTHONPATH set? I thought it should be configured automatically by cmake and make. Correct? On Wed, May 28, 2014 at 4:56 PM, Alfredo Muniz wrote: > > On Wed, May 28, 2014 at 1:43 PM, Pengyu Zhang wrote: > >> I still cannot see the block on

Re: [Discuss-gnuradio] importing blocks to GRC

2014-05-28 Thread Alfredo Muniz
On Wed, May 28, 2014 at 1:43 PM, Pengyu Zhang wrote: > I still cannot see the block on GRC I'm assuming you're using ubuntu then. Check your python path echo $PYTHONPATH and ensure that you see the howto folder located there in the dist-packages ___

Re: [Discuss-gnuradio] importing blocks to GRC

2014-05-28 Thread Pengyu Zhang
I executed $gr_modtool makexml square2_ff before. So the content in /gr-howto/grc/howto_square2_ff.xml should be correct. As you pointed that stuff should be removed, I also did $gr_modtool makexml square_ff. Now the content in /gr-howto/grc/howto_square_ff.xml is shown below. Although I did $make

Re: [Discuss-gnuradio] importing blocks to GRC

2014-05-28 Thread Alfredo Muniz
On Wed, May 28, 2014 at 1:01 PM, Pengyu Zhang wrote: > After I executed the commands specified by the tutorial, I did not see any > HOWTO blocks when I boot the GRC using $gnuradio-companion If all the tests pass then this usually means there is a problem with your xml files. You should remove