I tried to install vcpkg on Windows 10. I followed the steps of the Quick Start section, but I get an error, when I try to run this command:
.\vcpkg install sdl2 curl
Error:
error checking existence of file "C:\msys64\usr\bin\cmake.cmd" The filename, directory name, or volume label syntax is incorrect
I installed msys64
and cmake
:
pacman -S cmake
But there is still no cmake.cmd
in C:\msys64\usr\bin\
, only a cmake.exe
.
I tried to manualy create C:\msys64\usr\bin\cmake.cmd
with this content:
if %1 == -E (
cmake.exe %*
) else (
cmake.exe -G "NMake Makefiles" -DWIN32=1 %*
)
pause 5
But I still get the same error.