discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Problem with cmake not finding includes


From: Andrew Davis
Subject: Re: [Discuss-gnuradio] Problem with cmake not finding includes
Date: Fri, 23 Aug 2013 13:01:44 -0400

Wow, what a coincidence, I just ran into this problem this morning and was about to ask about it right before I saw your post, I too am having the exact same problem on xubuntu amd64. I have not done a git pull for a few days so this problem was not caused this morning by any commit if that helps. 

Thanks,
Andrew




On Fri, Aug 23, 2013 at 6:11 AM, <address@hidden> wrote:

Hi,

I'm porting my real time Doppler correction block from 3.6 to 3.7 but
have come across an issue that when I try to cmake it, I get an error
saying it cannot find the runtime includes. To replicate this I
created a new block ('howto') and tried to cmake that and got the same
error:

# gr_modtool newmod howto
Creating out-of-tree module in ./gr-howto... Done.
Use 'gr_modtool add' to add a new block to this currently empty module.

# cd gr-howto

# ls
apps  cmake  CMakeLists.txt  docs  grc  include  lib  python  swig

# mkdir build
# cd build/
# cmake ../
-- The CXX compiler identification is GNU 4.8.1
-- The C compiler identification is GNU 4.8.1
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Build type not specified: defaulting to release.
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   filesystem
--   system
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
-- checking for module 'gnuradio-runtime'
--   found gnuradio-runtime, version 3.7.0
-- Could NOT find GNURADIO_RUNTIME (missing:  GNURADIO_RUNTIME_INCLUDE_DIRS)
-- checking for module 'cppunit'
--   found cppunit, version 1.13.1
-- Found CPPUNIT: /usr/lib/x86_64-linux-gnu/libcppunit.so;dl
CMake Error at CMakeLists.txt:98 (message):
  GnuRadio Runtime required to compile howto


-- Configuring incomplete, errors occurred!


I've tried to figure out what cmake is actually looking for, but
quickly ran out of enthusiasm for trying to debug cmake
(--debug-output is of very limited help, and my usual method of
'strace' to see what files a process is actually looking for is
thwarted due to the use of pipes/subprocesses). If I look in
/usr/lib/cmake/gnuradio/GnuradioConfig.cmake I see that there is a
line:
GR_MODULE(RUNTIME gnuradio-runtime gnuradio/top_block.h gnuradio-runtime)
which to me implies that it might be looking for top_block.h to check
that runtime include are installed. If I do:

# ls -l /usr/include/gnuradio/top_block.h

-rw-r--r-- 1 root root 4822 Jun  9 20:44 /usr/include/gnuradio/top_block.h


I'm running debian unstable on amd64 with gnuradio-dev (3.7.0-5)
installed.

Any suggestions as to how to fix or debug this issue would be
gratefully received!

Thanks,

Matt

_______________________________________________
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]