News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Compiler error not rectifying even after selecting MinGW files in Toolchain exec

Started by Code Blocks_User, May 10, 2024, 06:45:40 AM

Previous topic - Next topic

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:

-------------- 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.

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.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Miguel Gimenez

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.