discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Error while running gr-modtool


From: Nathan West
Subject: Re: [Discuss-gnuradio] Error while running gr-modtool
Date: Tue, 23 Apr 2013 12:22:26 -0500

On Tue, Apr 23, 2013 at 10:16 AM, Nada ABDELKADER <address@hidden> wrote:
Hi all,

I'm trying to add new module following the tutorial in "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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]