Author Topic: code blocks doesnt build  (Read 7790 times)

Offline zwg

  • Single posting newcomer
  • *
  • Posts: 6
code blocks doesnt build
« 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?

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
Re: code blocks doesnt build
« Reply #1 on: November 24, 2011, 05:50:58 pm »
Have you read - How do I troubleshoot a compiler problem? - (and the rest of the FAQ)?

What compiler are you using?

What error message is Code::Blocks giving you?

Does it work to compile command line?

Offline zwg

  • Single posting newcomer
  • *
  • Posts: 6
Re: code blocks doesnt build
« Reply #2 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

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
Re: code blocks doesnt build
« Reply #3 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?)

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?

Offline zwg

  • Single posting newcomer
  • *
  • Posts: 6
Re: code blocks doesnt build
« Reply #4 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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: code blocks doesnt build
« Reply #5 on: November 25, 2011, 12:33:02 am »
zwg: you're joking, right?

Here is what an os is -> http://lmgtfy.com/?q=os
(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!]

Offline zwg

  • Single posting newcomer
  • *
  • Posts: 6
Re: code blocks doesnt build
« Reply #6 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

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
Re: code blocks doesnt build
« Reply #7 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 a compiler (I would suggest TDM-GCC).

(You could optionally try a nightly build; they have a lot more features, but you will still need to install a compiler.)

Offline zwg

  • Single posting newcomer
  • *
  • Posts: 6
Re: code blocks doesnt build
« Reply #8 on: November 28, 2011, 03:00:43 am »
well i did install this compiler in my pc and still build doesnt working :S

Offline lechkozarski

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: code blocks doesnt build
« Reply #9 on: November 28, 2011, 02:33:16 pm »
Welcome .

[Removed non-english content. English only!]
« Last Edit: November 28, 2011, 08:19:37 pm by MortenMacFly »

Offline zwg

  • Single posting newcomer
  • *
  • Posts: 6
Re: code blocks doesnt build
« Reply #10 on: November 29, 2011, 11:07:18 am »
maybe any one can send me a setup file wich can build after install?

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
Re: code blocks doesnt build
« Reply #11 on: November 30, 2011, 12:50:55 am »
Have you double-checked the setup of your toolchain?