CMake Compiler Not Found: CMakeLists.txt Line 30
When attempting to configure a Visual Studio solution with CMake for Aseprite compilation, users may encounter the following error:
No CMAKE_C_COMPILER could be found. No CMAKE_CXX_COMPILER could be found.
This issue arises due to the absence of established C and C compilers.
Solution for Ubuntu
For Ubuntu-based systems, the solution involves installing essential build tools using the following commands:
sudo apt-get update && sudo apt-get install build-essential
Once the installation is complete, CMake will be able to locate the necessary compilers and the compilation process can proceed smoothly.
The above is the detailed content of CMake Compiler Not Found: How to Fix the 'No CMAKE_C_COMPILER/CXX_COMPILER' Error on Ubuntu?. For more information, please follow other related articles on the PHP Chinese website!