[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Issues with OOT
From: |
Martin Braun |
Subject: |
Re: [Discuss-gnuradio] Issues with OOT |
Date: |
Fri, 31 Jul 2015 09:48:39 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 |
Marius,
hard to say from this info. However, did you go through
http://gnuradio.org/redmine/projects/gnuradio/wiki/Guided_Tutorials to
learn how to write blocks? Those tutorials usually explain the most
common pitfalls.
Cheers,
M
On 31.07.2015 08:04, Marius Cachelin wrote:
> Hi everyone,
>
> I am writing here because I have some issues using an OOT module.
> Actually, I have gnuradio installed on my desktop.
>
> I want to install gnuradio on other laptop so that I can use 2 USRP.
>
>
> So, I followed the steps described here
> "*http://gnuradio.org/redmine/projects/gnuradio/wiki/InstallingGRFromSource*",
> where I used the *build-gnuradio* script. (I have already used this
> script to install gnuradio on my desktop).
>
> - I created a new folder, named "gnuradio" in /opt.
> - I then run *cd /opt/gnuradio *and*wget
> http://www.sbrac.org/files/build-gnuradio && chmod a+x ./build-gnuradio
> && ./build-gnuradio *. After a while, all the process is done.
> - I followed all steps presented in
> *http://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModulesConfig*,
> to create a new OOT module.
>
> But, In GRC, when I want to use my new OOT module, I get this error :
>
> *-- Traceback (most recent call last):
> File "/home/sagem/Bureau/top_block.py", line 140, in <module>
> tb = top_block()
> File "/home/sagem/Bureau/top_block.py", line 65, in __init__
> self.test_block_test_0 = test.block_test()
> AttributeError: 'module' object has no attribute 'block_test'
>
> *
> My block, named block_test, do nothing. It just copy all inputs items
> into output buffer.
>
>
> I read some discusses about this error, but I can't understand why I get it.
> I checked all my *CMakelist.txt*, and all is good.
> I run *make test*, and all test passed.
>
> If someone could help me to figure this out, It would be very helpfull.
>
> Marius
>
> *CACHELIN Marius*
> /Ingénieur Systèmes, Réseaux et Télécommunications/
> address@hidden <mailto:address@hidden>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>