Code::Blocks Forums

User forums => Help => Topic started by: zwg on November 24, 2011, 01:08:33 am

Title: code blocks doesnt build
Post 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?
Title: Re: code blocks doesnt build
Post by: Alpha on November 24, 2011, 05:50:58 pm
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?
Title: Re: code blocks doesnt build
Post by: zwg on November 24, 2011, 07:00:50 pm
i go read now but if it helps you i get no error message it is like build button doesnt work
Title: Re: code blocks doesnt build
Post by: Alpha on November 24, 2011, 11:26:57 pm
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?
Title: Re: code blocks doesnt build
Post by: zwg on November 25, 2011, 12:00:53 am
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
Title: Re: code blocks doesnt build
Post by: oBFusCATed on November 25, 2011, 12:33:02 am
zwg: you're joking, right?

Here is what an os is -> http://lmgtfy.com/?q=os
Title: Re: code blocks doesnt build
Post by: zwg on November 26, 2011, 12:41:01 am
well ok i knew what is i just didnt know how is that in english :) well i use windows xp proffecional 2002
Title: Re: code blocks doesnt build
Post by: Alpha on November 26, 2011, 02:38:32 am
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.)
Title: Re: code blocks doesnt build
Post by: zwg on November 28, 2011, 03:00:43 am
well i did install this compiler in my pc and still build doesnt working :S
Title: Re: code blocks doesnt build
Post by: lechkozarski on November 28, 2011, 02:33:16 pm
Welcome .

[Removed non-english content. English only!]
Title: Re: code blocks doesnt build
Post by: zwg on November 29, 2011, 11:07:18 am
maybe any one can send me a setup file wich can build after install?
Title: Re: code blocks doesnt build
Post by: Alpha on November 30, 2011, 12:50:55 am
Have you double-checked the setup of your toolchain (http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler#Compiler-neutral_setup_steps)?