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.
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
Yes, Tim. It works now. Thanks so much.
-Brook
Tim P.-2 wrote:
howto_code.h
directory /gnuradio/gr-howto-write-a-block, say ‘howto_code’ block. I’ve
-I/usr/local/include/gnuradio/swig -I/usr/local/include/gnuradio -module
http://old.nabble.com/Question-on-howto-write-a-block-tp26652926p26652926.html
Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page
–
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.