- Log in to post comments
If old modules used, there may be error, like this:
/usr/local/include/gnuradio/swig/gnuradio.i:31: Error: Unable to find 'gruel_common.i'
/usr/local/include/gnuradio/swig/gr_basic_block.i:26: Error: Unable to find 'pmt_swig.i'
Fix for this fund on maillist: http://lists.gnu.org/archive/html/discuss-gnuradio/2012-04/msg00355.html
And patch is simple:
b/gr-howto-write-a-block/Makefile.common
index fca6133..2b9cc75 100644
--- a/gr-howto-write-a-block/Makefile.common
+++ b/gr-howto-write-a-block/Makefile.common
@@ -56,7 +56,8 @@ STD_DEFINES_AND_INCLUDES = \
$(DEFINES) \
-I$(abs_top_srcdir)/lib \
-I$(GNURADIO_CORE_INCLUDEDIR) \
- -I$(GNURADIO_CORE_INCLUDEDIR)/swig
+ -I$(GNURADIO_CORE_INCLUDEDIR)/swig \
+ -I$(GRUEL_INCLUDEDIR)/gruel/swig