kylin1@kylin-os:~/Desktop/pytorch/build$ cmake .. -DUSE_MPI=OFF
-- The CXX compiler identification is unknown
-- The C compiler identification is GNU 5.3.1
CMake Error at CMakeLists.txt:6 (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.

-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring incomplete, errors occurred!
See also "/home/kylin1/Desktop/pytorch/build/CMakeFiles/CMakeOutput.log".
See also "/home/kylin1/Desktop/pytorch/build/CMakeFiles/CMakeError.log".
kylin1@kylin-os:~/Desktop/pytorch/build$ sudo make install
[sudo] kylin1 的密码:
make: *** No rule to make target 'install'。 停止。




系统为Kylin  gcc版本为5.3.1