Important: Please read the Qt Code of Conduct -

Error code 2

  • Hello guys, i met a problem when i run the software.
    Compile output shows that mingw32-make: *** INTERNAL: readdir: Invalid argument. Stop.
    18:57:35: The process "D:\Qt\Tools\mingw730_64\bin\mingw32-make.exe" exited with code 2.
    Error while building/deploying project TREKdisplay (kit: Desktop Qt 5.12.4 MinGW 64-bit)
    When executing step "Make"

    I have no idea how does this happen and anybody knows how to deal with such a problem?


  • @peterchen
    If you do not get a better answer:

    The readdir failure looks like it;s having a problem somewhere during the mingw32-make involving a bad directory specification. I do not know the answer, but if you Google for mingw32-make readdir you will find others reporting this issue which may help you diagnose the problem.

Log in to reply