0
votes

I'm currently trying to build https://github.com/EttusResearch/uhd , https://kb.ettus.com/Building_and_Installing_the_USRP_Open-Source_Toolchain_(UHD_and_GNU_Radio)_on_Linux . Like it says in the instruction I execute cmake ../. But the command fails with following error

-- 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)

Can someone help me with that?

best regards

1
250 Q/A when searching for broken CMake . Did you look at any of them? Good luck.shellter

1 Answers

0
votes

/usr/share/bash-completion/completions/gmake looks like a wrong path, make should be in /usr/bin/make on ubuntu

Most likely you are missing apt-get install make