Forum: GNU Radio Error - in building new signal processing block

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
8609964d75de56552443da57880d4424?d=identicon&s=25 Bruh G. (bruh)
on 2008-11-28 15:19
Hey all,

 I was trying to make a new signal processing block in
gr-howto-write-a-block  based on the instructions by Dawei Shen. $ make
check fails..and the error says:
Error: Unable to find 'gruel/realtime.h'. So, how can i correct this
error? thanks

And how can i make another signal processing block ? Because, in
building the first block, i used the gr-howto-write-a-block folder in my
gnuradio folder. So,when i need to build another block, do I need to
download another copy of the folder?    -Thanks

Bruhtesfa
3d593de8acbe2510722af740d8668352?d=identicon&s=25 Firas Abbas (Guest)
on 2008-11-28 17:17
(Received via mailing list)
8609964d75de56552443da57880d4424?d=identicon&s=25 Bruh G. (bruh)
on 2008-11-29 12:56
Firas Abbas wrote:
> check :   http://gnuradio.org/trac/ticket/308

Hi Firas,

 Tha solution on this ticket says:
"Creating a symlink from /usr/local/include/gnuradio/gruel to
/usr/local/include/gruel or applying the attached patch "works for me".
I don't know if it's the right thing to do, though, I'm new to the make
system."

But I am new to such things, so i didnot understand the term creating a
symlink.Please, could you explain me these terms. -Thanks

Bruhtesfa
287db267f16cb26430934ea36168e6b3?d=identicon&s=25 Mattias Kjellsson (Guest)
on 2008-11-29 15:02
(Received via mailing list)
Bruhtesfa Ebrahim wrote:
> I don't know if it's the right thing to do, though, I'm new to the make
> system."
>
> But I am new to such things, so i didnot understand the term creating a
> symlink.Please, could you explain me these terms. -Thanks
>
Check out "ln"- command (which is used to create links)... try

$ln --help
or
$man ln

I bet (without having read ticket 308) you would like to use something
like
$ln -s /usr/local/include/gnuradio/gruel /usr/local/include/gruel

or was it the other way around? Check the man- pages to be sure...

Although I know Matt and Eric isn't crazy about symlinks, but sometimes
they make the world a better place :)

Cheers
//Mattias Kjellsson
3d593de8acbe2510722af740d8668352?d=identicon&s=25 Firas Abbas (Guest)
on 2008-11-29 19:15
(Received via mailing list)
Hi,

1) Edit   gr-howto-write-a-block/Makefile.common

2) Replace the line :
 SWIGGRFLAGS = -I$(GNURADIO_CORE_INCLUDEDIR)/swig
-I$(GNURADIO_CORE_INCLUDEDIR)

With the line:
SWIGGRFLAGS = -I$(GNURADIO_CORE_INCLUDEDIR)/swig
-I$(GNURADIO_CORE_INCLUDEDIR) -I$(includedir)




Regards,

Firas

--- On Sat, 11/29/08, Bruhtesfa Ebrahim <lists@ruby-forum.com> wrote:
From: Bruhtesfa Ebrahim <lists@ruby-forum.com>
Subject: [Discuss-gnuradio] Re: Error - in building new signal
processing block
To: discuss-gnuradio@gnu.org
Date: Saturday, November 29, 2008, 2:56 PM

Firas Abbas wrote:
> check :   http://gnuradio.org/trac/ticket/308

Hi Firas,

 Tha solution on this ticket says:
"Creating a symlink from /usr/local/include/gnuradio/gruel to
/usr/local/include/gruel or applying the attached patch "works for
me".
I don't know if it's the right thing to do, though, I'm new to the
make
system."

But I am new to such things, so i didnot understand the term creating a
symlink.Please, could you explain me these terms. -Thanks

Bruhtesfa
--
Posted via http://www.ruby-forum.com/.
This topic is locked and can not be replied to.