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-runtime'


From: Sid Boyce
Subject: Re: [Discuss-gnuradio] cmake can't find 'gnuradio-runtime'
Date: Sun, 21 Jun 2015 17:10:38 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 19/03/15 19:59, Tom Rondeau wrote:
On Thu, Mar 19, 2015 at 3:31 PM, rohin <address@hidden> wrote:
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


/address@hidden:~/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?

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
 


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
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
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.
-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

reply via email to

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