Forum: GNU Radio something wrong after I add a new c++ block in gnuradio. ('module' object has no attribute)

03bb2eab8c06cd2083eb59f7759fe27d?d=identicon&s=25 Yingjie Chen (Guest)
on 2013-08-13 11:46
(Received via mailing list)
Hi guys,

Thanks in advance.

I have add a new c++ block in gnuradio/gnuradio-core/src/lib/general,
**, 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
help me, please.

Aaa0fc4458ead49e4f9317634a32ae92?d=identicon&s=25 Nemanja Savic (Guest)
on 2013-08-13 12:05
(Received via mailing list)
I will try, but somebody will probably give the better answer. From my
experience it looks like problem with swig file.

This topic is locked and can not be replied to.