# Cmake can't find 'gnuradio-runtime'

**URL:** <https://www.ruby-forum.com/t/cmake-cant-find-gnuradio-runtime/234428>\
**Category:** GNU Radio\
**Created:** [March 4, 2015, 1:46am UTC](https://www.ruby-forum.com/t/cmake-cant-find-gnuradio-runtime/234428 "2015-03-04T01:46:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [March 4, 2015, 1:46am UTC](https://www.ruby-forum.com/t/cmake-cant-find-gnuradio-runtime/234428/1 "2015-03-04T01:46:32Z")

</div>

Greetings  
I am also new in the gnuradio and recently I am working with him. I am  
flowing the instruction tutorial in [gnuradio.org](http://gnuradio.org) but when I am going to  
bulid my out of tree using cmake …/ He gives me the following error:

jrbosch@CM6AJR:~/Documents/gnuradio/tutorials/work/out\_of\_tree/gr-tutorial/build$  
cmake …/  
– The CXX compiler identification is GNU 4.8.2  
– The C compiler identification is GNU 4.8.2  
– 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’  
– package ‘gnuradio-runtime’ not found  
– Could NOT find GNURADIO\_RUNTIME (missing: GNURADIO\_RUNTIME\_LIBRARIES)  
– 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 tutorial

– Configuring incomplete, errors occurred!  
See also  
“/home/jrbosch/Documents/gnuradio/tutorials/work/out\_of\_tree/gr-tutorial/build/CMakeFiles/CMakeOutput.log”.

I have installed the gnuradio of Ubuntu’s repositories and I have  
installed  
the library libgnuradio-runtime of ubuntu’s repositories too. About  
gunradio-runtime there is nothing more to install in my synaptic  
If somebody would explain me what do I have not enough to install or  
what is  
the cause of the problem I would thank him.  
Excuse me my english, It is not good.

–  
View this message in context:  
[http://gnuradio.4.n7.nabble.com/cmake-can-t-find-gnuradio-runtime-tp52539.html](http://gnuradio.4.n7.nabble.com/cmake-can-t-find-gnuradio-runtime-tp52539.html)  
Sent from the GnuRadio mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![javier](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9dc877/32.png) [@javier](https://www.ruby-forum.com/u/javier)\
**Post date:** [March 4, 2015, 4:43am UTC](https://www.ruby-forum.com/t/cmake-cant-find-gnuradio-runtime/234428/2 "2015-03-04T04:43:49Z")

</div>

Which GNU Radio version do you have installed?

M

---

<div class="post-metadata">

**Author:** ![javier](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9dc877/32.png) [@javier](https://www.ruby-forum.com/u/javier)\
**Post date:** [March 4, 2015, 5:16am UTC](https://www.ruby-forum.com/t/cmake-cant-find-gnuradio-runtime/234428/3 "2015-03-04T05:16:07Z")

</div>

I have installed the version 3.7.2.1 which is in the ubuntu 14.04 's  
repos.

–  
View this message in context:  
[http://gnuradio.4.n7.nabble.com/cmake-can-t-find-gnuradio-runtime-tp52539p52541.html](http://gnuradio.4.n7.nabble.com/cmake-can-t-find-gnuradio-runtime-tp52539p52541.html)  
Sent from the GnuRadio mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![javier](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9dc877/32.png) [@javier](https://www.ruby-forum.com/u/javier)\
**Post date:** [March 4, 2015, 9:30am UTC](https://www.ruby-forum.com/t/cmake-cant-find-gnuradio-runtime/234428/4 "2015-03-04T09:30:24Z")

</div>

Hi Javier,

can you run  
“gnuradio-config-info --version” for us,  
as well as  
“which gr\_modtool”, and copy & paste the output of these commands into  
an email?

Greetings,  
Marcus

---

<div class="post-metadata">

**Author:** ![javier](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9dc877/32.png) [@javier](https://www.ruby-forum.com/u/javier)\
**Post date:** [March 19, 2015, 9:00pm UTC](https://www.ruby-forum.com/t/cmake-cant-find-gnuradio-runtime/234428/5 "2015-03-19T21:00:59Z")

</div>

On Thu, Mar 19, 2015 at 3:31 PM, rohin [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> # – [/usr/share/cmake-2.8/Modules/FindBoost.cmake:492] – [/usr/share/cmake-2.8/Modules/FindBoost.cmake:500]
> 
> boost 1.54.0  
> – [/usr/share/cmake-2.8/Modules/FindBoost.cmake:859]  
> SYSTEM\_LIBRARY\_RELEASE:  
> – system  
> – Configuring incomplete, errors occurred!  
> and when i ran /which gr\_modtool/ i got -/ /usr/bin/gr\_modtool/
> 
> what should i do next?

You’ll have to explain how you installed GNU Radio. In order to build an  
OOT module against GNU Radio, you’ll need to make sure you have the dev  
packages installed. If you installed using apt-get, make sure you have  
installed gnuradio-dev, not just gnuradio.

Similarly, this sounds like you also have not installed cppunit, and  
again,  
you’ll need the dev package: libcppunit-dev.

Tom

---

<div class="post-metadata">

**Author:** ![javier](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9dc877/32.png) [@javier](https://www.ruby-forum.com/u/javier)\
**Post date:** [March 19, 2015, 8:45pm UTC](https://www.ruby-forum.com/t/cmake-cant-find-gnuradio-runtime/234428/6 "2015-03-19T20:45:31Z")

</div>

hello

i got the exact same error

i am following the guidlines given for OOT module given here-  
[http://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModules](http://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModules)

# /rohin@rohin-Inspiron-5520:~/gr-howto/build$ cmake ../ – Build type not specified: defaulting to release. – [/usr/share/cmake-2.8/Modules/FindBoost.cmake:492] \_boost\_TEST\_VERSIONS

# 1.35.0;1.35;1.36.0;1.36;1.37.0;1.37;1.38.0;1.38;1.39.0;1.39;1.40.0;1.40;1.41.0;1.41;1.42.0;1.42;1.43.0;1.43;1.44.0;1.44;1.45.0;1.45;1.46.0;1.46;1.47.0;1.47;1.48.0;1.48;1.49.0;1.49;1.50.0;1.50;1.51.0;1.51;1.52.0;1.52;1.53.0;1.53;1.54.0;1.54;1.55.0;1.55;1.56.0;1.56;1.57.0;1.57;1.58.0;1.58;1.59.0;1.59;1.60.0;1.60;1.61.0;1.61;1.62.0;1.62;1.63.0;1.63;1.64.0;1.64;1.65.0;1.65;1.66.0;1.66;1.67.0;1.67;1.68.0;1.68;1.69.0;1.69;1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53;1.52.0;1.52;1.51.0;1.51;1.50.0;1.50;1.49.0;1.49;1.48.0;1.48;1.47.0;1.47;1.46.1;1.46.0;1.46;1.45.0;1.45;1.44.0;1.44;1.43.0;1.43;1.42.0;1.42;1.41.0;1.41;1.40.0;1.40;1.39.0;1.39;1.38.0;1.38;1.37.0;1.37;1.36.1;1.36.0;1.36;1.35.1;1.35.0;1.35 – [/usr/share/cmake-2.8/Modules/FindBoost.cmake:494] Boost\_USE\_MULTITHREADED = TRUE – [/usr/share/cmake-2.8/Modules/FindBoost.cmake:496] Boost\_USE\_STATIC\_LIBS = – [/usr/share/cmake-2.8/Modules/FindBoost.cmake:498] Boost\_USE\_STATIC\_RUNTIME = – [/usr/share/cmake-2.8/Modules/FindBoost.cmake:500] Boost\_ADDITIONAL\_VERSIONS = 1.35.0;1.35;1.36.0;1.36;1.37.0;1.37;1.38.0;1.38;1.39.0;1.39;1.40.0;1.40;1.41.0;1.41;1.42.0;1.42;1.43.0;1.43;1.44.0;1.44;1.45.0;1.45;1.46.0;1.46;1.47.0;1.47;1.48.0;1.48;1.49.0;1.49;1.50.0;1.50;1.51.0;1.51;1.52.0;1.52;1.53.0;1.53;1.54.0;1.54;1.55.0;1.55;1.56.0;1.56;1.57.0;1.57;1.58.0;1.58;1.59.0;1.59;1.60.0;1.60;1.61.0;1.61;1.62.0;1.62;1.63.0;1.63;1.64.0;1.64;1.65.0;1.65;1.66.0;1.66;1.67.0;1.67;1.68.0;1.68;1.69.0;1.69 – [/usr/share/cmake-2.8/Modules/FindBoost.cmake:502] Boost\_NO\_SYSTEM\_PATHS = – [/usr/share/cmake-2.8/Modules/FindBoost.cmake:554] Declared as CMake or Environmental Variables: – [/usr/share/cmake-2.8/Modules/FindBoost.cmake:556] BOOST\_ROOT = – [/usr/share/cmake-2.8/Modules/FindBoost.cmake:558] BOOST\_INCLUDEDIR = – [/usr/share/cmake-2.8/Modules/FindBoost.cmake:560] BOOST\_LIBRARYDIR = – [/usr/share/cmake-2.8/Modules/FindBoost.cmake:562] \_boost\_TEST\_VERSIONS

1.35.0;1.35;1.36.0;1.36;1.37.0;1.37;1.38.0;1.38;1.39.0;1.39;1.40.0;1.40;1.41.0;1.41;1.42.0;1.42;1.43.0;1.43;1.44.0;1.44;1.45.0;1.45;1.46.0;1.46;1.47.0;1.47;1.48.0;1.48;1.49.0;1.49;1.50.0;1.50;1.51.0;1.51;1.52.0;1.52;1.53.0;1.53;1.54.0;1.54;1.55.0;1.55;1.56.0;1.56;1.57.0;1.57;1.58.0;1.58;1.59.0;1.59;1.60.0;1.60;1.61.0;1.61;1.62.0;1.62;1.63.0;1.63;1.64.0;1.64;1.65.0;1.65;1.66.0;1.66;1.67.0;1.67;1.68.0;1.68;1.69.0;1.69;1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53;1.52.0;1.52;1.51.0;1.51;1.50.0;1.50;1.49.0;1.49;1.48.0;1.48;1.47.0;1.47;1.46.1;1.46.0;1.46;1.45.0;1.45;1.44.0;1.44;1.43.0;1.43;1.42.0;1.42;1.41.0;1.41;1.40.0;1.40;1.39.0;1.39;1.38.0;1.38;1.37.0;1.37;1.36.1;1.36.0;1.36;1.35.1;1.35.0;1.35  
– [/usr/share/cmake-2.8/Modules/FindBoost.cmake:655] location of  
version.hpp: /usr/include/boost/version.hpp  
– [/usr/share/cmake-2.8/Modules/FindBoost.cmake:679] version.hpp  
reveals  
boost 1.54.0  
– [/usr/share/cmake-2.8/Modules/FindBoost.cmake:755] guessed  
\_boost\_COMPILER = -gcc48  
– [/usr/share/cmake-2.8/Modules/FindBoost.cmake:765]  
\_boost\_MULTITHREADED  
= -mt  
– [/usr/share/cmake-2.8/Modules/FindBoost.cmake:808]  
\_boost\_RELEASE\_ABI\_TAG = -  
– [/usr/share/cmake-2.8/Modules/FindBoost.cmake:810]  
\_boost\_DEBUG\_ABI\_TAG  
= -d  
– [/usr/share/cmake-2.8/Modules/FindBoost.cmake:859]  
\_boost\_LIBRARY\_SEARCH\_DIRS = /usr/lib/i386-linux-gnu;NO\_DEFAULT\_PATH  
– [/usr/share/cmake-2.8/Modules/FindBoost.cmake:947] Searching for  
FILESYSTEM\_LIBRARY\_RELEASE:  
boost\_filesystem-gcc48-mt-1\_54;boost\_filesystem-gcc48-mt;boost\_filesystem-mt-1\_54;boost\_filesystem-mt;boost\_filesystem  
– [/usr/share/cmake-2.8/Modules/FindBoost.cmake:983] Searching for  
FILESYSTEM\_LIBRARY\_DEBUG:  
boost\_filesystem-gcc48-mt-d-1\_54;boost\_filesystem-gcc48-mt-d;boost\_filesystem-mt-d-1\_54;boost\_filesystem-mt-d;boost\_filesystem-mt;boost\_filesystem  
– [/usr/share/cmake-2.8/Modules/FindBoost.cmake:947] Searching for  
SYSTEM\_LIBRARY\_RELEASE:  
boost\_system-gcc48-mt-1\_54;boost\_system-gcc48-mt;boost\_system-mt-1\_54;boost\_system-mt;boost\_system  
– [/usr/share/cmake-2.8/Modules/FindBoost.cmake:983] Searching for  
SYSTEM\_LIBRARY\_DEBUG:  
boost\_system-gcc48-mt-d-1\_54;boost\_system-gcc48-mt-d;boost\_system-mt-d-1\_54;boost\_system-mt-d;boost\_system-mt;boost\_system  
– [/usr/share/cmake-2.8/Modules/FindBoost.cmake:1034] Boost\_FOUND = 1  
– Boost version: 1.54.0  
– Found the following Boost libraries:  
– filesystem  
– system  
– checking for module ‘gnuradio-runtime’  
– package ‘gnuradio-runtime’ not found  
– Could NOT find GNURADIO\_RUNTIME (missing:  
GNURADIO\_RUNTIME\_LIBRARIES)  
– checking for module ‘cppunit’  
– package ‘cppunit’ not found  
– Could NOT find CPPUNIT (missing: CPPUNIT\_INCLUDE\_DIRS)  
CMake Error at CMakeLists.txt:98 (message):  
GnuRadio Runtime required to compile howto

– Configuring incomplete, errors occurred!  
See also “/home/rohin/gr-howto/build/CMakeFiles/CMakeOutput.log”./

towards the end i am getting two error-  
_package ‘gnuradio-runtime’ not found_  
and  
_package ‘cppunit’ not found_

when i ran /gnuradio-config-info --version/ i got - /3.7.2.1/

and when i ran /which gr\_modtool/ i got -/ /usr/bin/gr\_modtool/

what should i do next?

–  
View this message in context:  
[http://gnuradio.4.n7.nabble.com/cmake-can-t-find-gnuradio-runtime-tp52539p52849.html](http://gnuradio.4.n7.nabble.com/cmake-can-t-find-gnuradio-runtime-tp52539p52849.html)  
Sent from the GnuRadio mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![javier](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9dc877/32.png) [@javier](https://www.ruby-forum.com/u/javier)\
**Post date:** [June 21, 2015, 6:12pm UTC](https://www.ruby-forum.com/t/cmake-cant-find-gnuradio-runtime/234428/7 "2015-06-21T18:12:03Z")

</div>

On 19/03/15 19:59, Tom R. wrote:

> ```
> -- [/usr/share/cmake-2.8/Modules/FindBoost.cmake:498]
> ? BOOST_ROOT =
> -- [/usr/share/cmake-2.8/Modules/FindBoost.cmake:679]
> _boost_DEBUG_ABI_TAG
> SYSTEM_LIBRARY_RELEASE:
> -- checking for module 'gnuradio-runtime'
> -- Configuring incomplete, errors occurred!
> 
> ```
> 
> Similarly, this sounds like you also have not installed cppunit, and  
> again, you’ll need the dev package: libcppunit-dev.
> 
> Tom  
> ?
> 
> * * *
> 
> Discuss-gnuradio mailing list  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [Discuss-gnuradio Info Page](https://lists.gnu.org/mailman/listinfo/discuss-gnuradio)  
> I have recently run into the same problem for the first time with  
> gnuradio built and installed from git clone source when building  
> gh-hpsdr on openSUSE x86\_64.  
> Konsole output  
> Konsole output  
> slipstream:/usr/src/XXX/gr-hpsdr/build #gnuradio-config-info -v  
> v3.7.7.1-166-g28f69a54

It is saying that it couldn’t find gnuradio-runtime.pc which “make  
install”  
Konsole output installed as - /usr/lib/pkgconfig/gnuradio-runtime.pc

Resolved as follows:-  
Konsole output  
slipstream:/usr/src/XXX/gr-hpsdr/build # export  
PKG\_CONFIG\_PATH=/usr/lib/pkgconfig

Konsole output  
slipstream:/usr/src/XXX/gr-hpsdr/build # cmake -Wno-dev  
-DCMAKE\_INSTALL\_PREFIX=/usr ..  
Konsole output  
slipstream:/usr/src/XXX/gr-hpsdr/build # make -j 8 && make -j 8 install  
73 … Sid.
