discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Question on howto-write-a-block


From: Brook Lin
Subject: Re: [Discuss-gnuradio] Question on howto-write-a-block
Date: Tue, 8 Dec 2009 11:03:48 -0800 (PST)

Yes, Tim. It works now. Thanks so much.
-Brook


Tim Pearce-2 wrote:
> 
> Brook,
> 
> I'd guess its an error in one of the modifications to Makefile.am -- have
> you put a \ at the end of the preceding line? i.e it should be something
> like:
> 
> grinclude_HEADERS =        \
>     howto_square_ff.h    \
>     howto_square2_ff.h \
>     howto_code.h
> 
> lib_LTLIBRARIES = libgnuradio-howto.la
> 
> libgnuradio_howto_la_SOURCES =     \
>     howto_square_ff.cc    \
>     howto_square2_ff.cc \
>     howto_code.cc
> 
> It looks like its trying to execute howto_code.h (from your path) rather
> than adding it to the relevant enviroment variable.
> 
> Cheers,
> 
> Tim
> 
> On Sat, Dec 5, 2009 at 4:29 AM, Brook Lin <address@hidden> wrote:
> 
>>
>> Hi All,
>>
>> I am building a signal processing block following the tutorial under the
>> directory /gnuradio/gr-howto-write-a-block, say 'howto_code' block. I've
>> created howto_code.h and howto_code.cc file under
>> /gnuradio/gr-howto-write-a-block/src/lib, meanwhile, I modified howto.i
>> and
>> Makefile.am in the same directory.
>>
>> Then, under the directory /gnuradio/gr-howto-write-a-block, I run
>> ./bootstrap
>> ./configure
>> make
>> I got error said "/usr/bin/swig -c++ -fvirtual -python -modern
>> -I/usr/local/include/gnuradio/swig -I/usr/local/include/gnuradio -module
>> howto -o howto.cc ../../src/lib/howto.i
>> howto_addcode.h
>> /bin/bash: howto_code.h: command not found"
>>
>> Can anyone advise me how to fix it? What should be the problem?
>>
>> Thanks in advance,
>> Brook
>> --
>> View this message in context:
>> http://old.nabble.com/Question-on-howto-write-a-block-tp26652926p26652926.html
>> Sent from the GnuRadio mailing list archive at Nabble.com.
>>
>>
>>
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Question-on-howto-write-a-block-tp26652926p26698961.html
Sent from the GnuRadio mailing list archive at Nabble.com.





reply via email to

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