Thank you Marcus,
"apt-get build-dep gnuradio" did indeed install several other packages,
but gnuradio-companion was excluded from compilation. I can repeat that
compile attempt and report the cmake output/errors if needed, but I
attempted the pybombs approach with some errors.
If this forum allows attachments, the errors are in the attached file
with CRLF in case anyone needs those. Even though libuhd-dev is
installed I chose to use the source offering, so I'm not sure why that
fails in the python script.
On 09/30/2018 03:01 PM, Marcus Müller wrote:
> Hi Tony,
>
> this shouldn't be happening.
> Did you try `apt-get build-dep gnuradio` ?
> If that doesn't help, can you share your complete cmake output with us?
>
> Best regards,
> Marcus
> On Wed, 2018-09-26 at 23:16 +0000, Tony wrote:
>> Greetings,
>>
>> Using Debian 9 "Stretch" and the 20180925 github gnuradio, I've
>> installed libboost-dev but am still achieving "Dependency Boost_FOUND
>> =
>> 0" errors on all components during Makefile-configuration with
>> "cmake
>> -DCMAKE_INSTALL_PREFIX=$HOME .. ".
>>
>> I also get the same problem after compiling
>> https://sourceforge.net/projects/boost/ which reports:
>> ...
>> The Boost C++ Libraries were successfully built!
>> The following directory should be added to compiler include paths:
>> /home/me/src/boost_1_66_0
>> The following directory should be added to linker library paths:
>> /home/me/src/boost_1_66_0/stage/lib
>>
>> ... and invoking "cmake -DCMAKE_INSTALL_PREFIX=$HOME
>> -DBoost_INCUDE_DIR=/home/me/src/boost_1_66_0
>> -DBoost_LIBRARY_DIRS=/home/me/src/boost_1_66_0/stage/lib .."
>>
>> How to get it to recognize either the installed or the compiled
>> Boost
>> dependencies, please?
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> [email protected]
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
...
[ 89%] Linking CXX shared module _trellis_swig0.so
[ 89%] Built target _trellis_swig0
[ 89%] Built target pygen_gr_trellis_python_trellis_a71ba
[ 89%] Built target pygen_gr_trellis_examples_python_c4b2e
[ 89%] Built target gnuradio-uhd
[ 89%] Built target tags_demo
[ 89%] Built target _uhd_swig_doc_tag
[ 89%] Built target uhd_swig_swig_doc
[ 89%] Built target _uhd_swig_swig_tag
[ 89%] Built target uhd_swig_gr_uhd_swig_5e3ce
[ 89%] Built target pygen_gr_uhd_swig_5fcaa
[ 89%] Building CXX object
gr-uhd/swig/CMakeFiles/_uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o
/home/tross/prefix/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx: In
function âPyObject* _wrap_time_spec_t_get_system_time(PyObject*,
PyObject*)â:
/home/tross/prefix/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:20194:16:
error: âget_system_timeâ is not a member of âuhd::time_spec_tâ
result = uhd::time_spec_t::get_system_time();
^~~
/home/tross/prefix/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx: In
function âPyObject* _wrap_dboard_iface_set_gpio_debug(PyObject*, PyObject*,
PyObject*)â:
/home/tross/prefix/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:28428:15:
error: âclass uhd::usrp::dboard_ifaceâ has no member named
âset_gpio_debugâ; did you mean âset_gpio_ddrâ?
(arg1)->set_gpio_debug(arg2,arg3);
^~~~~~~~~~~~~~
/home/tross/prefix/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx: In
function âPyObject* _wrap_dboard_iface_sptr_set_gpio_debug(PyObject*,
PyObject*, PyObject*)â:
/home/tross/prefix/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:29794:16:
error: âclass uhd::usrp::dboard_ifaceâ has no member named
âset_gpio_debugâ; did you mean âset_gpio_ddrâ?
(*arg1)->set_gpio_debug(arg2,arg3);
^~~~~~~~~~~~~~
/home/tross/prefix/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx: In
function âvoid init_uhd_swig()â:
/home/tross/prefix/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:50154: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/tross/prefix/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:50155: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/tross/prefix/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:50156: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/tross/prefix/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:50157: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)));
^~~
gr-uhd/swig/CMakeFiles/_uhd_swig.dir/build.make:70: recipe for target
'gr-uhd/swig/CMakeFiles/_uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o' failed
make[2]: *** [gr-uhd/swig/CMakeFiles/_uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o]
Error 1
CMakeFiles/Makefile2:15167: recipe for target
'gr-uhd/swig/CMakeFiles/_uhd_swig.dir/all' failed
make[1]: *** [gr-uhd/swig/CMakeFiles/_uhd_swig.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
[ERROR] Build failed. See output above for error messages.
[ERROR] Problem occurred while building package gnuradio:
Build failed.
[ERROR] Error installing package gnuradio. Aborting.
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio