discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Problems building GNURadio on Ubuntu 12.04LTS


From: Josh Blum
Subject: Re: [Discuss-gnuradio] Problems building GNURadio on Ubuntu 12.04LTS
Date: Sun, 30 Sep 2012 17:43:52 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0


On 09/30/2012 05:39 PM, Berndt Josef Wulf wrote:
> G'day,
> 
> 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?
> 

I wonder how gnuradio got configured with uhd support? Thats actually
the one file the FindUHD.cmake looks for to confirm the header location:

FIND_PATH(
    UHD_INCLUDE_DIRS
    NAMES uhd/config.hpp
    HINTS $ENV{UHD_DIR}/include
        ${PC_UHD_INCLUDEDIR}
    PATHS /usr/local/include
          /usr/include
)

Thats just the first header it encounters. Theres probably some
installation issue. Can you post the ls <install prefix>/include/uhd/*

-josh

> 73, Berndt
> VK5ABN
> 
> 
> _______________________________________________
> 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]