fail while runing ninja

  • davidCMs
    9th Jun 2023 Member 0 Permalink

    it gave me this error

    C:\Users\Uporabnik\Desktop\tpt\The-Powder-Toy\build-debug>ninja
    [1/369] Compiling C++ object toarray.exe.p/resources_ToArray.cpp.obj
    FAILED: toarray.exe.p/resources_ToArray.cpp.obj
    "cl" "-Itoarray.exe.p" "-I." "-I.." "/MDd" "/nologo" "/showIncludes" "/utf-8" "/Zc:__cplusplus" "/W2" "/EHsc" "/GR-" "/std:c++17" "/permissive-" "/Od" "/Zi" "/Fdtoarray.exe.p\resources_ToArray.cpp.pdb" /Fotoarray.exe.p/resources_ToArray.cpp.obj "/c" ../resources/ToArray.cpp
    CreateProcess failed: The system cannot find the file specified.
    [2/369] Compiling C++ object resources/makeico.exe.p/MakeIco.cpp.obj
    FAILED: resources/makeico.exe.p/MakeIco.cpp.obj
    "cl" "-Iresources\makeico.exe.p" "-Iresources" "-I..\resources" "/MDd" "/nologo" "/showIncludes" "/utf-8" "/Zc:__cplusplus" "/W2" "/EHsc" "/GR-" "/std:c++17" "/permissive-" "/Od" "/Zi" "/Fdresources\makeico.exe.p\MakeIco.cpp.pdb" /Foresources/makeico.exe.p/MakeIco.cpp.obj "/c" ../resources/MakeIco.cpp
    CreateProcess failed: The system cannot find the file specified.
    ninja: build stopped: subcommand failed.

  • LBPHacker
    9th Jun 2023 Developer 0 Permalink
    You're not in the native tools prompt (look for it in the start menu), or you don't have C++ compilers installed (make sure you have them checked in the installer).
  • davidCMs
    9th Jun 2023 Member 0 Permalink

    it worked thank you