问题描述
我正在尝试安装“gr-ais”,但在使用 CMake 时出现错误“找不到 MPIR(缺少:MPIRXX_LIBRARY MPIR_INCLUDE_DIR)”:
mavo@mavo:~/Dokumente/ais$ cmake gr-ais/
-- Build type not specified: defaulting to release.
-- Checking for module 'mpir >= 3.0'
-- No package 'mpir' found
-- Could NOT find MPIR (missing: MPIRXX_LIBRARY MPIR_INCLUDE_DIR)
-- User set python executable /usr/bin/python3
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.8.so (found suitable exact version "3.8.5")
-- Extracting version information from git describe...
-- Using install prefix: /usr/local
-- Building for version: 21621032 / 0.9.0git
--
-- Checking for module SWIG
-- Disabling SWIG because version check failed.
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.8.so (found version "3.8.5")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/mavo/Dokumente/ais
结果 gr_ais 不起作用:
mavo@mavo:~/Dokumente/ais$ ais_rx
Traceback (most recent call last):
File "/usr/local/bin/ais_rx",line 6,in <module>
import ais
ModuleNotFoundError: No module named 'ais'
我也安装了 mpir 3.0 (https://github.com/wbhart/mpir/releases)、gnuradio-companion (3.8.1.0)、GMP 6.2.1 和 libgmp-dev (2:6.2.0+dfsg-4)。还有其他想法吗?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)