discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] USRP2 VRT support


From: Doug Geiger
Subject: Re: [Discuss-gnuradio] USRP2 VRT support
Date: Wed, 23 Dec 2009 10:33:39 -0500
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

Josh Blum wrote:
Folks,

There has been much work in the past few months to get the VITA Radio
Transport (VRT) protocol working with the USRP2. You can read more about
the protocol here: http://www.digitalif.org/

The branch containing this work can be found on my usrp2_vrt branch:
http://gnuradio.org/cgit/jblum.git/log/?h=usrp2_vrt


Hmmm, not sure if it's due to a git-related mistake on my end, but I'm getting compilation errors - it looks like the vrt-related headers aren't getting the right -I line in the Makefile somehow
error: vrt/rx_packet_handler.h: No such file or directory

Looks like the $(VRT_INCLUDES) didn't make it into the usrp2/apps/Makefile.am line for AM_CPPFLAGS?
usrp2/lib/Makefile.am has it though, and built correctly.
Hmmm, looks like it might need to be in gr-usrp2/src/Makefile.am as well.

That built at least - I'll report back once I update the SD cards and can do some tests with them. Diff attached below:

diff --git a/gr-usrp2/src/Makefile.am b/gr-usrp2/src/Makefile.am
index 8425c49..cc37b23 100644
--- a/gr-usrp2/src/Makefile.am
+++ b/gr-usrp2/src/Makefile.am
@@ -46,6 +46,7 @@ AM_CPPFLAGS = \
       $(GRUEL_INCLUDES) \
       $(PYTHON_CPPFLAGS) \
       $(USRP2_INCLUDES) \
+        $(VRT_INCLUDES) \
       $(WITH_INCLUDES)

lib_LTLIBRARIES = libgnuradio-usrp2.la
diff --git a/usrp2/apps/Makefile.am b/usrp2/apps/Makefile.am
index 453a612..dc5800a 100644
--- a/usrp2/apps/Makefile.am
+++ b/usrp2/apps/Makefile.am
@@ -19,6 +19,7 @@ include $(top_srcdir)/Makefile.common

AM_CPPFLAGS = \
    $(USRP2_INCLUDES) \
+    $(VRT_INCLUDES) \
    $(STD_DEFINES_AND_INCLUDES) \
    $(CPPUNIT_INCLUDES) \
    $(GRUEL_INCLUDES)

--
Douglas Geiger
Code 5545
U.S. Naval Research Laboratory
Washington, DC 20375
(202) 767-9048
address@hidden





reply via email to

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