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’ 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&’
/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’ 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’ 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&’/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’ 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'
failedmake[2]: ***
[gr-uhd/swig/CMakeFiles/uhd_swig.dir/CMakeFiles/uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o]
Error 1CMakeFiles/Makefile2:11163: recipe for target
'gr-uhd/swig/CMakeFiles/uhd_swig.dir/all' failedmake[1]: ***
[gr-uhd/swig/CMakeFiles/uhd_swig.dir/all] Error 2make[1]: *** Waiting for
unfinished jobs*
Could anyone help me with my problem?
My purpose