[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] A basic question about writing OOT modules
From: |
Michael Dickens |
Subject: |
Re: [Discuss-gnuradio] A basic question about writing OOT modules |
Date: |
Wed, 11 May 2016 12:58:00 -0400 |
HI Franz - I'd guess that GNU Radio isn't installed, or not installed
into where CMake is installed & you're not telling CMake where to look.
FindGnuradio.cmake looks for GnuradioConfig.cmake, which is located in
some DIR/cmake/gnuradio directory. The DIR will be either PREFIX/lib or
PREFIX/share, where PREFIX might be /usr, /usr/local, /opt/local,
/sw/local, or the like. Unless you specifically tell CMake where to
look, it will default to whatever the CMake install prefix is ... Hope
this helps! - MLD
On Wed, May 11, 2016, at 12:32 PM, Franz Dworschak wrote:
> I have a strange problem writing OOT modules. On one PC it works quite
> well, on the other one I got an error message:
> ---------------------------------------------------------------------------
> -- Build type not specified: defaulting to release.
> -- Boost version: 1.55.0
> -- Found the following Boost libraries:
> -- filesystem
> -- system
> -- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
> -- checking for module 'cppunit'
> -- package 'cppunit' not found
> -- Could NOT find CPPUNIT (missing: CPPUNIT_INCLUDE_DIRS)
> -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
> CMake Error at CMakeLists.txt:94 (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/gert/gnuradio/gr-tutorial/build/CMakeFiles/CMakeOutput.log".
> See also
> "/home/gert/gnuradio/gr-tutorial/build/CMakeFiles/CMakeError.log".
>
> ------------------------------------------------------
>
> What do I miss here ?