On Tue, Apr 23, 2013 at 10:16 AM, Nada ABDELKADER <
nada.abdelka...@etu.upmc.fr> wrote:

> Hi all,
>
> I'm trying to add new module following the tutorial in "
> http://gnuradio.org/redmine/**projects/gnuradio/wiki/**OutOfTreeModules<http://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModules>
> ".
> But when building I got these errors:
>
> [  5%] Building CXX object lib/CMakeFiles/gnuradio-**
> testmod.dir/testbloc_impl.cc.o
> /home/utilisateur/Documents/**GnuradioInstall/gnuradio/gr-**testmod/lib/testbloc_impl.cc:
> In constructor ?gr::testmod::testbloc_impl::**testbloc_impl()?:
> /home/utilisateur/Documents/**GnuradioInstall/gnuradio/gr-**
> testmod/lib/testbloc_impl.cc:**42:30: erreur: expected primary-expression
> before ?<? token
> /home/utilisateur/Documents/**GnuradioInstall/gnuradio/gr-**
> testmod/lib/testbloc_impl.cc:**42:32: erreur: ?MIN_IN? was not declared
> in this scope
> /home/utilisateur/Documents/**GnuradioInstall/gnuradio/gr-**
> testmod/lib/testbloc_impl.cc:**42:39: erreur: expected primary-expression
> before ?>? token
>
> Any idea?
>
> Nada
>
>
>
> Hey Nada,

It sounds like you didn't change the in/out port sizes. Look at line 42,
change anything surrounded by <+ foo +>. The bracket/plus sign is just
there as a hint of what the code should look like and you need to replace
it with real code.

You should end up with something that looks like the first code segment of
the "C++ code (part 1)" section of the tutorial you linked.
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to