Today I was debuging my program and suddenly due to power failure, my pc shutdown abnormally. Now when I compile that program, it gives me two errors.
:-1: error: cannot open output file debug\Myprogram.exe: Invalid argument :-1: error: collect2: ld returned 1 exit status
I cleaned the program, rebuilt it. Ran qmake. Closed the compiler and relaunched to compile program by first running qmake, then debugging but worthless. The program isn't getting compiled. I am a beginner and don't have much knowledge about these problems so bear this question. :). How can i fix it.
Delete entire shadow build directory if you are using shadow build (default build setting is shadow build), then launch QtCreator and try to build.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With