[Discuss-gnuradio] something wrong after I add a new c++ block in gnuradio. ('module' object has no attribute)

2013-08-13 Thread Yingjie Chen
Hi guys,

Thanks in advance.

I have add a new c++ block in gnuradio/gnuradio-core/src/lib/general, named
*gr_multiply_const_cc1.cc*, with other two files, named *
gr_multiply_const_cc1.h* and* gr_multiply_const_cc1.i. *I have add it in
the Cmakelist and successfully pass the building process. After that, I
import this block in python and manage to use it. (After make install).
However, I got* a wrong message 'module' object has no attribute
'multiply_const_cc1'  *in the terminal. Did I miss something? Could anyone
help me, please.

Best,
Kay.
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] something wrong after I add a new c++ block in gnuradio. ('module' object has no attribute)

2013-08-13 Thread Nemanja Savic
I will try, but somebody will probably give the better answer. From my
experience it looks like problem with swig file.

Best,
Nemanja


On Tue, Aug 13, 2013 at 11:45 AM, Yingjie Chen  wrote:

> Hi guys,
>
> Thanks in advance.
>
> I have add a new c++ block in gnuradio/gnuradio-core/src/lib/general,
> named *gr_multiply_const_cc1.cc*, with other two files, named *
> gr_multiply_const_cc1.h* and* gr_multiply_const_cc1.i. *I have add it in
> the Cmakelist and successfully pass the building process. After that, I
> import this block in python and manage to use it. (After make install).
> However, I got* a wrong message 'module' object has no attribute
> 'multiply_const_cc1'  *in the terminal. Did I miss something? Could
> anyone help me, please.
>
> Best,
> Kay.
>
>
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>


-- 
Nemanja Savić
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio