I’ve downloaded today’s sources and tried to build GNURadio on Ubuntu
12.04LTS when I hit the following problem:
[ 85%] Built target pygen_gr_trellis_src_examples_python_cef97
[ 85%] Building CXX object
gr-uhd/lib/CMakeFiles/gnuradio-uhd.dir/gr_uhd_usrp_source.cc.o
In file included
from
/home/berndt/gnuradio/gnuradio/gr-uhd/include/gr_uhd_usrp_source.h:25:0,
from /home/berndt/gnuradio/gnuradio/gr-uhd/lib/gr_uhd_usrp_source.cc:22:
/home/berndt/gnuradio/gnuradio/gr-uhd/include/gr_uhd_api.h:25:26: fatal
error: uhd/config.hpp: No such file or directory
compilation terminated.
Searching the source tree, there indeed is no config.hpp. Is this file
generated during the configuration process?
from /home/berndt/gnuradio/gnuradio/gr-uhd/lib/gr_uhd_usrp_source.cc:22:
/home/berndt/gnuradio/gnuradio/gr-uhd/include/gr_uhd_api.h:25:26: fatal
error: uhd/config.hpp: No such file or directory
compilation terminated.
Searching the source tree, there indeed is no config.hpp. Is this file
generated during the configuration process?
I wonder how gnuradio got configured with uhd support? Thats actually
the one file the FindUHD.cmake looks for to confirm the header location:
Thats just the first header it encounters. Theres probably some
installation issue. Can you post the ls /include/uhd/*
I didn’t have uhd installed and hence /usr/{local,}/include/uhd don’t
exist.
Having said this, I had an older version installed, 3.5.2 if my memory
serves me correctly, which was de-installed prior to updating and
building the current source tree.
On Mon, 2012-10-01 at 10:36 +0930, Berndt Josef W. wrote:
${PC_UHD_INCLUDEDIR}
Having said this, I had an older version installed, 3.5.2 if my memory
serves me correctly, which was de-installed prior to updating and
building the current source tree.
I’ve installed UHD and gnuradio builds fine.
Many thanks for your help and pointing me into the right direction.
73, Berndt
VK5ABN
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.