Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Help
»
Program won't run
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Program won't run (Read 48046 times)
Bit2_Gosu
Single posting newcomer
Posts: 4
Program won't run
«
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?
Logged
stahta01
Lives here!
Posts: 7739
Re: Program won't run
«
Reply #1 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.
What a IDE is?
What an compiler is?
What an Library is? And, how to use them.
What an Header file is? And, how to use them.
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.
Logged
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
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Help
»
Program won't run