User forums > Help

Cannot run "Hello World"!

(1/2) > >>

Sugoi48:
I recently installed Code::Blocks and was looking forwards to using it, but when I tried to run my code (whether valid or not) I encountered status 127. I tried this with the first four default compilers, same results. Any ideas? Thank you!

ollydbg:

--- Quote from: Sugoi48 on November 15, 2010, 06:07:39 am ---I recently installed Code::Blocks and was looking forwards to using it, but when I tried to run my code (whether valid or not) I encountered status 127. I tried this with the first four default compilers, same results. Any ideas? Thank you!

--- End quote ---

No information in your post!!!

You said:

--- Quote ---I tried to run my code
--- End quote ---

How did you do this?
What is the exact steps.
Your OS? Version? Compiler?

You should describe all the them, other wise we can't help you.

Jenna:
If you are on linux, this error occurs if you do not have xterm installed.

Sugoi48:
Oops! I'm on Ubuntu 10.04 64 bit, on a MacBook Pro 5,3. I checked, and I have xterm installed.
Console App, C++, GNU GCC Compiler, type any code, Build and run, status 127.

xunxun:
If you don't have "g++", the problem caused:

--- Code: ---Compiling: /home/basta/Programs/HelloCodeBlocks.cpp
/bin/sh: g++: not found
Process terminated with status 127 (0 minutes, 0 seconds)
0 errors, 0 warnings

--- End code ---
Could you show your Build log?

Navigation

[0] Message Index

[#] Next page

Go to full version