[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] symbol already exists: cannot reuse! runtime erro
From: |
Eugene Grayver |
Subject: |
Re: [Discuss-gnuradio] symbol already exists: cannot reuse! runtime error |
Date: |
Thu, 8 Jun 2017 22:02:33 +0000 |
We figured out the cause of this error. I had a block called 'vector_sink2' .
I also have blocks called vector_sink. Turns out the block naming simply
appends the block's index to it.
The first vector_sink2 gets called vector_sink21
The first vector_sink gets called vector_sink1
So at some point we got an additional 20 vector_sink blocks. So that created a
'vector_sink21', which had a name conflict with the first vector_sink2.
The moral of the story is not to end the block name with a number. An even
better idea is to add a separator after the block name and its index for the
complete name: e.g. vector_sink2(1)