0

我目前正在尝试构建https://github.com/EttusResearch/uhdhttps://kb.ettus.com/Building_and_Installing_the_USRP_Open-Source_Toolchain_(UHD_and_GNU_Radio)_on_Linux。就像我执行的指令中所说的那样cmake ../。但是命令失败并出现以下错误

-- 检查工作的 CXX 编译器:/usr/bin/c++ CMake 错误:生成器:make 执行失败。制作命令是:“/usr/share/bash-completion/completions/gmake”“cmTC_3ef51/fast”——检查工作的 CXX 编译器:/usr/bin/c++——/usr/share/cmake-处的 CMake 错误3.5/Modules/CMakeTestCXXCompiler.cmake:54(消息):C++ 编译器“/usr/bin/c++”无法编译简单的测试程序。

它失败并显示以下输出:

更改目录:/home/.../uhd/host/build/CMakeFiles/CMakeTmp

运行构建命令:"/usr/share/bash-completion/completions/gmake" "cmTC_3ef51/fast"

生成器:make 执行失败。制作命令是:“/usr/share/bash-completion/completions/gmake”“cmTC_3ef51/fast”

CMake 将无法正确生成此项目。调用堆栈(最近的调用优先):CMakeLists.txt:27 (PROJECT)

有人可以帮我吗?

此致

4

1 回答 1

0

/usr/share/bash-completion/completions/gmake 看起来像错误的路径,make 应该在 ubuntu 上的 /usr/bin/make

你很可能失踪了 apt-get install make

于 2017-02-27T15:38:15.273 回答