gpt4 book ai didi

c++ - 错误 : execution of make failed

转载 作者:太空宇宙 更新时间:2023-11-04 12:34:05 24 4
gpt4 key购买 nike

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

-- Check for working CXX compiler: /usr/bin/c++ CMake Error: Generator: execution of make failed. Make command was: "/usr/share/bash-completion/completions/gmake" "cmTC_3ef51/fast" -- Check for working CXX compiler: /usr/bin/c++ -- broken CMake Error at /usr/share/cmake-3.5/Modules/CMakeTestCXXCompiler.cmake:54 (message): The C++ compiler "/usr/bin/c++" is not able to compile a simple test program.

It fails with the following output:

Change Dir: /home/.../uhd/host/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/share/bash-completion/completions/gmake" "cmTC_3ef51/fast"

Generator: execution of make failed. Make command was: "/usr/share/bash-completion/completions/gmake" "cmTC_3ef51/fast"

CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:27 (PROJECT)

有人可以帮我吗?

最好的问候

最佳答案

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

很可能你错过了apt-get install make

关于c++ - 错误 : execution of make failed,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42489145/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com