Cmake error
popadrop opened this issue · comments
gnuradio version 3.7.10.1-2_b3 debian linux 9
git clone git://github.com/pavelyazev/gr-dect2.git
Cloning into 'gr-dect2'...
remote: Enumerating objects: 156, done.
remote: Total 156 (delta 0), reused 0 (delta 0), pack-reused 156
Receiving objects: 100% (156/156), 148.53 KiB | 0 bytes/s, done.
Resolving deltas: 100% (72/72), done.
root@DEBIAN:/home/user# cd gr-dect2/
root@DEBIAN:/home/user/gr-dect2# mkdir build
root@DEBIAN:/home/user/gr-dect2# cd build
root@DEBIAN:/home/user/gr-dect2/build# cmake ../
-- The CXX compiler identification is GNU 6.3.0
-- The C compiler identification is GNU 6.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Build type not specified: defaulting to release.
CMake Error at CMakeLists.txt:49 (find_package):
Could not find a configuration file for package "Gnuradio" that is
compatible with requested version "3.8".
The following configuration files were considered but not accepted:
/usr/lib/x86_64-linux-gnu/cmake/gnuradio/GnuradioConfig.cmake, version: 3.7.10.1
-- Configuring incomplete, errors occurred!
See also "/home/user/gr-dect2/build/CMakeFiles/CMakeOutput.log".
root@DEBIAN:/home/user/gr-dect2/build# apt installgr-osmosdr
E: Invalid operation installgr-osmosdr
root@DEBIAN:/home/user/gr-dect2/build# apt install gr-osmosdr
Reading package lists... Done
Building dependency tree
Reading state information... Done
Need help Thanks
Same issue for me ...
gnuradio 3.8.2.0
Similar ...
"
[ 11%] Building CXX object lib/CMakeFiles/gnuradio-dect2.dir/phase_diff_impl.cc.o
/home/error/gr-dect2/lib/phase_diff_impl.cc: In static member function ‘static gr::dect2::phase_diff::sptr gr::dect2::phase_diff::make()’:
/home/error/gr-dect2/lib/phase_diff_impl.cc:38:9: error: could not convert ‘gnuradio::get_initial_sptr(T*) with T = gr::dect2::phase_diff_impl’ from ‘std::shared_ptrgr::dect2::phase_diff_impl’ to ‘gr::dect2::phase_diff::sptr’ {aka ‘boost::shared_ptrgr::dect2::phase_diff’}
37 | return gnuradio::get_initial_sptr
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
38 | (new phase_diff_impl());
| ^~~~~~~~~~~~~~~~~~~~~~~
| |
| std::shared_ptrgr::dect2::phase_diff_impl
make[2]: *** [lib/CMakeFiles/gnuradio-dect2.dir/build.make:76: lib/CMakeFiles/gnuradio-dect2.dir/phase_diff_impl.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:235: lib/CMakeFiles/gnuradio-dect2.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
"
"
apt list --all-versions gnuradio
Listing... Done
gnuradio/kali-rolling,now 3.10.9.2-1 amd64 [installed]
gnuradio/kali-rolling 3.10.9.2-1 i386
"
Kali Linux - WSL