User forums > Using Code::Blocks

Build problem in ubuntu

(1/1)

JWColeman:
Hey everyone I just got code::blocks installed on my lubuntu mini and I tried to run a console application, it asked me to build twice, I said yes twice, (this is after hitting the run button), because i never built the project before.

So I click yes both times, nothing happens.

I try a run without building after this and the console says:
sh: home/jonathan/Programs/test/bin/debug/test: not found

Why isn't my build working?

Jenna:
Do you have at least gcc and g++ installed (gdb is recommended if you ever want or need to debug) ?

JWColeman:
gcc is installed, checking for g++...

Yeah they are both installed, this is what it says though, I'm positive GCC and G++ AND GDB are installed.



--- Code: ---

-------------- Build: Debug in Test ---------------

Compiling: main.cpp
/bin/sh: g++: not found
Process terminated with status 127 (0 minutes, 0 seconds)
0 errors, 0 warnings
 

--- End code ---

JWColeman:
wait maybe not, i'll get back to you, let me try to add these packages i thought were added already :P

JWColeman:
hurr hurr, that fixed it

thanks!

Navigation

[0] Message Index

Go to full version