Error in building "MinGW Makefiles"

Hi,
I made a new directory where LAMMPS has been installed, named “build”. To build LAMMPS in serial, in ‘build’ directory, opened a console and typed cmake -C …/cmake/presets/most.cmake -C …/cmake/presets/nolib.cmake -D BUILD_MPI=no -D LAMMPS_MACHINE=serial -D CMAKE_INSTALL_PREFIX=… …/cmake -G “MinGW Makefiles”. This is the error that I had:
Capture

The error messages you get have nothing to do with LAMMPS but are CMake issues and as such pretty self-explanatory. Apparently, your installed version of CMake cannot find a suitable build tool and a C++ compiler in your path. So you’ve either have to point CMake to where to find them or update your paths or similar.