Code::Blocks Forums
User forums => Help => Topic started by: zwg on November 24, 2011, 01:08:33 am
-
well i ve tried a signal c++ program and it doesnt build . here my steps
i saved it like dokimi.cpp and then wrote this one :
#include <iostream>
using namespace std;
int main ()
{
cout << "ole";
return 0;
}
how i can make c::b to builds my cpp files?
-
Have you read - How do I troubleshoot a compiler problem? (http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_(errors)#Q:_How_do_I_troubleshoot_a_compiler_problem.3F) - (and the rest of the FAQ (http://wiki.codeblocks.org/index.php?title=FAQ))?
What compiler are you using?
What error message is Code::Blocks giving you?
Does it work to compile command line?
-
i go read now but if it helps you i get no error message it is like build button doesnt work
-
I have never seen Code::Blocks not say anything; are all your logs enabled? (F2 -> right click on logs (usually on the bottom of the screen) -> Toggle...)
Have you tried scrolling up? (I cannot find any text in my Code::Blocks logs? (http://wiki.codeblocks.org/index.php?title=FAQ-Issues_and_Workarounds#Q:_I_cannot_find_any_text_in_my_Code::Blocks_logs.3F))
What compiler are you using?
[...]
Does it work to compile command line?
What OS are you using?
What version of Code::Blocks are you using?
-
v10.05 what is OS ? and i dont know my compiler do i have to download some? i just download codeblocks 2 days before and yes my logs are all there and all ticked no error message
-
zwg: you're joking, right?
Here is what an os is -> http://lmgtfy.com/?q=os
-
well ok i knew what is i just didnt know how is that in english :) well i use windows xp proffecional 2002
-
Which installer did you download? codeblocks-10.05-setup.exe or codeblocks-10.05mingw-setup.exe? If you used codeblocks-10.05-setup.exe, you will need to install (http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler) a compiler (http://en.wikipedia.org/wiki/Compiler) (I would suggest TDM-GCC (http://tdm-gcc.tdragon.net/)).
(You could optionally try a nightly build (http://forums.codeblocks.org/index.php/board,20.0.html); they have a lot more features, but you will still need to install a compiler.)
-
well i did install this compiler in my pc and still build doesnt working :S
-
Welcome .
[Removed non-english content. English only!]
-
maybe any one can send me a setup file wich can build after install?
-
Have you double-checked the setup of your toolchain (http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler#Compiler-neutral_setup_steps)?