HI ,
I was installing gnuradio on a new system today using the build-gnuradio script.
I encountered an unexpected error .
[ 85%] Building CXX object gr-uhd/swig/CMakeFiles/_uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o
/home/usrp-1/Documents/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx: In function ‘void init_uhd_swig()’:
/home/usrp-1/Documents/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:46693: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/usrp-1/Documents/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:46694: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/usrp-1/Documents/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:46695: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/usrp-1/Documents/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:46696: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
make failed
Exiting Gnu Radio build/install
So clearly there is something wrong with the SWIG installation I suppose. Also , this system had ROS installed while the system I had been working on did not have ROS installed.
Thanks