Did you do ldconfig after compiling? Also, you can remove the try/catch in 
python/__init__.py this should tell you the actual error if you use a debugger.

Paul Garver


On May 31, 2017, at 2:35 AM, Amirhosein naseri 
<amirhosein_nas...@yahoo.com<mailto:amirhosein_nas...@yahoo.com>> wrote:


Tnx Paul for your answer.
Yeah I read that page and I added UHD , but I got same error again.


On Tue, May 30, 2017 at 17:20, Garver, Paul W
<garv...@gatech.edu<mailto:garv...@gatech.edu>> wrote:
Did you link against the appropriate libraries in cmake? Haven’t done this 
myself for UHD library calls, but my guess is you need to add UHD to 
GR_REQUIRED_COMPONENTS, or something similar [1]. That error is a really poor 
message for diagnosing the root issue ,which is likely a linking problem.

PWG

[1] https://wiki.gnuradio.org/index.php/OutOfTreeModulesConfig
On May 29, 2017, at 5:53 AM, Amirhosein naseri 
<amirhosein_nas...@yahoo.com<mailto:amirhosein_nas...@yahoo.com>> wrote:

Hi

i am writing my own block. in my code when i use uhd::time_spec_t class, in 
running my GRC i got "AttributeError: 'module' object has no attribute"  error. 
but if dont use this class my block works fine. WHY?????

tnx.
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org<mailto:Discuss-gnuradio@gnu.org>
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to