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: Derek Kozel
Subject: Re: [Discuss-gnuradio] Errors trying to build gr-radioteletype for version 3.8
Date: Thu, 5 Sep 2019 14:22:46 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

Hi Barry,

It looks like you're on the master branch of GNU Radio. When you next
think of updating GNU Radio I'd recommend moving over to the maint-3.8
branch, there's no reason for anyone not doing active core development
to be on the master branch at the moment.

You'll need "3.9" currently, and if you move to maint-3.8 you'll need "3.8".

I doubt that gr-radioteletype has been updated for 3.8 so you'll likely
hit the need to redo all the gr-radioteletype CMakeFiles, not a massive
task but maybe one you'd find challenging at your level of experience
with CMake. Here's the guide for updating an OOT.
https://wiki.gnuradio.org/index.php/GNU_Radio_3.8_OOT_Module_Porting_Guide

I can't remember if you had a specific reason for using the master/3.8
code but using the 3.7 releases have nearly universal compatibility with
all the OOTs out there.

Regards,
Derek

On 05/09/2019 14:11, Barry Duggan wrote:
> 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
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio




reply via email to

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