discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] error using new PyBombs


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] error using new PyBombs
Date: Thu, 4 Aug 2016 18:19:17 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1

For some reason, if you have conflicting UHD versions installed, the
most common place for compilation to break is the swig'ging of the ATR
registers. So: Please make sure there's only one UHD that cmake / swig/
your compiler will find when building!

Best regards,

Marcus


On 04.08.2016 18:16, Jason Matusiak wrote:
> I was having some issues updating some of my stuff, so I decided to
> buckle down, and you the new pybombs to try to get my setup installed
> again.  It works for a while and then errors out on UHD:
> >>pybombs prefix init ~/pybombs -a myprefix -R gnuradio-default
> <<snip>>
> [ 86%] Building CXX object
> gr-uhd/swig/CMakeFiles/_uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o
> /home/jmat/pybombs/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:
> In function ‘PyObject* _wrap_dboard_iface_set_gpio_debug(PyObject*,
> PyObject*, PyObject*)’:
> /home/jmat/pybombs/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:26696:15:
> error: ‘class uhd::usrp::dboard_iface’ has no member named
> ‘set_gpio_debug’
>        (arg1)->set_gpio_debug(arg2,arg3);
>                ^
> /home/jmat/pybombs/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:
> In function ‘PyObject*
> _wrap_dboard_iface_sptr_set_gpio_debug(PyObject*, PyObject*, PyObject*)’:
> /home/jmat/pybombs/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:27979:16:
> error: ‘class uhd::usrp::dboard_iface’ has no member named
> ‘set_gpio_debug’
>        (*arg1)->set_gpio_debug(arg2,arg3);
>                 ^
> /home/jmat/pybombs/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:
> In function ‘void init_uhd_swig()’:
> /home/jmat/pybombs/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:47019:91:
> error: ‘ATR_REG_IDLE’ is not a member of ‘uhd::usrp::dboard_iface’
>    SWIG_Python_SetConstant(d,
> "dboard_iface_ATR_REG_IDLE",SWIG_From_int(static_cast< int
> >(uhd::usrp::dboard_iface::ATR_REG_IDLE)));
> ^
> /home/jmat/pybombs/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:47020:94:
> error: ‘ATR_REG_TX_ONLY’ is not a member of ‘uhd::usrp::dboard_iface’
>    SWIG_Python_SetConstant(d,
> "dboard_iface_ATR_REG_TX_ONLY",SWIG_From_int(static_cast< int
> >(uhd::usrp::dboard_iface::ATR_REG_TX_ONLY)));
> ^
> /home/jmat/pybombs/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:47021:94:
> error: ‘ATR_REG_RX_ONLY’ is not a member of ‘uhd::usrp::dboard_iface’
>    SWIG_Python_SetConstant(d,
> "dboard_iface_ATR_REG_RX_ONLY",SWIG_From_int(static_cast< int
> >(uhd::usrp::dboard_iface::ATR_REG_RX_ONLY)));
> ^
> /home/jmat/pybombs/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:47022:98:
> error: ‘ATR_REG_FULL_DUPLEX’ is not a member of ‘uhd::usrp::dboard_iface’
>    SWIG_Python_SetConstant(d,
> "dboard_iface_ATR_REG_FULL_DUPLEX",SWIG_From_int(static_cast< int
> >(uhd::usrp::dboard_iface::ATR_REG_FULL_DUPLEX)));
> ^
> make[2]: ***
> [gr-uhd/swig/CMakeFiles/_uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o] Error 1
> make[1]: *** [gr-uhd/swig/CMakeFiles/_uhd_swig.dir/all] Error 2
> make: *** [all] Error 2
> PyBOMBS.Packager.source - ERROR - Build failed. See output above for
> error messages.
> PyBOMBS.Packager.source - ERROR - Problem occurred while building
> package gnuradio:
> Build failed.
> PyBOMBS.install_manager - ERROR - Error installing package gnuradio.
> Aborting.
> <<end snip>>
>
> I assume I am having issues due to having stuff previously installed? 
> Is there a way around this?  Also, if I want to use the latest RFNoC
> branch in UHD, how am I going to need to check that out with the new
> pybombs2?
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio




reply via email to

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