discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Cmake can't find 'gnuradio-pmt'


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] Cmake can't find 'gnuradio-pmt'
Date: Wed, 25 Feb 2015 15:49:18 -0500

On Tue, Feb 24, 2015 at 7:23 PM, ben Gee <address@hidden> wrote:
Hello All:
      this is my first time on the list. I'm running gnuradio 3.7.6.1 with pybombs. I'm now trying to install OpenLTE which is dependent on Gnuradio and when it calls cmake to check for gnuradio's packages it can't find it. Originally, the 'FindGnuradio.cmake' file wasn't in the cmake/modules directory, so that was an easy fix, now it runs a little further, and this is the output:


-- Boost version: 1.54.0

-- Found the following Boost libraries:

--   system

Checking for GNU Radio Module: RUNTIME

 * INCLUDES=/home/cnlsdr1/pybombs/include

 * LIBS=/home/cnlsdr1/pybombs/lib/libgnuradio-runtime.so

GNURADIO_RUNTIME_FOUND = TRUE

Checking for GNU Radio Module: BLOCKS

 * INCLUDES=/home/cnlsdr1/pybombs/include

 * LIBS=/home/cnlsdr1/pybombs/lib/libgnuradio-blocks.so

GNURADIO_BLOCKS_FOUND = TRUE

Checking for GNU Radio Module: FILTER

 * INCLUDES=/home/cnlsdr1/pybombs/include

 * LIBS=/home/cnlsdr1/pybombs/lib/libgnuradio-filter.so

GNURADIO_FILTER_FOUND = TRUE

Checking for GNU Radio Module: PMT

-- checking for module 'gnuradio-pmt'

--   package 'gnuradio-pmt' not found

 * INCLUDES=GNURADIO_PMT_INCLUDE_DIRS-NOTFOUND

 * LIBS=GNURADIO_PMT_LIBRARIES-NOTFOUND

-- Could NOT find GNURADIO_PMT (missing:  GNURADIO_PMT_LIBRARIES GNURADIO_PMT_INCLUDE_DIRS) 

GNURADIO_PMT_FOUND = FALSE

CMake Error at /usr/share/cmake-2.8/Modules/FindGnuradio.cmake:97 (message):

  Required GNU Radio Component: PMT missing!

Call Stack (most recent call first):

  /usr/share/cmake-2.8/Modules/FindGnuradio.cmake:123 (GR_MODULE)

  CMakeLists.txt:92 (find_package)



-- Configuring incomplete, errors occurred!


I usually just figure this stuff out on my own or with the help of coworkers, but i figured i'd give the group a try.

Any help with this would be greatly appreciated.

Thanks,

-ben


It looks like there's some confusion in the configuration process. It looks like it's using FindGnuradio.cmake, which will be removed in the next API version update since we are now using the GnuradioConfig.cmake method of doing this. This shouldn't be a problem, but It looks like there might be a bug that's causing this because of the install and cmake paths.

Take a look at /usr/share/cmake-2.8/Modules/FindGnuradio.cmake and go to the very last line and make this substitution:

-GR_MODULE(PMT gnuradio-pmt pmt/pmt.h gnuradio-pmt)
+GR_MODULE(PMT gnuradio-runtime pmt/pmt.h gnuradio-pmt)

The PMT library is provided by gnuradio-runtime, so they are in the same package config info.

Tom




reply via email to

[Prev in Thread] Current Thread [Next in Thread]