discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Errors trying to build gr-radioteletype for versi


From: Barry Duggan
Subject: Re: [Discuss-gnuradio] Errors trying to build gr-radioteletype for version 3.8
Date: Thu, 05 Sep 2019 09:11:35 -0400
User-agent: Roundcube Webmail/1.3.8

Hi Michael,

I installed libcppunit-dev which resolved the "No package 'cppunit' found" error, but still get:

"""
CMake Error at CMakeLists.txt:143 (find_package):
  Could not find a configuration file for package "Gnuradio" that is
  compatible with requested version "3.7.2".

  The following configuration files were considered but not accepted:

/usr/local/lib/cmake/gnuradio/GnuradioConfig.cmake, version: 3.9.0.0-git

-- Configuring incomplete, errors occurred!
See also "/home/pi/gr-radioteletype/build/CMakeFiles/CMakeOutput.log".
"""

CMakeLists.txt line 143 says:
find_package(Gnuradio "3.7.2" REQUIRED)

should I change that to "3.8.0"? or "3.9.0"?

Thanks for your help.
---
Barry Duggan


On 2019-09-05 08:33, Michael Dickens wrote:
Hi Barry - The error is:
{{{
-- Checking for module 'cppunit'
--   No package 'cppunit' found
-- Could NOT find CPPUNIT (missing: CPPUNIT_INCLUDE_DIRS)
}}}
so ... please make sure CppUnit is installed. - MLD

On Wed, Sep 4, 2019 at 10:21 PM Barry Duggan <address@hidden> wrote:

I tried to build gr-radioteletype for version 3.8 and got the following
errors:

"""
pi@raspberrypi:~/gr-radioteletype/build $ cmake
-DCMAKE_INSTALL_PREFIX="/usr/local" -DCMAKE_BUILD_TYPE=Release ../
CMake Deprecation Warning at CMakeLists.txt:54 (cmake_policy):
   The OLD behavior for policy CMP0026 will be removed from a future
version
   of CMake.

   The cmake-policies(7) manual explains that the OLD behaviors of all
   policies are deprecated and that a policy should be set to OLD only
under
specific short-term circumstances. Projects should be ported to the
NEW
   behavior and not rely on setting a policy to OLD.

CMake Deprecation Warning at CMakeLists.txt:57 (cmake_policy):
   The OLD behavior for policy CMP0043 will be removed from a future
version
   of CMake.

  (ditto of above)

CMake Deprecation Warning at CMakeLists.txt:60 (cmake_policy):
   The OLD behavior for policy CMP0045 will be removed from a future
version
   of CMake.

  (ditto of above)

CMake Deprecation Warning at CMakeLists.txt:63 (cmake_policy):
   The OLD behavior for policy CMP0046 will be removed from a future
version
   of CMake.

  (ditto of above)

-- Boost version: 1.67.0
-- Found the following Boost libraries:
--   filesystem
--   system
-- Checking for module 'cppunit'
--   No package 'cppunit' found
-- Could NOT find CPPUNIT (missing: CPPUNIT_INCLUDE_DIRS)
CMake Error at CMakeLists.txt:143 (find_package):
   Could not find a configuration file for package "Gnuradio" that is
   compatible with requested version "3.7.2".

   The following configuration files were considered but not accepted:

     /usr/local/lib/cmake/gnuradio/GnuradioConfig.cmake, version:
3.9.0.0-git

-- Configuring incomplete, errors occurred!
See also "/home/pi/gr-radioteletype/build/CMakeFiles/CMakeOutput.log".
"""

It appears that the CMakeLists have not been updated for 3.8.

--
Barry Duggan KV4FV

_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio



--
Michael Dickens, Mac OS X Programmer

Ettus Research Technical Support

Email: address@hidden

Web: http://www.ettus.com



reply via email to

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