Code::Blocks

User forums => Help => Topic started by: Bit2_Gosu on October 12, 2009, 07:02:52 pm

Title: Program won't run
Post by: Bit2_Gosu on October 12, 2009, 07:02:52 pm
Hi!

I've just installed CodeBlocks and am desperately trying to get the default main.c "hello world" file running.
I built a Console Project using GCC on Vista and pressed Build and Run but nothing shows in the build log - no console window shows up either. As I was wondering whether GCC actually exists on Windows I tried the same thing using Cygwin - with the same result.

Anybody a clue?
Title: Re: Program won't run
Post by: stahta01 on October 12, 2009, 09:01:42 pm
Step 1. Install a compiler that works with Vista the newest MinGW GCC 3.4.5 works with Vista.
(The MinGW GCC bundled with the Code::Blocks IDE 8.02 does NOT work with Vista.)
Step 2. Learn the Basics of programing on an beginner site. THIS IS NOT A beginner site.

After knowing the basics of C/C++ Programming

Turn ON "full compiler Logging" to help you learn how compiler works.
http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F

Read the FAQ and Manual and search the sites before asking questions
http://wiki.codeblocks.org/index.php?title=FAQ
http://wiki.codeblocks.org/index.php?title=Main_Page
http://www.codeblocks.org/docs/main_codeblocks_en.html


Standard Info needed when asking an question
What OS and version? example value: "Windows XP"
Code::Blocks version/SVN? example value "version 8.02" or "SVN 5555"
What Compiler and version? example value "MinGW GCC 3.4.5 (mingw-vista special r3)"

Specific info on problem
What was the error message? Cut and pasted (not reworded by user)


Tim S.