Comments (2)
I think some typedefs changed in newer UHD APIs. Does this patch help?
diff --git a/UHDSoapyDevice.cpp b/UHDSoapyDevice.cpp
index 74a4927..22f5b3c 100644
--- a/UHDSoapyDevice.cpp
+++ b/UHDSoapyDevice.cpp
@@ -863,7 +863,7 @@ uhd::tx_streamer::sptr UHDSoapyDevice::get_tx_stream(const uhd::stream_args_t &a
bool UHDSoapyDevice::recv_async_msg(uhd::async_metadata_t &md, double timeout)
{
- uhd::tx_streamer::sptr stream = _tx_streamers[0].lock();
+ auto stream = _tx_streamers[0].lock();
if (not stream) return false;
return stream->recv_async_msg(md, timeout);
}
from soapyuhd.
If I add the boost/foreach.hpp include, and the auto in a couple spots, I still get a few errors like this:
UHDSoapyDevice.cpp:859:71: error: no match for ‘operator=’ (operand types are ‘std::map<long unsigned int, boost::weak_ptruhd::tx_streamer >::mapped_type {aka boost::weak_ptruhd::tx_streamer}’ and ‘uhd::tx_streamer::sptr {aka std::shared_ptruhd::tx_streamer}’)
BOOST_FOREACH(const size_t ch, args.channels) _tx_streamers[ch] = stream;
If you can fire up an Ubuntu 18 VM you should see it pretty quick.
from soapyuhd.
Related Issues (20)
- Latest SoapyUHD build fails with boost errors HOT 1
- Having trouble connecting to USRP N210 with SoapyUHD HOT 7
- SoapySDRUtil --find does not find my USRP X310
- uhd 4.0.0.0 has been released HOT 2
- soapyuhd 0.4.0 can't compile against uhd 4.0.0.0 HOT 6
- SoapyUHD with N310 and with the Octoclock module
- libuhd 4.0 + Soapy 0.4.2 causes segfault when getting the device tree HOT 1
- Method getBandwidthRange returns TX for SOAPY_SDR_RX
- Soapy overflow::SoapySDR::Device::readStream timeout! HOT 4
- SoapyUHD make errors at 100%, produces different errors HOT 5
- Multiple RX channels issue HOT 1
- UHD device: SoapyMultiSDR support?
- Segmentation Fault on Mac OSX (M1/Monterey) HOT 1
- X310 w/ Twin RX unable to use both channels
- SoapyUHD not detecting USRP or simply crashing
- UHD USRP2 soapyuhd does not use uhd calibration or is missing calibration software HOT 1
- Logger-related crash when probing USRP B200mini
- Not able to select clock source in device string HOT 1
- ABI compatibility mismatch with UHD library
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from soapyuhd.