FAILED: toarray.exe.p/data_ToArray

  • Fatal_Error
    15th Jun 2022 Member 1 Permalink

    Got this error (stated belove cuz for some reason images dont work). Does anyone know how to fix? I did the ninja thing in the "Building for the first time with MSVC" thinghy on the wiki.




    [1/362] Compiling C++ object toarray.exe.p/data_ToArray.cpp.obj
    FAILED: toarray.exe.p/data_ToArray.cpp.obj
    "cl" "-Itoarray.exe.p" "-I." "-I.." "/MDd" "/nologo" "/showIncludes" "/utf-8" "/W2" "/EHsc" "/std:c++17" "/permissive-" "/Od" "/Zi" "/Fdtoarray.exe.p\data_ToArray.cpp.pdb" /Fotoarray.exe.p/data_ToArray.cpp.obj "/c" ../data/ToArray.cpp
    CreateProcess failed: The system cannot find the file specified.
    ninja: fatal: ReadFile: The handle is invalid.



    Edited 2 times by Fatal_Error. Last: 15th Jun 2022
  • LBPHacker
    15th Jun 2022 Developer 1 Permalink
    Use the vs prompt, as outlined in the guide.
  • Fatal_Error
    15th Jun 2022 Member 1 Permalink

    @LBPHacker (View Post)

     I did. I followed all of those instructions, even the wipe and reconfigure thing but it just keeps showing that.

  • LBPHacker
    15th Jun 2022 Developer 1 Permalink
    What happens if you just try to run cl in that prompt?
  • Fatal_Error
    15th Jun 2022 Member 0 Permalink

    @LBPHacker (View Post)

     I'm sorry. I'm a bit new to modding and you don't quite understand what you want me to do.

  • LBPHacker
    15th Jun 2022 Developer 0 Permalink
    Open the vs prompt, type cl, press enter. (Although at this point I recommend taking a step back and familiarizing yourself with the language and the build system some other way.)
  • Fatal_Error
    15th Jun 2022 Member 0 Permalink

    @LBPHacker (View Post)

     

    'cl' is not recognized as an internal or external command,
    operable program or batch file.

  • LBPHacker
    15th Jun 2022 Developer 0 Permalink
    Then visual studio is lying to our build system. Not sure how to fix that, I've heard a reinstall may fix it.
  • Fatal_Error
    15th Jun 2022 Member 0 Permalink

    @LBPHacker (View Post)

     Ok thanks. I'll try to learn more about the language and stuff too. Thank you for your time spend.