Author Topic: SDL and Code::Blocks  (Read 5314 times)

Chris0D2

  • Guest
SDL and Code::Blocks
« 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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: SDL and Code::Blocks
« Reply #1 on: October 15, 2009, 11:05:28 pm »
(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

  • Guest
Re: SDL and Code::Blocks
« Reply #2 on: October 16, 2009, 12:08:46 am »
Code::Blocks version:

   "8.02"

Operating System version:

   "Windows Vista"

Compiler version:

   "SDL-1.2.13"


Offline blueshake

  • Regular
  • ***
  • Posts: 459
Re: SDL and Code::Blocks
« Reply #3 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.
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?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: SDL and Code::Blocks
« Reply #4 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.




C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org