Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gr-doa compatibility with newer releases #11

Closed
MarcinWachowiak opened this issue Jun 12, 2020 · 1 comment
Closed

Gr-doa compatibility with newer releases #11

MarcinWachowiak opened this issue Jun 12, 2020 · 1 comment

Comments

@MarcinWachowiak
Copy link

MarcinWachowiak commented Jun 12, 2020

Issue Description

After properly installing uhd drivers and gnu radio, I attempted to get gr-doa package.
I am using Ubuntu 18.04, with updated gmp and installed required dependencies.
There appeared some errors during build because of change in function naming or structure.
Logs from cmake:

-- Build type not specified: defaulting to release.
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   filesystem
--   system
-- Armadillo found
-- Checking for module 'gmp'
--   No package 'gmp' found
-- Checking for module 'mpir >= 3.0'
--   No package 'mpir' found
-- Could NOT find MPIR (missing: MPIRXX_LIBRARY MPIR_LIBRARY MPIR_INCLUDE_DIR) 
-- 
-- Checking for module SWIG
-- Found SWIG version 3.0.12.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/marcin/gr-doa/build

Logs from make:

Scanning dependencies of target gnuradio-doa
[  4%] Building CXX object lib/CMakeFiles/gnuradio-doa.dir/autocorrelate_impl.cc.o
/home/marcin/gr-doa/lib/autocorrelate_impl.cc: In static member function ‘static gr::doa::autocorrelate::sptr gr::doa::autocorrelate::make(int, int, int, int)’:
/home/marcin/gr-doa/lib/autocorrelate_impl.cc:41:9: error: could not convert ‘gnuradio::get_initial_sptr(T*) [with T = gr::doa::autocorrelate_impl]()’ from ‘std::shared_ptr<gr::doa::autocorrelate_impl>’ to ‘gr::doa::autocorrelate::sptr {aka boost::shared_ptr<gr::doa::autocorrelate>}’
       return gnuradio::get_initial_sptr
              ~~~~~~~~~~~~~~~~~~~~~~~~~~
         (new autocorrelate_impl(inputs, snapshot_size, overlap_size, avg_method));
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/CMakeFiles/gnuradio-doa.dir/build.make:62: recipe for target 'lib/CMakeFiles/gnuradio-doa.dir/autocorrelate_impl.cc.o' failed
make[2]: *** [lib/CMakeFiles/gnuradio-doa.dir/autocorrelate_impl.cc.o] Error 1
CMakeFiles/Makefile2:135: recipe for target 'lib/CMakeFiles/gnuradio-doa.dir/all' failed
make[1]: *** [lib/CMakeFiles/gnuradio-doa.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

Is there any fix for this or shall I switch to ubuntu 16.04 where it has been proved working?

@MarcinWachowiak
Copy link
Author

I just read that Gr-doa is compatible with 3.7 Gnu radio release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant