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,
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.
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.

Best,
Nemanja
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.