Echoing what Derek wrote: there has already been a fix committed into GR
maint-3.8 for the library version. If you update to the current GIT master
HEAD, the libraries will go back to being version 3.8, which will then work
with GR OOT modules looking for GR 3.8. - MLD

On Thu, Sep 5, 2019 at 12:59 PM Derek Kozel <de...@bitstovolts.com> wrote:

> Ah, this is Marcus' fault, not yours! There was briefly the wrong version
> number on maint-3.8, this will fix itself next time you update. Sorry for
> the confusion, carry on!
>
> On Thu, Sep 5, 2019, at 5:25 PM, Barry Duggan wrote:
>
> Hi Derek,
>
> Well now I'm *really* confused! I did a git status and got:
>
> """
> pi@raspberrypi:~/gnuradio $ git status
> On branch maint-3.8
> Your branch is up to date with 'origin/maint-3.8'.
>
> nothing to commit, working tree clean
> """
>
> and the cmake said:
> /usr/local/lib/cmake/gnuradio/GnuradioConfig.cmake, version: 3.9.0.0-git
>
> Do I have a "mixed bag" or is something else going on?
>
> Thanks,
> ---
> Barry Duggan
>
>
> On 2019-09-05 09:22, Derek Kozel wrote:
> > 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 <ba...@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: supp...@ettus.com
> >>>
> >>> Web: http://www.ettus.com
> >>
> >> _______________________________________________
> >> 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: supp...@ettus.com

Web: http://www.ettus.com
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to