I am running Code:: codeblocks-20.03mingw on Windows 11 Home
23H2. The compiler I use is MinGW which was included with codeblocks setup file
When I run a program it gives a prompt "It seems that this file has not been built yet. Do you want to build it now?
Build log:
-------------- Build file: "no target" in "no project" (compiler: unknown)---------------
Nothing to be done (all items are up-to-date).
Checking for existence: C:\Users\abhis\Documents\C\Untitled12.exe
-------------- Build file: "no target" in "no project" (compiler: unknown)---------------
Nothing to be done (all items are up-to-date).
Checking for existence: C:\Users\abhis\Documents\C\Untitled12.exe
Checking for existence: C:\Users\abhis\Documents\C\Untitled12.exe
-------------- Build file: "no target" in "no project" (compiler: unknown)---------------
Nothing to be done (all items are up-to-date).
Checking for existence: C:\Users\abhis\Documents\C\Untitled12.exe
-------------- Build file: "no target" in "no project" (compiler: unknown)---------------
Nothing to be done (all items are up-to-date).
-------------- Build file: "no target" in "no project" (compiler: unknown)---------------
Nothing to be done (all items are up-to-date).
Checking for existence: C:\Users\abhis\Documents\C\Untitled12.exe
-------------- Build file: "no target" in "no project" (compiler: unknown)---------------
Nothing to be done (all items are up-to-date).
Checking for existence: C:\Users\abhis\Documents\C\Untitled12.exe
Checking for existence: C:\Users\abhis\Documents\C\Untitled12.exe
-------------- Build file: "no target" in "no project" (compiler: unknown)---------------
Nothing to be done (all items are up-to-date).
Checking for existence: C:\Users\abhis\Documents\C\Untitled12.exe
-------------- Build file: "no target" in "no project" (compiler: unknown)---------------
Nothing to be done (all items are up-to-date).
Checking for existence: C:\Users\abhis\Documents\C\Untitled12.exe
-------------- Build file: "no target" in "no project" (compiler: unknown)---------------
Nothing to be done (all items are up-to-date).
Checking for existence: C:\Users\abhis\Documents\C\Untitled12.exe
-------------- Build file: "no target" in "no project" (compiler: unknown)---------------
Nothing to be done (all items are up-to-date).
Checking for existence: C:\Users\abhis\Documents\C\Untitled12.exe
-------------- Build file: "no target" in "no project" (compiler: unknown)---------------
Nothing to be done (all items are up-to-date).
Checking for existence: C:\Users\abhis\Documents\C\Untitled12.exe
-------------- Build file: "no target" in "no project" (compiler: unknown)---------------
Nothing to be done (all items are up-to-date).
Checking for existence: C:\Users\abhis\Documents\C\Untitled12.exe
-------------- Build file: "no target" in "no project" (compiler: unknown)---------------
Nothing to be done (all items are up-to-date).
Checking for existence: C:\Users\abhis\Documents\C\Untitled12.exe
-------------- Build file: "no target" in "no project" (compiler: unknown)---------------
Nothing to be done (all items are up-to-date).
Checking for existence: C:\Users\abhis\Documents\C\Untitled12.exe
-------------- Build file: "no target" in "no project" (compiler: unknown)---------------
Nothing to be done (all items are up-to-date).
Checking for existence: C:\Users\abhis\Documents\C\Untitled12.exe
-------------- Build file: "no target" in "no project" (compiler: unknown)---------------
Nothing to be done (all items are up-to-date).
Checking for existence: C:\Users\abhis\Documents\C\Untitled12.exe
-------------- Build file: "no target" in "no project" (compiler: unknown)---------------
Nothing to be done (all items are up-to-date).
Checking for existence: C:\Users\abhis\Documents\C\Untitled12.exe
-------------- Build file: "no target" in "no project" (compiler: unknown)---------------
Nothing to be done (all items are up-to-date).
Checking for existence: C:\Users\abhis\Documents\C\Untitled12.exe
Checking for existence: C:\Users\abhis\Documents\C\Untitled12.exe
I have already tried ...
To manually select compiler from Toolchain executables option several times
Uninstalled & reinstalled code blocks several times
..... but none of them worked.
Next time use code tags (the # in the post editor) and remove all redundant information:
-------------- Build file: "no target" in "no project" (compiler: unknown)---------------
Nothing to be done (all items are up-to-date).
Checking for existence: C:\Users\abhis\Documents\C\Untitled12.exe
You have failed setting up the compiler, try following section 4.3 of PB's guide, a PDF downloadable here (https://github.com/PBfordev/wxpbguide).
You can also read section 5.2.3 from Gerard Durand's manual (https://www.codeblocks.org/docs/manual_codeblocks_en.pdf).
I have done everything as stated in manuals but haven't solved the problems. I am attaching build log and settings screentshots.
-------------- Build file: "no target" in "no project" (compiler: unknown)---------------
Nothing to be done (all items are up-to-date).
Checking for existence: C:\Users\abhis\Documents\C\checkprgrm.exe
To Code Blocks_User did you install the compiler that you told Code::Blocks to use?
Tim S.
QuoteThe compiler I use is MinGW which was included with codeblocks setup file
Obviously not, because it was not the MSYS2 compiler, and the path was different.