News:

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

Main Menu

"It seems that this project has not been built yet." repeatedly [SOLVED]

Started by mark1977, March 02, 2012, 03:53:44 PM

Previous topic - Next topic

mark1977

Hi,

I know there was another thread on this topic but it did not seem to have been resolved.
I'm using CB 10.05 with MinGW on Windows & trying to comile with GNU gcc 4.4.1.

When trying to run my project I get the dialog box:

"It seems that this project has not been built yet.   Do you want to build it now?"

If I click yes it just returns to the same dialogue until I choose "No".

First thing of interest is that this problem only occurs for the debug, not the release.

Here is my build log:

Checking for existence: C:\Users\mark\codes\CKat2\bin\Debug\CKat2.exe
Executing: "C:\Program Files (x86)\CodeBlocks/cb_console_runner.exe" "C:\Users\mark\codes\CKat2\bin\Debug\CKat2.exe"  (in C:\Users\mark\codes\CKat2\.)
Process terminated with status -1073741510 (0 minutes, 4 seconds)

Why does this happen repeatedly? I have a suspicion my installation of Cygwin has something to do with this, though the toolchain executables for GCC all point to those in the CodeBlocks directory...


Cheers,

Mark

oBFusCATed

Quote from: mark1977 on March 02, 2012, 03:53:44 PM
Here is my build log:

Checking for existence: C:\Users\mark\codes\CKat2\bin\Debug\CKat2.exe
Executing: "C:\Program Files (x86)\CodeBlocks/cb_console_runner.exe" "C:\Users\mark\codes\CKat2\bin\Debug\CKat2.exe"  (in C:\Users\mark\codes\CKat2\.)
Process terminated with status -1073741510 (0 minutes, 4 seconds)
No this is not your build log :)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

mark1977

Right, but that's the problem, because it won't let me build. So all I can do is tell you what is underneath the tab "Build Log", which is what I gave above :)

stahta01

Turn ON Full Compiler Logging
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F

After re-build your project, post your BUILD log instead of your run log.
In other words, DO NOT use the run option, run button, or build/run.

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]

mark1977

Thanks Tim, here you go:


-------------- Clean: Debug in CKat2 ---------------

Cleaned "CKat2 - Debug"

-------------- Build: Debug in CKat2 ---------------

g++.exe      -c C:/Users/mark/codes/CKat2/HydroLa/CPP/KHadvect.cpp -o obj/Debug/HydroLa/CPP/KHadvect.o
Execution of 'g++.exe      -c C:/Users/mark/codes/CKat2/HydroLa/CPP/KHadvect.cpp -o obj/Debug/HydroLa/CPP/KHadvect.o' in 'C:\Users\mark\codes\CKat2' failed.
Nothing to be done.

stahta01

Step 1. Verify the command "g++.exe" exists in the Compiler bin folder.
Step 1b get g++ version "g++.exe -v"
Step 2. Using the OS Command line (cmd.exe) try the CB command to verify it works.
NOTE: Set the path to the correct compiler bin folder before doing step 2.

NOTE: If using CygWin change the g++.exe to the REAL exe name instead of a link file.

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]

mark1977

Thanks Tim.

The problem was I was using Cygwin for debug and GCC for release. When I viewed the Project's compiler though (under Project->Build Options), it showed GCC (and I mistakenly assumed it would be showing my current build target's compiler). Cheers for the help.

jeorge_kabbi

Quote from: stahta01 on March 02, 2012, 04:49:12 PM
Step 1. Verify the command "g++.exe" exists in the Compiler bin folder.
Step 1b get g++ version "g++.exe -v"
Step 2. Using the OS Command line (cmd.exe) try the CB command to verify it works.
NOTE: Set the path to the correct compiler bin folder before doing step 2.

NOTE: If using CygWin change the g++.exe to the REAL exe name instead of a link file.

Tim S.

for me , g++ was not present. i installed it and it just worked!
thank you

Flyingbear

Hello, i have the same problems just now.
I built a new project, and whenever a new file is written, it says repeatly :"...not built...".
Then, I deleted the test.f inside the fortran sources folder, and everything works now.

astroannie

Running in Linux Mint 17.3.  I found g++ wasn't installed.  I installed it, and for good measure told code::blocks to reset the compiler to the defaults and it still doesn't seem to compile (i.e. I still get this message).

Any and all help appreciated.


stahta01

Quote from: astroannie on August 26, 2016, 10:46:57 PM
Running in Linux Mint 17.3.  I found g++ wasn't installed.  I installed it, and for good measure told code::blocks to reset the compiler to the defaults and it still doesn't seem to compile (i.e. I still get this message).

Any and all help appreciated.

Please make new thread asking for help!
Please post a full rebuild log in that thread!

http://wiki.codeblocks.org/index.php/FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F

Edit: This thread has [SOLVED] in the title; because of this, I ignored looking at it for several hours.

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]