So, first thing’s first:
GNR version: 3.7.2.1 (from apt)
Ubuntu ver. 14.04
cmake ver: 2.8
…Now, I attempting to build gr-drm and it spits out this error on
cmake
…/
– checking for module ‘gnuradio-runtime’-- package
‘gnuradio-runtime’
not found * INCLUDES=GNURADIO_RUNTIME_INCLUDE_DIRS-NOTFOUND *
LIBS=GNURADIO_RUNTIME_LIBRARIES-NOTFOUND-- Could NOT find
GNURADIO_RUNTIME
(missing: GNURADIO_RUNTIME_LIBRARIES GNURADIO_RUNTIME_INCLUDE_DIRS)
GNURADIO_RUNTIME_FOUND = FALSECMake Error at
/usr/share/cmake-2.8/Modules/FindGnuradio.cmake:81 (message): Required
GNU
Radio Component: RUNTIME missing!Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindGnuradio.cmake:89 (GR_MODULE)
CMakeLists.txt:104 (find_package)-- Configuring incomplete, errors
occurred!
TL;DR: Trying to build module but it cannot find gnuradio, nor
gnuradio-ruintime and fails. Install prefix is /lib (?)
GNURadio also appears to be missing the FindGnuradio cmake files ax
well.
GNURadio itself works just fine. Any pointers on what’s going on?
jowijo
April 10, 2014, 7:47am
2
On Thu, Apr 10, 2014 at 12:40 AM, Jordan J.
[email protected] wrote:
INCLUDES=GNURADIO_RUNTIME_INCLUDE_DIRS-NOTFOUND
– Configuring incomplete, errors occurred!
TL;DR: Trying to build module but it cannot find gnuradio, nor
gnuradio-ruintime and fails. Install prefix is /lib (?)
GNURadio also appears to be missing the FindGnuradio cmake files ax well.
GNURadio itself works just fine. Any pointers on what’s going on?
gnuradio-runtime does not exist in 3.7. Basically this module isn’t
compatible with 3.7, you’ll have to either update the module or use
GNU Radio 3.6x
jowijo
April 10, 2014, 7:58am
3
Interesting. I never had this issue building in Arch Linux with 3.7.
I’m using the Stable branch:
On Wed, Apr 9, 2014 at 10:46 PM, West, Nathan
jowijo
April 10, 2014, 9:04am
4
gnuradio-runtime definitely exists in GR 3.7. Nathan
was probably thinking about gnuradio-core, which
has been deprecated.
Usually this issue is solved by setting PKG_CONFIG_PATH
to the directory that contains gnuradio-runtime.pc
Ron
jowijo
April 10, 2014, 9:58am
5
On 04/10/2014 07:40 AM, Jordan J. wrote:
INCLUDES=GNURADIO_RUNTIME_INCLUDE_DIRS-NOTFOUND
– Configuring incomplete, errors occurred!/
TL;DR: Trying to build module but it cannot find gnuradio, nor
gnuradio-ruintime and fails. Install prefix is /lib (?)
Is it /lib or /usr/lib? I guess the latter. Can you confirm all the .so
files are in the right place? I.e. libgnuradio-runtime.so?
Martin
jowijo
April 10, 2014, 10:54am
6
On Thu, Apr 10, 2014 at 7:40 AM, Jordan J. [email protected]
wrote:
INCLUDES=GNURADIO_RUNTIME_INCLUDE_DIRS-NOTFOUND
LIBS=GNURADIO_RUNTIME_LIBRARIES-NOTFOUND
– Could NOT find GNURADIO_RUNTIME (missing: GNURADIO_RUNTIME_LIBRARIES
GNURADIO_RUNTIME_INCLUDE_DIRS)
GNURADIO_RUNTIME_FOUND = FALSE
CMake Error at /usr/share/cmake-2.8/Modules/FindGnuradio.cmake:81 (message):
Required GNU Radio Component: RUNTIME missing!
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindGnuradio.cmake:89 (GR_MODULE)
CMakeLists.txt:104 (find_package)
Have you installed the gnuradio-dev package as well? (needed if you
compile against the libraries)
Alex
jowijo
April 10, 2014, 3:28pm
7
On Thursday, April 10, 2014, Ron E. [email protected] wrote:
gnuradio-runtime definitely exists in GR 3.7. Nathan
was probably thinking about gnuradio-core, which
has been deprecated.
Agh! Yes, apparently I need more more sleep. Apologies for the
misinformation , Jordan.
jowijo
April 10, 2014, 10:41am
8
Built from source and the problem seems solved. Oddly enough, this whole
out-of-tree cmake issues seem to be common from what Google results
showed
me.