News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Trouble building code in codeblocks-EP

Started by potential, December 19, 2014, 05:21:44 PM

Previous topic - Next topic

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

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]

stahta01

Quote from: Pecan on December 19, 2014, 06:04:20 PM
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.
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]

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


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