http://www.reddit.com/r/RTLSDR/comments/1mcikt/for_the_nautical_set_rtlsdr_with_grais_and_opencpn/ 按照上述操作,我收到此错误
scott@scott-P5QC:~/gr-ais/build$ cmake ../
-- Build type not specified: defaulting to release.
-- Boost version: 1.54.0
-- Found the following Boost libraries:
-- filesystem
-- system
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.6")
CMake Error at CMakeLists.txt:94 (find_package):
Could not find a configuration file for package "Gnuradio" that is
compatible with requested version "3.7.6".
The following configuration files were considered but not accepted:
/usr/lib/x86_64-linux-gnu/cmake/gnuradio/GnuradioConfig.cmake, version: 3.7.2.1
-- Configuring incomplete, errors occurred!
See also "/home/scott/gr-ais/build/CMakeFiles/CMakeOutput.log".
scott@scott-P5QC:~/gr-ais/build$
答案1
您尝试构建的应用程序需要 Gnuradio 3.7.6,但在 14.04 系统上,Ubuntu 存储库中仅提供 3.7.2 版本。
您必须从源代码构建 Gnuradio:
打开一个终端窗口,移动到您想要存储源文件的目录(例如
cd src/
),删除旧的 build-gnuradio 文件,然后运行以下命令:$ wget http://www.sbrac.org/files/build-gnuradio && chmod a+x ./build-gnuradio && ./build-gnuradio