User forums > Help
Compiler error not rectifying even after selecting MinGW files in Toolchain exec
(1/1)
Code Blocks_User:
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.
Miguel Gimenez:
Next time use code tags (the # in the post editor) and remove all redundant information:
--- Code: ----------------- 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
--- End code ---
You have failed setting up the compiler, try following section 4.3 of PB's guide, a PDF downloadable here.
You can also read section 5.2.3 from Gerard Durand's manual.
Code Blocks_User:
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
stahta01:
To Code Blocks_User did you install the compiler that you told Code::Blocks to use?
Tim S.
Miguel Gimenez:
--- Quote ---The compiler I use is MinGW which was included with codeblocks setup file
--- End quote ---
Obviously not, because it was not the MSYS2 compiler, and the path was different.
Navigation
[0] Message Index
Go to full version