Hello everyone,

I m having trouble installing gr-doa. According to its github page(
https://github.com/EttusResearch/gr-doa), it asks for the followings :
Basic Dependencies

   - UHD >= 3.10.1.0
   - gnuradio >= 3.7.10.1
   - armadillo >= 7.300

<https://github.com/EttusResearch/gr-doa#dependencies-needed-for-qa-testing>Dependencies
Needed for QA Testing

   - octave (Tested 4.0.2)
   - octave-signal (Tested 1.3.2)
   - scipy (Tested 0.15.1)
   - oct2py (Tested 3.5.9)

<https://github.com/EttusResearch/gr-doa#dependencies-needed-for-doc>Dependencies
Needed for Doc

   - texlive-latex-base


I have Ubuntu 16.04 with UHD 3.11.0 and gnuradio 3.7.12 . I have also
installed armadillo 8.300.2 using the package on their page. I have
installed octave,octave-signal and scipy using Synaptic package manager and
also installed oct2py using pip. I think they suffice basic dependencies
and test dependencies.

First I have tried to install gr-doa via pybombs by adding gr-etcetera as
recipes. After installation, I have tested it by running 'make test' but
all tests are failed,also I couldn't see grc files in gnuradio. After this
attempt, I have tried to follow steps described on their github page. When
I run cmake.. I got the following errors

*CMake Warning (dev) at cmake/Modules/GrTest.cmake:45
(get_target_property):*

*  Policy CMP0045 is not set: Error on non-existent target in*

*  get_target_property.  Run "cmake --help-policy CMP0045" for policy
details.*

*   Use the cmake_policy command to set the policy and suppress this
warning*

get_target_property() called with non-existent target "/usr/bin/python2".

Call Stack (most recent call first):

  python/CMakeLists.txt:50 (GR_ADD_TEST)

This warning is for project developers.  Use -Wno-dev to suppress it.



CMake Warning (dev) at cmake/Modules/GrTest.cmake:45 (get_target_property):

  Policy CMP0026 is not set: Disallow use of the LOCATION target property.

  Run "cmake --help-policy CMP0026" for policy details.  Use the
cmake_policy

  command to set the policy and suppress this warning.

  The LOCATION property should not be read from target "gnuradio-doa".  Use

  the target name directly with add_custom_command, or use the generator

  expression $<TARGET_FILE>, as appropriate.

I avoid these errors by adding cmake_policy(SET CMP0026 OLD),
cmake_policy(SET CMP0045 OLD) to the cmakelists.txt and repeated the steps
from the beginning.(I removed the build file first). The result was the
same with the previous one, all tests are failed. Do you have any idea
about this?

I am new to gnuradio, I might have done something wrong. I really
appreciate if you help me install gr-doa.

Bugra
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to