patch-gnuradio
[Top][All Lists]
Advanced

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

[Patch-gnuradio] C++ example for gr-howto


From: Martin Braun
Subject: [Patch-gnuradio] C++ example for gr-howto
Date: Wed, 2 Jun 2010 11:26:00 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

Hi,

the attached patch includes an example C++-only app for
gr-howto-write-a-block. Two things I'd like to point out:

1) I stumbled upon the following lines in Makefile.common: 
STD_DEFINES_AND_INCLUDES = \
        $(DEFINES) \
        -I$(abs_top_srcdir)/include \

Since abs_top_srcdir points to the top of gr-howto, the last shown line
will never point to a useful directory (since
gr-howto-write-a-block/include) does not exist). The patch changes that
to 
        -I$(abs_top_srcdir)/lib \
because I thought that might be what was meant in the first place, and
it makes apps/Makefile.am lighter.

2) I'm still getting the hang of git and, in particular, automake so this
probably could be solved a bit nicer. Basically, it's a merge of the
dial_tone C++ example in the GR master and gr-howto-write-a-block.

Hope this is useful,
MB

-- 
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin Braun
Research Associate

Kaiserstra├če 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-3790
Fax: +49 721 608-6071
www.cel.kit.edu

KIT -- University of the State of Baden-W├╝rttemberg and
National Laboratory of the Helmholtz Association

Attachment: cppexample.patch
Description: Text Data

Attachment: pgpiCqfdUOKaO.pgp
Description: PGP signature


reply via email to

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