Cmake can't find 'gnuradio-runtime'

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

[email protected]:~/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
Sent from the GnuRadio mailing list archive at Nabble.com.

Which GNU Radio version do you have installed?

M

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
Sent from the GnuRadio mailing list archive at Nabble.com.

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

On Thu, Mar 19, 2015 at 3:31 PM, rohin [email protected] 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

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

/[email protected]:~/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
Sent from the GnuRadio mailing list archive at Nabble.com.

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
[email protected]
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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs