Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: potential on December 19, 2014, 05:21:44 pm

Title: Trouble building code in codeblocks-EP
Post by: potential on December 19, 2014, 05:21:44 pm
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.
Title: Re: Trouble building code in codeblocks-EP
Post by: Pecan on December 19, 2014, 06:04:20 pm
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.
Title: Re: Trouble building code in codeblocks-EP
Post by: stahta01 on December 19, 2014, 06:04:55 pm
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F (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 (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.
Title: Re: Trouble building code in codeblocks-EP
Post by: stahta01 on December 21, 2014, 05:57:36 am
Make sure you have a compiler installed.

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.
Title: CB Troubleshooting message "it seems that this project has not been built yet"
Post by: stahta01 on December 23, 2014, 06:05:54 pm
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

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.