jocover / OpenUSRP

using LimeSDR to simulate USRP B210
GNU General Public License v3.0
107 stars 52 forks source link

compile error #11

Open aligrt opened 6 years ago

aligrt commented 6 years ago

I received following error on compilation

In file included from /home/pi/uhd/host/lib/usrp/OpenUSRP/limesdr_impl.hpp:24:0, from /home/pi/uhd/host/lib/usrp/OpenUSRP/limesdr_impl.cpp:20: /usr/local/include/lime/IConnection.h: In member function ‘virtual void lime::IC onnection::AbortSending(int)’: /usr/local/include/lime/IConnection.h:170:35: warning: unused parameter ‘ep’ [-W unused-parameter] virtual void AbortSending(int ep){}; ^~ /usr/local/include/lime/IConnection.h: In member function ‘virtual void lime::IC onnection::AbortReading(int)’: /usr/local/include/lime/IConnection.h:175:35: warning: unused parameter ‘ep’ [-W unused-parameter] virtual void AbortReading(int ep){}; ^~ /home/pi/uhd/host/lib/usrp/OpenUSRP/limesdr_impl.cpp: In constructor ‘limesdr_im pl::limesdr_impl(const lime::ConnectionHandle&, const uhd::device_addr_t&)’: /home/pi/uhd/host/lib/usrp/OpenUSRP/limesdr_impl.cpp:127:34: error: ‘const struc t lime::DeviceInfo’ has no member named ‘addrsLMS7002M’ const size_t numRFICs = devInfo.addrsLMS7002M.size(); ^~~~~ lib/CMakeFiles/uhd.dir/build.make:4874: recipe for target 'lib/CMakeFiles/uhd.di r/usrp/OpenUSRP/limesdr_impl.cpp.o' failed make[2]: [lib/CMakeFiles/uhd.dir/usrp/OpenUSRP/limesdr_impl.cpp.o] Error 1 CMakeFiles/Makefile2:119: recipe for target 'lib/CMakeFiles/uhd.dir/all' failed make[1]: [lib/CMakeFiles/uhd.dir/all] Error 2 Makefile:160: recipe for target 'all' failed make: *** [all] Error 2

any one can help? I have already followed instructions given Issue 10 closed by @FFY00

khldragon commented 6 years ago

yes,I met the same issue. could anyone help?

FFY00 commented 6 years ago

Use SoapySDR with SoapyUHD.

barcating commented 5 years ago

I met the same issue.

barcating commented 5 years ago

Update LimeUtil to 18.10.0: LimeUtil –update

ab12038gg commented 1 year ago

Update LimeUtil to 18.10.0: LimeUtil –update

I met the same issue. However, LimeUtil –update didn't help, had you solved?