|
From: | Garver, Paul W |
Subject: | Re: [Discuss-gnuradio] issue with boost::chrono:: |
Date: | Thu, 19 Jan 2017 19:03:00 +0000 |
My money is on this being a linking error. Did you ensure the proper linking is being done in the cmake file?
Also, when I had I a similar problem this helped debug:
in the python/ directory, look at the __init__.py file and remove the try / except around the "from xxx_swig import *". You should actually see what the issue is once you run it again. I suspect an undefined symbol.
PWG From: Discuss-gnuradio <discuss-gnuradio-bounces+address@hidden> on behalf of Myers, David <address@hidden>
Sent: Thursday, January 19, 2017 1:36:09 PM To: address@hidden Cc: Harper, Andrew Subject: [Discuss-gnuradio] issue with boost::chrono:: Hello,
I'm trying to use boost::chrono clocks in my OOT block. When I try to include the following line of code in this block all the blocks in the OOT module to stop working:
boost::chrono::system_clock::now();
To be clear my OOT module still compiles and installs without error, but with this line of code in a single block all my blocks fail to run. Anytime I try to run a block from my OOT module in GNURadio I get the following error:
It's worth noting I am able to compile and run code using the same boost::chrono functions outside GNU Radio using a gcc compiler with no issue. I'm using GNU Radio v3.7.10.1 and my block uses the following special include testaments: #include <boost/chrono.hpp>
Any guidance you can offer would be greatly appreciated! With thanks,
David Myers Georgia Tech Research Institute |
[Prev in Thread] | Current Thread | [Next in Thread] |