-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is unknown
-- 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
CMake Error at CMakeLists.txt:2 (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/xxx/train_lianxi/build/CMakeFiles/CMakeOutput.log".
See also "/home/xxx/train_lianxi/build/CMakeFiles/CMakeError.log".
Install GCC, g++
sudo apt-get install gcc g++
Read More:
- Cmake Setting Support C++11 This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options
- [Solved] CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
- [Solved] fatal error C1189: #error: STL1003: Unexpected compiler, expected C++ compiler
- How to Solve SSH Login Error: WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
- Tensorflow C++:You must define TF_LIB_GTL_ALIGNED_CHAR_ARRAY for your compiler
- [Solved] c++: internal compiler error: Killed (program cc1plus)
- [Solved] internal compiler error Killed (program cc1plus)
- Cmake compile cocos2d-x error [How to Solve]
- [Solved] CMake Error: The current CMakeCache.txt directory is different than xxx
- Cmake Compile opencv error: The system is: Windows – 10.0.19042 – AMD64 (Log File)
- C++ Primer Program in VsCode error: no match for call to ‘(std::__cxx11::string…)
- g++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocess
- Error:scalac: Scala compiler JARs not found [How to Solve]
- [Solved] Cmake compile opencv open-source project Error: but it set OpenCV_FOUND to FALSE so package “OpenCV” is considered to be…
- [Solved] error: Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++ Build Tools“
- error: library dfftpack has Fortran sources but no Fortran compiler found
- [Solved] IntelliJ IDEA Compile Error: Errorjava Compilation failed internal java compiler error
- ASIC VCS Error: Error-[VCS_COM_UNE] Cannot find VCS compiler [Solved]
- [Solved] CMake Error Cannot specify link libraries for target “variational“ which is not built by this projec
- [Solved] IDEA Error: java: Compilation failed: internal java compiler error