ubuntu - GNU-RADIO - cmake 找不到 MPIR
ubuntu - GNU-RADIO - cmake could not find MPIR
我正在尝试在 GNU Radio 中获取 RTL-SDR 源代码块(或 osmo sdr,因为它们都可以工作),显然必须通过以下命令行获取:
git clone git://git.osmocom.org/gr-osmosdr
cd gr-osmosdr/
mkdir build
cd build/
cmake ../
我按照建议做了,但是当我 运行 最后一行时,我得到以下错误
No package 'mpir' found
-- Could NOT find MPIR (missing: MPIRXX_LIBRARY MPIR_LIBRARY MPIR_INCLUDE_DIR)
其中:
Checking for module 'fftw3f >= 3.0'
Found fftw3f , version 3.3.8
Found FFTW3f: /usr/lib/x86_64-linux-gnu/libfftw3f.so
Checking for module 'libosmodsp'
No package 'libosmodsp' found
libosmodsp not found.
libosmodsp not found, using local checkout
Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
Using install prefix: /usr/local
Building for version: 3.8.0.0 / 3.8.0
No C++ unit tests... skipping
Checking for module SWIG
Disabling SWIG because version check failed.
CMake Error at lib/CMakeLists.txt:30 (add_library):
Cannot find source file:
/home/hubp/Downloads/libosmo-dsp/src/cxvec.c
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
.hpp .hxx .in .txx
CMake Error at lib/CMakeLists.txt:30 (add_library):
No SOURCES given to target: gnuradio-iqbalance
CMake Generate step failed. Build files cannot be regenerated correctly.
我怀疑我可能缺少一些依赖项,但我不明白它们是什么或如何获得它们。感谢您的帮助
好的,我明白了!
这家伙检查了所需的库
https://www.youtube.com/watch?v=2IWtEkAHXFI
我少了 swig,后来我也少了 liborc-0.4-dev
它们可以通过以下方式安装:
sudo apt-get install swig
sudo apt install liborc-0.4-dev
请注意,尽管该视频对我的案例有特别帮助,但它比 GNU Radio 3.8 的发布早了好几年,并且确实没有反映 GNU Radio 的当前要求。
我正在尝试在 GNU Radio 中获取 RTL-SDR 源代码块(或 osmo sdr,因为它们都可以工作),显然必须通过以下命令行获取:
git clone git://git.osmocom.org/gr-osmosdr
cd gr-osmosdr/
mkdir build
cd build/
cmake ../
我按照建议做了,但是当我 运行 最后一行时,我得到以下错误
No package 'mpir' found
-- Could NOT find MPIR (missing: MPIRXX_LIBRARY MPIR_LIBRARY MPIR_INCLUDE_DIR)
其中:
Checking for module 'fftw3f >= 3.0'
Found fftw3f , version 3.3.8
Found FFTW3f: /usr/lib/x86_64-linux-gnu/libfftw3f.so
Checking for module 'libosmodsp'
No package 'libosmodsp' found
libosmodsp not found.
libosmodsp not found, using local checkout
Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
Using install prefix: /usr/local
Building for version: 3.8.0.0 / 3.8.0
No C++ unit tests... skipping
Checking for module SWIG
Disabling SWIG because version check failed.
CMake Error at lib/CMakeLists.txt:30 (add_library):
Cannot find source file:
/home/hubp/Downloads/libosmo-dsp/src/cxvec.c
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
.hpp .hxx .in .txx
CMake Error at lib/CMakeLists.txt:30 (add_library):
No SOURCES given to target: gnuradio-iqbalance
CMake Generate step failed. Build files cannot be regenerated correctly.
我怀疑我可能缺少一些依赖项,但我不明白它们是什么或如何获得它们。感谢您的帮助
好的,我明白了!
这家伙检查了所需的库
https://www.youtube.com/watch?v=2IWtEkAHXFI
我少了 swig,后来我也少了 liborc-0.4-dev
它们可以通过以下方式安装:
sudo apt-get install swig
sudo apt install liborc-0.4-dev
请注意,尽管该视频对我的案例有特别帮助,但它比 GNU Radio 3.8 的发布早了好几年,并且确实没有反映 GNU Radio 的当前要求。