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?

    0_1566464515220_微信截图_20190822190105.png
    0_1566464528909_微信截图_20190822190118.png



  • @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