On Wed, Oct 12, 2011 at 5:26 AM, Peter D. Massam <peter.mas...@plextek.com>wrote:
> I have been using version 3.1.3 for a while now, but have recently > configured a new PC and installed 3.2.2 (packaged with Ubuntu). > Unfortunately my code does not compile on the new system because of a change > in the API - the return value of the "make" function in "usrp_standard_rx" > has changed to a shared pointer. **** > > ** ** > > I need to be able to maintain my program for both old and new systems and > I've been looking for a version constant that I can use for conditional > compilation. **** > > ** ** > > Unfortunately I've had no luck - I guess I'm using the wrong keywords in my > searches. Does anyone know how to find out the Gnu Radio version at compile > time? **** > > ** ** > > Thanks, **** > > ** ** > > Peter**** > Plextek Limited > Registered Address: London Road, Great Chesterford, Essex, CB10 1NY, UK > Company Registration No. 2305889 > VAT Registration No. GB 918 4425 15 > Tel: +44 1799 533 200. Fax: +44 1799 533 201 Web:http://www.plextek.com > Electronics Design and Consultancy > Peter, You can find the version information in $(top_builddir)/gnuradio-core/gnuradio-core.pc. This is filled in with the information in $(top_srcdir)/version.sh. Where top_builddir is where you are building the project, and top_builddir = top_srcdir if you are building in the same directory that contains the source code. Hope that helps. Tom
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio