antimof / UxPlay

AirPlay Unix mirroring server
GNU General Public License v3.0
1.41k stars 190 forks source link

cmake .. fails #81

Open Yuggupta27 opened 2 years ago

Yuggupta27 commented 2 years ago

cmake fails with

-- The C compiler identification is GNU 11.2.1
-- The CXX compiler identification is unknown
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
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/yuggupta/Downloads/UxPlay-master/build/CMakeFiles/CMakeOutput.log".
See also "/home/yuggupta/Downloads/UxPlay-master/build/CMakeFiles/CMakeError.log".
Ellis2781 commented 2 years ago

Do you have a c++ compiler installed? All this is saying is that cmake cannot find your c++ compiler so, run g++ and if your shell can't find it then install g++ with your package manager. On ubuntu this would be "apt install g++"