First of all, please check whether the console (i.e. black window) has been closed after the first run. If not, please close the last console before running the next compilation.
In addition, do not close the console through the abort button in the menu bar. Just click x or press any key to exit the console.
Do not close the console via this abort button!
Use the close button (x) in the upper right corner of the console (black window), or press any key
If you use the first method to close the console, it is likely to cause this problem for you. To solve this problem, I think it is best to restart codeblocks.
First of all, please check whether the console (i.e. black window) has been closed after the first run. If not, please close the last console before running the next compilation.
In addition, do not close the console through the abort button in the menu bar. Just click x or press any key to exit the console.
Do not close the console via this abort button!
Use the close button (x) in the upper right corner of the console (black window), or press any key
If you use the first method to close the console, it is likely to cause this problem for you. To solve this problem, I think it is best to restart codeblocks.
I have encountered this problem before, and I don’t know if it can be solved for you. In fact, Baidu has a solution: http://jingyan.baidu.com/arti...