Thursday, September 5, 2019

Re: [Discuss-gnuradio] Errors trying to build gr-radioteletype for version 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 <barry@dcsmail.net> 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
>> Discuss-gnuradio@gnu.org
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
>
>
> --
> Michael Dickens, Mac OS X Programmer
>
> Ettus Research Technical Support
>
> Email: support@ettus.com
>
> Web: http://www.ettus.com

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

No comments:

Post a Comment