admin

CMake Error: CMake was unable to find a build program corresponding to "Ninja".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.

I followed this article to learn how to use vcpkg and got this error: C:\vcpkg\helloworld>cmake –preset=default Preset CMake variables: CMAKE_TOOLCHAIN_FILE=””C:\vcpkg”/scripts/buildsystems/vcpkg.cmake” CMake Error at C:/CMake/share/cmake-3.25/Modules/CMakeDetermineSystem.cmake:130 (message): Could not find toolchain file: […]

CMake is a very complicate program worth writing a book about it. But like you, I’ve no time to know every detail of CMake. So I prepare this minimal tutorial […]

When your project links to libprotobuf, you may get the following errors: libprotobuf.lib(descriptor.cc.obj) : error LNK2038: mismatch detected for ‘RuntimeLibrary’: value ‘MT_StaticRelease’ doesn’t match value ‘MD_DynamicRelease’ in mocs_compilation.cpp.obj libprotobuf.lib(common.cc.obj) : […]