discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] gr-howto-write-a-block seems broken, anybody working


From: Martin DvH
Subject: [Discuss-gnuradio] gr-howto-write-a-block seems broken, anybody working on it.
Date: Mon, 08 Dec 2008 23:27:55 +0100

Hi,
gr-howto-write-a-block seems broken.
When I try to bootstrap  ./configure  make


Making all in lib
make[3]: Entering directory
`/pub/projects/gnuradio/svn/trunk/gr-howto-write-a-block/src/lib'
/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
/usr/local/include/gnuradio/swig/gr_realtime.i:3: Error: Unable to find
'gruel/realtime.h'
make[3]: *** [howto.cc] Error 1

This seems to be due to
gr-howto-write-a-block/Makefile.common:
SWIGGRFLAGS = -I$(GNURADIO_CORE_INCLUDEDIR)/swig -I
$(GNURADIO_CORE_INCLUDEDIR)

When you add $(GNURADIO_CORE_CPPFLAGS) to it, it builds.

SWIGGRFLAGS = -I$(GNURADIO_CORE_INCLUDEDIR)/swig -I
$(GNURADIO_CORE_INCLUDEDIR) $(GNURADIO_CORE_CPPFLAGS)

So I could commit this and everything seems OK again.

But the build infrastructure gr-howto-write-a-block drifts more and more
apart from the main buildtree.

For example, the main gnuradio tree doesn't seem to use SWIGGRFLAGS
anymore
(It is not in Makefile.common of the top sourcetree)

It might be a good idea to get things like Makefile.common, config/*.m4
and configure.ac  updated and more in sync with the main tree.

gr-howto-write-a-block is not a main priority for me, but it might be
confusing for new users if it works very different from the rest.

Greetings,
Martin






reply via email to

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