User forums > Using Code::Blocks

Trouble building code in codeblocks-EP

(1/1)

potential:
Hello!

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

this pops up everytime I try to build a new code in my just downloaded codeblocks-EP. If I click yes it will pop up again, If I click no it terminates without executing

Hope you can help me.

Pecan:
Make sure you have a compiler installed. Search the forum for "it seems that this project has not been built yet" from the base of the forum.

Lots of answers.

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

Since you are new make sure you read the FAQs and the rules http://forums.codeblocks.org/index.php/topic,9996.0.html

In order to get help, you need to post a full rebuild log.

Tim S.

stahta01:

--- Quote from: Pecan on December 19, 2014, 06:04:20 pm ---Make sure you have a compiler installed.

--- End quote ---

In additional to making sure you have a compiler installed.
Make sure Code::Blocks toolchain settings are correct to use the installed compiler (best to set this CB compiler as the default CB compiler).
And, make sure your normal project is using the correct CB compiler.

Tim S.

stahta01:
I just had this exact problem on Windows (when using a CB project created for Linux via CMake or Premake)

Message "it seems that this project has not been built yet"

1. Rebuild Project without the run option.
Build -> Rebuild (Control-F11)

2. Run the program
Build -> Run (Control-F10)
Click "No" on do you want to build it now.

Post the line from the "Build Log" that starts with "Checking for existence:"

The line when I had this problem on Windows


--- Code: ---Checking for existence: E:\OpenSourceCode\Libs\GUI\wxWidgets\wxCode\wxsqlite3\bin\dll\release\minimal

--- End code ---

Notice there is NOT an file extension after the "minimal" this is what caused the problem in my case.

Solution: Edit the project
Project -> Properties..
Tab: Build Targets
Verify this option is checked "Auto-generatate filename extension" for all the targets that can be ran.

Note, I seemed to have to save,close and reopen the project to get the problem to go away.

Tim S.

Navigation

[0] Message Index

Go to full version