Re: [Discuss-gnuradio] Importing Grblock or not?

2011-12-14 Thread Josh Blum
On 12/14/2011 08:07 AM, Urban Kuhar wrote: > Hi guys! > > I have problems with writing a processing block in python. I looked at the > examples here > http://gnuradio.org/redmine/projects/gnuradio/wiki/WriteBlocksInPython but > when I try to create a new class that inherits gr.sync_block (or any

Re: [Discuss-gnuradio] Importing Grblock or not?

2011-12-14 Thread Urban Kuhar
Hi guys! I have problems with writing a processing block in python. I looked at the examples here http://gnuradio.org/redmine/projects/gnuradio/wiki/WriteBlocksInPython but when I try to create a new class that inherits gr.sync_block (or any other from the example) I get this output: Traceback (m

Re: [Discuss-gnuradio] Importing Grblock or not?

2011-11-28 Thread Alex Zhang
With 90% possibility, my building issue of boost is caused by the conflict between the built-in boost library and the post installed boost libs. After removing all the libboost* in the /usr/lib/ and changing environmental value LD_LIBRARY_PATH by delete the path to my self-installed boost directory

Re: [Discuss-gnuradio] Importing Grblock or not?

2011-11-23 Thread Alex Zhang
For the boost issue, unitl now, I think the most likely cause is due to incorrect installation of my boost. I manually compiled a boost 1.47 and copy the related lib files to the /usr/local/lib and /usr/lib. But the ubunut 11.10 could have already built-in boost of the other older version. If so, t

Re: [Discuss-gnuradio] Importing Grblock or not?

2011-11-23 Thread Josh Blum
> If I build and install the gnuradio based on your next branch, do we still > need use "import grblock" in the application code? > No, the old module "grblock" is gone, the work is now integrated into "gnuradio.gr". Did you see the examples here: http://gnuradio.org/redmine/projects/gnuradio/w

[Discuss-gnuradio] Importing Grblock or not?

2011-11-22 Thread Alex Zhang
Hi Josh, As you said that the work of grblock has already been merged to your next branch, I am little confusing that how to use grblock. Previously, we installed grblock as a separate module, and in the application code we need to import grblock explicitly. And the directory /usr/local/lib/python