User forums > Using Code::Blocks

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

(1/3) > >>

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)

--- End quote ---
No this is not your build log :)

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.

mark1977:
Thanks Tim, here you go:


--- Code: ----------------- 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.
--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version