Hi
I was trying to install UHD and GNURADIO from pybombs but i get some mistakes. I executed the next command line
sudo pybombs install uhd gnuradio
and got the next mistakes:
[ 86%] Building CXX object gr-uhd/lib/CMakeFiles/gnuradio-uhd.dir/usrp_block_impl.cc.o
In file included from /usr/local/include/uhd/types/dict.hpp:148:0,
from /usr/local/include/uhd/types/device_addr.hpp:12,
from /usr/local/include/uhd/stream.hpp:13,
from /usr/local/include/uhd/device.hpp:12,
from /usr/local/include/uhd/usrp/multi_usrp.hpp:27,
from /usr/local/src/gnuradio/gr-uhd/include/gnuradio/uhd/usrp_block.h:28,
from /usr/local/src/gnuradio/gr-uhd/lib/usrp_block_impl.h:26,
from /usr/local/src/gnuradio/gr-uhd/lib/usrp_block_impl.cc:23:
/usr/local/include/uhd/types/dict.ipp: In member function 'bool uhd::dict<Key, Val>::operator==(const uhd::dict<Key, Val>&) const':
/usr/local/include/uhd/types/dict.ipp:121:38: error: request for member 'first' in 'p', which is of non-class type 'int'
if (not (other.has_key(p.first) and other.get(p.first) == p.second)
^
/usr/local/include/uhd/types/dict.ipp:121:61: error: request for member 'first' in 'p', which is of non-class type 'int'
if (not (other.has_key(p.first) and other.get(p.first) == p.second)
^
/usr/local/include/uhd/types/dict.ipp:121:73: error: request for member 'second' in 'p', which is of non-class type 'int'
if (not (other.has_key(p.first) and other.get(p.first) == p.second)){
^
gr-uhd/lib/CMakeFiles/gnuradio-uhd.dir/build.make:62: fallo en las instrucciones para el objetivo 'gr-uhd/lib/CMakeFiles/gnuradio-uhd.dir/usrp_block_impl.cc.o'
make[2]: *** [gr-uhd/lib/CMakeFiles/gnuradio-uhd.dir/usrp_block_impl.cc.o] Error 1
CMakeFiles/Makefile2:13185: fallo en las instrucciones para el objetivo 'gr-uhd/lib/CMakeFiles/gnuradio-uhd.dir/all'
make[1]: *** [gr-uhd/lib/CMakeFiles/gnuradio-uhd.dir/all] Error 2
Makefile:160: fallo en las instrucciones para el objetivo 'all'
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.
does anyone know solving this mistake?
Thanks
I was trying to install UHD and GNURADIO from pybombs but i get some mistakes. I executed the next command line
sudo pybombs install uhd gnuradio
and got the next mistakes:
[ 86%] Building CXX object gr-uhd/lib/CMakeFiles/gnuradio-uhd.dir/usrp_block_impl.cc.o
In file included from /usr/local/include/uhd/types/dict.hpp:148:0,
from /usr/local/include/uhd/types/device_addr.hpp:12,
from /usr/local/include/uhd/stream.hpp:13,
from /usr/local/include/uhd/device.hpp:12,
from /usr/local/include/uhd/usrp/multi_usrp.hpp:27,
from /usr/local/src/gnuradio/gr-uhd/include/gnuradio/uhd/usrp_block.h:28,
from /usr/local/src/gnuradio/gr-uhd/lib/usrp_block_impl.h:26,
from /usr/local/src/gnuradio/gr-uhd/lib/usrp_block_impl.cc:23:
/usr/local/include/uhd/types/dict.ipp: In member function 'bool uhd::dict<Key, Val>::operator==(const uhd::dict<Key, Val>&) const':
/usr/local/include/uhd/types/dict.ipp:121:38: error: request for member 'first' in 'p', which is of non-class type 'int'
if (not (other.has_key(p.first) and other.get(p.first) == p.second)
^
/usr/local/include/uhd/types/dict.ipp:121:61: error: request for member 'first' in 'p', which is of non-class type 'int'
if (not (other.has_key(p.first) and other.get(p.first) == p.second)
^
/usr/local/include/uhd/types/dict.ipp:121:73: error: request for member 'second' in 'p', which is of non-class type 'int'
if (not (other.has_key(p.first) and other.get(p.first) == p.second)){
^
gr-uhd/lib/CMakeFiles/gnuradio-uhd.dir/build.make:62: fallo en las instrucciones para el objetivo 'gr-uhd/lib/CMakeFiles/gnuradio-uhd.dir/usrp_block_impl.cc.o'
make[2]: *** [gr-uhd/lib/CMakeFiles/gnuradio-uhd.dir/usrp_block_impl.cc.o] Error 1
CMakeFiles/Makefile2:13185: fallo en las instrucciones para el objetivo 'gr-uhd/lib/CMakeFiles/gnuradio-uhd.dir/all'
make[1]: *** [gr-uhd/lib/CMakeFiles/gnuradio-uhd.dir/all] Error 2
Makefile:160: fallo en las instrucciones para el objetivo 'all'
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.
does anyone know solving this mistake?
Thanks
I am having this same problem with a direct cmake build.
ReplyDelete