discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNURadio make from source failed


From: Đình Tuấn Hoàng
Subject: GNURadio make from source failed
Date: Tue, 8 Dec 2020 14:55:01 +0900

Hi,
I'm trying to install GNURadio 3.8 after successful installation of UHD 4.0
but I always got the problem like below:

_/home/pc/test/gnuradio/build/gr-uhd/swig/CMakeFiles/uhd_swig.dir/uhd_swigPYTHON_wrap.cxx: In function ‘PyObject* _wrap_i2c_iface_eeprom16(PyObject*, PyObject*)’:
/home/pc/test/gnuradio/build/gr-uhd/swig/CMakeFiles/uhd_swig.dir/uhd_swigPYTHON_wrap.cxx:30566:33: error: no match for ‘operator=’ (operand types are ‘SwigValueWrapper<boost::shared_ptruhd::i2c_iface >’ and ‘uhd::i2c_iface::sptr {aka std::shared_ptruhd::i2c_iface}’)
result = (arg1)->eeprom16();
^
/home/pc/test/gnuradio/build/gr-uhd/swig/CMakeFiles/uhd_swig.dir/uhd_swigPYTHON_wrap.cxx:32:21: note: candidate: SwigValueWrapper& SwigValueWrapper::operator=(const SwigValueWrapper&) [with T = boost::shared_ptruhd::i2c_iface]
SwigValueWrapper& operator=(const SwigValueWrapper& rhs);
^~~~~~~~
/home/pc/test/gnuradio/build/gr-uhd/swig/CMakeFiles/uhd_swig.dir/uhd_swigPYTHON_wrap.cxx:32:21: note: no known conversion for argument 1 from ‘uhd::i2c_iface::sptr {aka std::shared_ptruhd::i2c_iface}’ to ‘const SwigValueWrapper<boost::shared_ptruhd::i2c_iface >&’
/home/pc/test/gnuradio/build/gr-uhd/swig/CMakeFiles/uhd_swig.dir/uhd_swigPYTHON_wrap.cxx:36:21: note: candidate: SwigValueWrapper& SwigValueWrapper::operator=(const T&) [with T = boost::shared_ptruhd::i2c_iface]
SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return this; }
^~~~~~~~
/home/pc/test/gnuradio/build/gr-uhd/swig/CMakeFiles/uhd_swig.dir/uhd_swigPYTHON_wrap.cxx:36:21: note: no known conversion for argument 1 from ‘uhd::i2c_iface::sptr {aka std::shared_ptruhd::i2c_iface}’ to ‘const boost::shared_ptruhd::i2c_iface&’
/home/pc/test/gnuradio/build/gr-uhd/swig/CMakeFiles/uhd_swig.dir/uhd_swigPYTHON_wrap.cxx:30576:109: error: invalid static_cast from type ‘SwigValueWrapper<boost::shared_ptruhd::i2c_iface >’ to type ‘const sptr& {aka const std::shared_ptruhd::i2c_iface&}’
resultobj = SWIG_NewPointerObj((new uhd::i2c_iface::sptr(static_cast< const uhd::i2c_iface::sptr& >(result))), SWIGTYPE_p_boost__shared_ptrT_uhd__i2c_iface_t, SWIG_POINTER_OWN | 0 );
^
/home/pc/test/gnuradio/build/gr-uhd/swig/CMakeFiles/uhd_swig.dir/uhd_swigPYTHON_wrap.cxx:1191:89: note: in definition of macro ‘SWIG_NewPointerObj’
#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
^~~
/home/pc/test/gnuradio/build/gr-uhd/swig/CMakeFiles/uhd_swig.dir/uhd_swigPYTHON_wrap.cxx: In function ‘PyObject
 wrap_dboard_iface_sptr_eeprom16(PyObject*, PyObject*)’:
/home/pc/test/gnuradio/build/gr-uhd/swig/CMakeFiles/uhd_swig.dir/uhd_swigPYTHON_wrap.cxx:36426:34: error: no match for ‘operator=’ (operand types are ‘SwigValueWrapper<boost::shared_ptruhd::i2c_iface >’ and ‘uhd::i2c_iface::sptr {aka std::shared_ptruhd::i2c_iface}’)
result = (*arg1)->eeprom16();
^
/home/pc/test/gnuradio/build/gr-uhd/swig/CMakeFiles/uhd_swig.dir/uhd_swigPYTHON_wrap.cxx:32:21: note: candidate: SwigValueWrapper& SwigValueWrapper::operator=(const SwigValueWrapper&) [with T = boost::shared_ptruhd::i2c_iface]
SwigValueWrapper& operator=(const SwigValueWrapper& rhs);
^~~~~~~~
/home/pc/test/gnuradio/build/gr-uhd/swig/CMakeFiles/uhd_swig.dir/uhd_swigPYTHON_wrap.cxx:32:21: note: no known conversion for argument 1 from ‘uhd::i2c_iface::sptr {aka std::shared_ptruhd::i2c_iface}’ to ‘const SwigValueWrapper<boost::shared_ptruhd::i2c_iface >&’
/home/pc/test/gnuradio/build/gr-uhd/swig/CMakeFiles/uhd_swig.dir/uhd_swigPYTHON_wrap.cxx:36:21: note: candidate: SwigValueWrapper& SwigValueWrapper::operator=(const T&) [with T = boost::shared_ptruhd::i2c_iface]
SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
^~~~~~~~
/home/pc/test/gnuradio/build/gr-uhd/swig/CMakeFiles/uhd_swig.dir/uhd_swigPYTHON_wrap.cxx:36:21: note: no known conversion for argument 1 from ‘uhd::i2c_iface::sptr {aka std::shared_ptruhd::i2c_iface}’ to ‘const boost::shared_ptruhd::i2c_iface&’
/home/pc/test/gnuradio/build/gr-uhd/swig/CMakeFiles/uhd_swig.dir/uhd_swigPYTHON_wrap.cxx:36436:109: error: invalid static_cast from type ‘SwigValueWrapper<boost::shared_ptruhd::i2c_iface >’ to type ‘const sptr& {aka const std::shared_ptruhd::i2c_iface&}’
resultobj = SWIG_NewPointerObj((new uhd::i2c_iface::sptr(static_cast< const uhd::i2c_iface::sptr& >(result))), SWIGTYPE_p_boost__shared_ptrT_uhd__i2c_iface_t, SWIG_POINTER_OWN | 0 );
^
/home/pc/test/gnuradio/build/gr-uhd/swig/CMakeFiles/uhd_swig.dir/uhd_swigPYTHON_wrap.cxx:1191:89: note: in definition of macro ‘SWIG_NewPointerObj’
#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
gr-uhd/swig/CMakeFiles/uhd_swig.dir/build.make:62: recipe for target 'gr-uhd/swig/CMakeFiles/uhd_swig.dir/CMakeFiles/uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o' failed
make[2]: *** [gr-uhd/swig/CMakeFiles/uhd_swig.dir/CMakeFiles/uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o] Error 1
CMakeFiles/Makefile2:11163: recipe for target 'gr-uhd/swig/CMakeFiles/uhd_swig.dir/all' failed
make[1]: *** [gr-uhd/swig/CMakeFiles/uhd_swig.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

Could anyone help me with my problem?
My purpose here is using RFNoC with USRP, so I have to install UHD 4.0, GNURadio 3.8 and gr_ettus too.
Thank you for spending time on my topic!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]