News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

SDL and Code::Blocks

Started by Chris0D2, October 15, 2009, 10:50:11 PM

Previous topic - Next topic

Chris0D2

It appears to me that Code::Blocks is not working how it should be working, but instead whenever I try to Build and run it keeps on popping
up with this message:

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

Then it gives me the option of:

   "Yes", "No", "Cancel";

If I press:

   "Yes";

It loops around and displays the message again.
If I press:

   "No";

It displays this message

   "Checking for existence: C:\Projects\project1\bin\Debug\project1.exe";
   "Executing: "C:\Projects\project1\bin\Debug\project1.exe"  (in C:\Projects\project1\.)";
   "Execution of '"C:\Projects\project1\bin\Debug\project1.exe" ' in 'C:\Projects\project1' failed.";
   "Nothing to be done.";

In the Build log
If I press:

   "Cancel";

Or type:

   Alt + F4;

It does nothing.

I am almost certain it is nothing to do with the code but here it is anyway from lazyfoo.net: Copyright Lazy Foo' Productions 2004-2009)

   include "SDL/SDL.h"

   int main( int argc, char* args[] )
   {
       //Start SDL
       SDL_Init( SDL_INIT_EVERYTHING );
   
       //Quit SDL
       SDL_Quit();
   
       return 0;   
   }

I used Google to search for:

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

But the information was jumbled up and confusing.
Please reply

   Chris

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Chris0D2

Code::Blocks version:

   "8.02"

Operating System version:

   "Windows Vista"

Compiler version:

   "SDL-1.2.13"


blueshake

Can you just search the forum?The same question has been asked for many times.Please use the latest nightly since 8.02 is too old.
Keep low and hear the sadness of little dog.
I fall in love with a girl,but I don't dare to tell her.What should I do?

stahta01

Quote from: Chris0D2 on October 16, 2009, 12:08:46 AM
Code::Blocks version:

   "8.02"

Operating System version:

   "Windows Vista"

Compiler version:

   "SDL-1.2.13"



INSTALL A Compiler and tell us the name and version of it.

Then turn on full compiler logging; NOTE the directions assume you know what a compiler is!!!
http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F

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]