Score:0

Cmake fails to build an executable

in flag

Trying to build a program with Cmake Results in:

me@ubuntu-20-04:~/Downloads/UxPlay/build$ cmake ..

-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:3 (project):
  No CMAKE_CXX_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.


-- Configuring incomplete, errors occurred!
See also "/home/me/Downloads/UxPlay/build/CMakeFiles/CMakeOutput.log".
See also "/home/me/Downloads/UxPlay/build/CMakeFiles/CMakeError.log"

For a bit of clarification, I am trying to use https://github.com/antimof/UxPlay/blob/master/, and I followed the build instructions in the readme file

chili555 avatar
cn flag
Please check here: https://unix.stackexchange.com/questions/574961/why-is-there-no-cmake-cxx-compiler-could-be-found-and-how-to-solve I suspect you need build-essential.
puma avatar
in flag
Thanks for pointing me in the right direction, got it working.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.