Code::Blocks Forums

User forums => Help => Topic started by: Chris0D2 on October 15, 2009, 10:50:11 pm

Title: SDL and Code::Blocks
Post by: Chris0D2 on October 15, 2009, 10:50:11 pm
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
Title: Re: SDL and Code::Blocks
Post by: oBFusCATed on October 15, 2009, 11:05:28 pm
C::B version
OS version
Compiler version

http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F
Title: Re: SDL and Code::Blocks
Post by: 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"

Title: Re: SDL and Code::Blocks
Post by: blueshake on October 16, 2009, 01:54:08 am
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.
Title: Re: SDL and Code::Blocks
Post by: stahta01 on October 16, 2009, 02:19:32 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.