|
From: | Peter D. Massam |
Subject: | [Discuss-gnuradio] Getting the API version at compile time |
Date: | Wed, 12 Oct 2011 10:26:47 +0100 |
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 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 |
[Prev in Thread] | Current Thread | [Next in Thread] |