User forums > Using Code::Blocks
Keep getting "It seems that this project has not been built yet."
stahta01:
IIRC, That message means it can not find the EXE to run.
Edit: See what "Project" -> "Set Program Arguments" setting are.
Edit2: Please try using "Build" instead of "Build and Run" and does the message still appear?
Tim S.
IceColdBeer:
--- Quote from: stahta01 on July 21, 2010, 02:30:01 pm ---Edit: See what "Project" -> "Set Program Arguments" setting are.
--- End quote ---
"This target provides the projects main executable" is not ticked.
If I choose Build and then select Run seperately, the problem still occurs.
IceColdBeer:
Nothing is failing as the DLL is generated successfully, what I can't understand is why it wants to keep rebuilding it as no source has been updated.
The question is how Code Blocks determines whether to do a rebuild or not? If it looks at the date the executable created, then it will older than the source because the project is building a DLL and not an EXE. Is this a bug in Code Blocks?
stahta01:
User can not be helped by me; deleted posts to save space.
IceColdBeer:
Turning on compiler logging isn't going to help as the build is successful.
I believe this problem is caused because Code Blocks is looking at the EXE creation date instead of the DLL creation date.
My question was how Code Blocks determines whether to do a rebuild? Please stop replying with turning on full compiler logging, what has it got to do with the compiler? The compiler doesn't tell Code Blocks whether to rebuild does it !
If you don't know, please don't post back - Thanks.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version