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 <[email protected]> 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
> [email protected]
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio