Forum: GNU Radio cmake and Fedora 20

0aef7c63826c1b9589aa2a6de17c5050?d=identicon&s=25 fnguyen (Guest)
on 2014-06-13 16:47
(Received via mailing list)
Hello All,
I'm working on the Out-of-Tree Module tutorial to ensure that my
install of GNU Radio (3.7.3) on Fedora 20 (64bit) is working properly
(as I am more accustomed to working on Ubuntu). Alas, when I run CMake
on the tutorial code, I receive the following error. I believe it has
something to do with setting the correct path to GNURadio and CMake, but
I'm not entirely sure.

-------------------------------------------------------
-- Build type not specified: defaulting to release.
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   filesystem
--   system
-- checking for module 'cppunit'
--   package 'cppunit' not found
-- Could NOT find CPPUNIT (missing:  CPPUNIT_INCLUDE_DIRS)
CMake Error at CMakeLists.txt:93 (find_package):
   By not providing "FindGnuradio.cmake" in CMAKE_MODULE_PATH this
project has
   asked CMake to find a package configuration file provided by
"Gnuradio",
   but CMake did not find one.

   Could not find a package configuration file provided by "Gnuradio"
   (requested version 3.7.2) with any of the following names:

     GnuradioConfig.cmake
     gnuradio-config.cmake

   Add the installation prefix of "Gnuradio" to CMAKE_PREFIX_PATH or set
   "Gnuradio_DIR" to a directory containing one of the above files.  If
   "Gnuradio" provides a separate development package or SDK, be sure it
has
   been installed.


-- Configuring incomplete, errors occurred!
See also
"/home/gnuradio/GRC_Modules/gr-howto/build/CMakeFiles/CMakeOutput.log".
608900c445a2524cffd9b1297a66d96d?d=identicon&s=25 Sid Boyce (Guest)
on 2014-06-13 17:20
(Received via mailing list)
"yum install cppunit cppunit-devel".
Regards
Sid.

On 13/06/14 15:46, fnguyen wrote:
> -- Boost version: 1.54.0
> "Gnuradio",
>   "Gnuradio" provides a separate development package or SDK, be sure
>
> Thanks in advance,
> Francis Nguyen
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>


--
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
0aef7c63826c1b9589aa2a6de17c5050?d=identicon&s=25 fnguyen (Guest)
on 2014-06-13 18:26
(Received via mailing list)
Hi Sid,
Thanks for your help. It resolved the 'Could not find CPPUNIT' issue,
but the errors that follow are still present (CMake Error...).

Thanks again,
Francis
608900c445a2524cffd9b1297a66d96d?d=identicon&s=25 Sid Boyce (Guest)
on 2014-06-13 23:49
(Received via mailing list)
I just cloned a git version of gnuradio and those files are part of the
source.
slipstream:/usr/src/XXX/1/gnuradio # ls -l
cmake/Modules/GnuradioConfig.cmake cmake/Modules/FindGnuradio.cmake
-rw-r--r-- 1 root root 4805 Jun 13 21:11
cmake/Modules/FindGnuradio.cmake
-rw-r--r-- 1 root root 5551 Jun 13 21:11
cmake/Modules/GnuradioConfig.cmake
73 ... Sid.

On 13/06/14 17:25, fnguyen wrote:
>> "yum install cppunit cppunit-devel".
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>


--
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
C539637020fd56193dd6daec746c4a84?d=identicon&s=25 Tom Rondeau (Guest)
on 2014-06-13 23:57
(Received via mailing list)
On Fri, Jun 13, 2014 at 5:48 PM, Sid Boyce <g3vbv@blueyonder.co.uk>
wrote:

> I just cloned a git version of gnuradio and those files are part of the
> source.
> slipstream:/usr/src/XXX/1/gnuradio # ls -l cmake/Modules/GnuradioConfig.cmake
> cmake/Modules/FindGnuradio.cmake
> -rw-r--r-- 1 root root 4805 Jun 13 21:11 cmake/Modules/FindGnuradio.cmake
> -rw-r--r-- 1 root root 5551 Jun 13 21:11 cmake/Modules/GnuradioConfig.
> cmake
> 73 ... Sid.


See this as well:

http://gnuradio.org/redmine/projects/gnuradio/wiki...


Make sure you're setting up your project as discussed on that wiki. What
Sid points out is that there is both a FindGnuradio and GnuradioConfig
cmake script. The FindGnuradio is older and will be removed in the next
version and we will only have the GnuradioConfig script from then on.

Tom
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.